Vulnerability in Linux

CVE-2025-71292

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.003, 25.5th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 6.1.165, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 7.0
  • Linux Kernel — versions 2.6.12

References