CVE-2025-71292

jfs: nlink overflow in jfs_rename

State
Published
Severity
7.5 High
Published
May 6, 2026
Updated
Aug 5, 2026
Reserved
May 6, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2108829a59f081e822fdab8c2cd7131deb8aa8a1Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b4330a0d0947fbdc9d445cbbeabd8cc910a8c9caAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a3d66089e50a6e0142f8884471f74292102ea9aaAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f70fcbc2ac7c24f087a2c895c5753aa730b1e479Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5d77c36cd4b698649f5c30c5f6c084f4f61d1880Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before fe136426e30ca6debcf916fd6a141555ed9fde74Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 93c325746ae59709b4f9bad4e3e4761c8d566c70Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9218dc26fd922b09858ecd3666ed57dfd8098da8Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.10.252 through 5.10.*Not affected
  • 5.15.202 through 5.15.*Not affected
  • 6.1.165 through 6.1.*Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.16 through 6.18.*Not affected
  • 6.19.6 through 6.19.*Not affected
  • 7.0 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.