CVE-2023-53163

fs/ntfs3: don't hold ni_lock when calling truncate_setsize()

State
Published
Severity
Not scored
Published
Sep 15, 2025
Updated
May 11, 2026
Reserved
Sep 15, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to before 8414983c2e649364d8af29080a0869266b31abb6Affected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to before 6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22fAffected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to before 73fee7e1e5ea11b51c51c46e0577a197ca3602cfAffected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to before 0226635c304cfd5c9db9b78c259cb713819b057eAffected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.87 through 5.15.*Not affected
  • 6.0.19 through 6.0.*Not affected
  • 6.1.5 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.