What’s Vulnerable › Vulnerabilities
CVE-2023-53163: fs/ntfs3: don't hold ni_lock when calling truncate_setsize()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-15 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: don't hold ni_lock when calling truncate_setsize() syzbot is reporting hung task at do_user_addr_fault() [1], for there is a silent deadlock between PG_locked bit and ni_lock lock. Since filemap_update_page() calls filemap_read_folio() after calling folio_trylock() which will set PG_locked bit, ntfs_truncate() must not call truncate_setsize() which will wait for PG_locked bit to be cleared when holding ni_lock lock.
Affected products
- Linux kernel: from 5.15 before 5.15.87; from 5.16 before 6.0.19; from 6.1 before 6.1.5; 6.2-rc1, 6.2-rc2 — fixed in 5.15.87, 6.0.19, 6.1.5
How to fix
Upgrade to a fixed version: Linux kernel 5.15.87, 6.0.19, 6.1.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0226635c304cfd5c9db9b78c259cb713819b057e
- https://git.kernel.org/stable/c/6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f
- https://git.kernel.org/stable/c/73fee7e1e5ea11b51c51c46e0577a197ca3602cf
- https://git.kernel.org/stable/c/8414983c2e649364d8af29080a0869266b31abb6
Get alerted when CVE-2023-53163 or the next vulnerability affects your stack