CVE-2025-71292·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: jfs: nlink overflow in jfs_rename If nlink is maximal for a directory (-1) and inside that directory you perform a rename for some child directory (not moving from the parent), then the nlink of the first directory is first incremented and later decremented. Normally this is fine, but when nlink = -1 this causes a wrap around to 0, and then drop_nlink issues a warning. After applying the patch syzbot no longer issues any warnings. I also ran some basic fs tests to look for any regressions.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.19.6
- 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.32% — higher than 24% 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.
Read the two together. CVE-2025-71292 scores 7.5 on CVSS, so a successful attack would be serious — but at 0.32%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 6.19.6
Fixed in: 6.19.6
How to fix this CVE
Update your Linux kernel to version 6.19.6 or later to patch a directory link count overflow vulnerability in the JFS filesystem. This issue occurs during rename operations on directories with maximal link counts, causing kernel warnings and potential filesystem inconsistency. Apply the kernel security update through your distribution's package manager and reboot to activate the patched kernel.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version and confirm if it falls in the vulnerable range (6.19.x prior to 6.19.6)
- Check if JFS filesystem is in use with 'grep -i jfs /proc/filesystems' and 'mount | grep jfs'
- Search kernel logs for JFS-related warnings with 'journalctl -u kernel | grep -i jfs' or 'dmesg | grep -i jfs' focusing on nlink warnings
- Verify the fix by rebooting into the patched kernel and confirming 'uname -r' shows version 6.19.6 or later
FAQ
What is CVE-2025-71292?
This vulnerability affects the JFS filesystem implementation in the Linux kernel, causing a directory link count integer wrap-around when rename operations occur on directories that have reached maximum link count. This leads to kernel warnings and potential filesystem integrity issues.
Is CVE-2025-71292 being actively exploited?
No, this CVE is not currently listed on the CISA Known Exploited Vulnerabilities catalog, and no public exploits are available. However, it should still be patched as part of routine kernel maintenance.
What versions of Kernel are affected by CVE-2025-71292?
Linux kernel versions 6.19 through 6.19.5 are affected. The fix is available in kernel version 6.19.6 and later.
How do I check if my server is vulnerable to CVE-2025-71292?
Run 'uname -r' to get your kernel version. If it shows 6.19.0 through 6.19.5 and your system uses JFS (verify with 'grep jfs /proc/filesystems'), your system is vulnerable and requires a kernel update.
Does Defensia detect CVE-2025-71292?
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-71292 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2108829a59f081e822fdab8c2cd7131deb8aa8a1
- https://git.kernel.org/stable/c/5d77c36cd4b698649f5c30c5f6c084f4f61d1880
- https://git.kernel.org/stable/c/9218dc26fd922b09858ecd3666ed57dfd8098da8
- https://git.kernel.org/stable/c/93c325746ae59709b4f9bad4e3e4761c8d566c70
- https://git.kernel.org/stable/c/a3d66089e50a6e0142f8884471f74292102ea9aa
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-71292. Free for 1 server.
Get started free