CVE-2025-71292
jfs: nlink overflow in jfs_rename
Check your servers for CVE-2025-71292
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-71292 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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 (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.32%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 27.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 2108829a59f081e822fdab8c2cd7131deb8aa8a1 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b4330a0d0947fbdc9d445cbbeabd8cc910a8c9ca affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a3d66089e50a6e0142f8884471f74292102ea9aa affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before f70fcbc2ac7c24f087a2c895c5753aa730b1e479 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 5d77c36cd4b698649f5c30c5f6c084f4f61d1880 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before fe136426e30ca6debcf916fd6a141555ed9fde74 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 93c325746ae59709b4f9bad4e3e4761c8d566c70 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 9218dc26fd922b09858ecd3666ed57dfd8098da8
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 5.10.252 up to and including 5.10.* unaffected from 5.15.202 up to and including 5.15.* unaffected from 6.1.165 up to and including 6.1.* unaffected from 6.6.128 up to and including 6.6.* unaffected from 6.12.75 up to and including 6.12.* unaffected from 6.18.16 up to and including 6.18.* unaffected from 6.19.6 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-71292 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-71292
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-71292
trivy image --scanners vuln IMAGE | grep CVE-2025-71292
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/2108829a59f081e822fdab8c2cd7131deb8aa8a1 git.kernel.org
- https://git.kernel.org/stable/c/b4330a0d0947fbdc9d445cbbeabd8cc910a8c9ca git.kernel.org
- https://git.kernel.org/stable/c/a3d66089e50a6e0142f8884471f74292102ea9aa git.kernel.org
- https://git.kernel.org/stable/c/f70fcbc2ac7c24f087a2c895c5753aa730b1e479 git.kernel.org
- https://git.kernel.org/stable/c/5d77c36cd4b698649f5c30c5f6c084f4f61d1880 git.kernel.org
- https://git.kernel.org/stable/c/fe136426e30ca6debcf916fd6a141555ed9fde74 git.kernel.org
- https://git.kernel.org/stable/c/93c325746ae59709b4f9bad4e3e4761c8d566c70 git.kernel.org
- https://git.kernel.org/stable/c/9218dc26fd922b09858ecd3666ed57dfd8098da8 git.kernel.org
Source: the record CVE-2025-71292 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse