# CVE-2023-53163: fs/ntfs3: don't hold ni_lock when calling truncate_setsize()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-15T14:03:33.777Z
- Modified: 2026-06-17T06:44:25.193Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before 8414983c2e649364d8af29080a0869266b31abb6; from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before 6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f; from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before 73fee7e1e5ea11b51c51c46e0577a197ca3602cf; from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before 0226635c304cfd5c9db9b78c259cb713819b057e; 5.15 (not affected: before 5.15; from 5.15.87 up to 5.15.*; from 6.0.19 up to 6.0.*; from 6.1.5 up to 6.1.*; from 6.2 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/8414983c2e649364d8af29080a0869266b31abb6> (patch)
- <https://git.kernel.org/stable/c/6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f> (patch)
- <https://git.kernel.org/stable/c/73fee7e1e5ea11b51c51c46e0577a197ca3602cf> (patch)
- <https://git.kernel.org/stable/c/0226635c304cfd5c9db9b78c259cb713819b057e> (patch)

## Sources

- CVE List: [CVE-2023-53163](https://www.cve.org/CVERecord?id=CVE-2023-53163), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53163](https://nvd.nist.gov/vuln/detail/CVE-2023-53163), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53163 · Whole record: https://cve.day/CVE-2023-53163.json · Rebuilt by cve.day 2026-11-25T22:58:34.754Z
