CVE-2025-71309·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: fix deadlock in ni_read_folio_cmpr Syzbot reported a task hung in ni_readpage_cmpr (now ni_read_folio_cmpr). This is caused by a lock inversion deadlock involving the inode mutex (ni_lock) and page locks. Scenario: 1. Task A enters ntfs_read_folio() for page X. It acquires ni_lock. 2. Task A calls ni_read_folio_cmpr(), which attempts to lock all pages in the compressed frame (including page Y). 3. Concurrently, Task B (e.g., via readahead) has locked page Y and calls ntfs_read_folio(). 4. Task B waits for ni_lock (held by A). 5. Task A waits for page Y lock (held by B). -> DEADLOCK. The fix is to restructure locking: do not take ni_lock in ntfs_read_folio(). Instead, acquire ni_lock inside ni_read_folio_cmpr() ONLY AFTER all required page locks for the frame have been successfully acquired. This restores the correct lock ordering (Page Lock -> ni_lock) consistent with VFS. [almaz.alexandrovich@paragon-software.com: ni_readpage_cmpr was renamed to ni_read_folio_cmpr]
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.19.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.11% — higher than 1% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 6.19.4
Fixed in: 6.19.4
How to fix this CVE
Update your Linux kernel to version 6.19.4 or later to resolve a critical deadlock condition in the NTFS3 compressed file reading function. This patch corrects the lock ordering between inode mutexes and page locks to prevent system hangs during concurrent file access. Apply the kernel update and reboot your system to complete the remediation.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version with: uname -r
- Verify if NTFS3 is compiled into your kernel or loaded as a module: grep -i ntfs /boot/config-$(uname -r) or lsmod | grep ntfs3
- Search system logs for task hung or blocked process indicators related to NTFS operations: grep -i 'task hung\|INFO: task.*blocked' /var/log/kern.log or journalctl -k | grep -i 'hung\|blocked'
- After patching, confirm the new kernel version is running: uname -r (should show 6.19.4 or later)
FAQ
What is CVE-2025-71309?
This vulnerability is a deadlock condition in the Linux kernel's NTFS3 filesystem driver that occurs when the compressed file reading function (ni_read_folio_cmpr) improperly manages lock ordering between inode mutexes and page locks, causing tasks to hang indefinitely during concurrent file access.
Is CVE-2025-71309 being actively exploited?
No, this vulnerability is not listed in the CISA KEV catalog and there are no known public exploits available. However, it can cause denial of service through system hangs on affected systems.
What versions of Kernel are affected by CVE-2025-71309?
Linux kernel versions 6.19 through 6.19.3 are vulnerable. The vulnerability has been patched in kernel 6.19.4 and later.
How do I check if my server is vulnerable to CVE-2025-71309?
Run 'uname -r' to check your kernel version. If it returns 6.19.0 through 6.19.3 and NTFS3 is enabled (check with 'grep NTFS3 /boot/config-$(uname -r)'), your system is vulnerable.
Does Defensia detect CVE-2025-71309?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2025-71309 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-71309. Free for 1 server.
Get started free