{"id":"CVE-2023-53163","summary":"fs/ntfs3: don't hold ni_lock when calling truncate_setsize()","details":"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.","modified":"2026-08-12T03:51:45.862987063Z","published":"2025-09-15T14:03:33.777Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53163.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0226635c304cfd5c9db9b78c259cb713819b057e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/73fee7e1e5ea11b51c51c46e0577a197ca3602cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8414983c2e649364d8af29080a0869266b31abb6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53163.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53163"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4342306f0f0d5ff4315a204d315c1b51b914fca5"},{"fixed":"8414983c2e649364d8af29080a0869266b31abb6"},{"fixed":"6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f"},{"fixed":"73fee7e1e5ea11b51c51c46e0577a197ca3602cf"},{"fixed":"0226635c304cfd5c9db9b78c259cb713819b057e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53163.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.87"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53163.json"}}],"schema_version":"1.9.0"}