CVE-2023-53163

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

MEDIUM
5.5
CVSS Score
Published: September 15, 2025 at 02:03 PM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 5.15.875.15 ≤ v < 6.0.195.15 ≤ v < 6.1.55.15 ≤ v < 6.25.16 ≤ v < 6.0.196.1 ≤ v < 6.1.54342306f0f0d5ff4315a204d315c1b51b914fca55.156.2 rc16.2 rc2
Vendor states this is fixed in 0226635c304cfd5c9db9b78c259cb713819b057e (fixed)
Vendor states this is fixed in 6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f (fixed)
Vendor states this is fixed in 73fee7e1e5ea11b51c51c46e0577a197ca3602cf (fixed)
Vendor states this is fixed in 8414983c2e649364d8af29080a0869266b31abb6 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.87 (unaffected)
Vendor states this is fixed in 6.0.19 (unaffected)
Vendor states this is fixed in 6.1.5 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0226635c304cfd5c9db9b78c259cb713819b057e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/73fee7e1e5ea11b51c51c46e0577a197ca3602cf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8414983c2e649364d8af29080a0869266b31abb6

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card