{"id":"CVE-2023-53163","aliases":["CVE-2023-53163"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: don't hold ni_lock when calling truncate_setsize()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: don't hold ni_lock when calling truncate_setsize()\n\nsyzbot is reporting hung task at do_user_addr_fault() [1], for there is\na silent deadlock between PG_locked bit and ni_lock lock.\n\nSince filemap_update_page() calls filemap_read_folio() after calling\nfolio_trylock() which will set PG_locked bit, ntfs_truncate() must not\ncall truncate_setsize() which will wait for PG_locked bit to be cleared\nwhen holding ni_lock lock.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: don't hold ni_lock when calling truncate_setsize()\n\nsyzbot is reporting hung task at do_user_addr_fault() [1], for there is\na silent deadlock between PG_locked bit and ni_lock lock.\n\nSince filemap_update_page() calls filemap_read_folio() after calling\nfolio_trylock() which will set PG_locked bit, ntfs_truncate() must not\ncall truncate_setsize() which will wait for PG_locked bit to be cleared\nwhen holding ni_lock lock.","source":"cvelist"}],"published":"2025-09-15T14:03:33.777Z","modified":"2026-06-17T06:44:25.193Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4342306f0f0d5ff4315a204d315c1b51b914fca5","fixed":"8414983c2e649364d8af29080a0869266b31abb6","status":"affected"},{"type":"git","introduced":"4342306f0f0d5ff4315a204d315c1b51b914fca5","fixed":"6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f","status":"affected"},{"type":"git","introduced":"4342306f0f0d5ff4315a204d315c1b51b914fca5","fixed":"73fee7e1e5ea11b51c51c46e0577a197ca3602cf","status":"affected"},{"type":"git","introduced":"4342306f0f0d5ff4315a204d315c1b51b914fca5","fixed":"0226635c304cfd5c9db9b78c259cb713819b057e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.87","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.19","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.5","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15","fixed":"5.15.87"},{"status":"affected","introduced":"5.16","fixed":"6.0.19"},{"status":"affected","introduced":"6.1","fixed":"6.1.5"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8414983c2e649364d8af29080a0869266b31abb6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73fee7e1e5ea11b51c51c46e0577a197ca3602cf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0226635c304cfd5c9db9b78c259cb713819b057e","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53163","url":"https://www.cve.org/CVERecord?id=CVE-2023-53163","licence":"CVE Terms of Use","modified":"2026-05-11T19:39:29.524Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53163","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53163","licence":"Public domain","modified":"2026-06-17T06:44:25.193Z"}],"updatedAt":"2026-11-25T22:58:34.754Z","epss":{"score":0.00165,"percentile":0.06045,"date":"2026-12-01T12:00:22.000Z"}}