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.
Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2025-71292",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"dateUpdated": "2026-05-11T21:57:22.774Z",
"dateReserved": "2026-05-06T11:31:45.509Z",
"datePublished": "2026-05-06T11:32:23.897Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-05-11T21:57:22.774Z"
},
"title": "jfs: nlink overflow in jfs_rename",
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\njfs: nlink overflow in jfs_rename\n\nIf nlink is maximal for a directory (-1) and inside that directory you\nperform a rename for some child directory (not moving from the parent),\nthen the nlink of the first directory is first incremented and later\ndecremented. Normally this is fine, but when nlink = -1 this causes a\nwrap around to 0, and then drop_nlink issues a warning.\n\nAfter applying the patch syzbot no longer issues any warnings. I also\nran some basic fs tests to look for any regressions."
}
],
"affected": [
{
"vendor": "Linux",
"product": "Linux",
"programFiles": [
"fs/jfs/namei.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"defaultStatus": "unaffected",
"versions": [
{
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"status": "affected",
"versionType": "git",
"lessThan": "2108829a59f081e822fdab8c2cd7131deb8aa8a1"
},
{
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"status": "affected",
"versionType": "git",
"lessThan": "b4330a0d0947fbdc9d445cbbeabd8cc910a8c9ca"
},
{
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"status": "affected",
"versionType": "git",
"lessThan": "a3d66089e50a6e0142f8884471f74292102ea9aa"
},
{
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"status": "affected",
"versionType": "git",
"lessThan": "f70fcbc2ac7c24f087a2c895c5753aa730b1e479"
},
{
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"status": "affected",
"versionType": "git",
"lessThan": "5d77c36cd4b698649f5c30c5f6c084f4f61d1880"
},
{
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"status": "affected",
"versionType": "git",
"lessThan": "fe136426e30ca6debcf916fd6a141555ed9fde74"
},
{
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"status": "affected",
"versionType": "git",
"lessThan": "93c325746ae59709b4f9bad4e3e4761c8d566c70"
},
{
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"status": "affected",
"versionType": "git",
"lessThan": "9218dc26fd922b09858ecd3666ed57dfd8098da8"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"programFiles": [
"fs/jfs/namei.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"defaultStatus": "affected",
"versions": [
{
"version": "2.6.12",
"status": "affected"
},
{
"version": "0",
"status": "unaffected",
"versionType": "semver",
"lessThan": "2.6.12"
},
{
"version": "5.10.252",
"status": "unaffected",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"version": "5.15.202",
"status": "unaffected",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"version": "6.1.165",
"status": "unaffected",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"version": "6.6.128",
"status": "unaffected",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"version": "6.12.75",
"status": "unaffected",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"version": "6.18.16",
"status": "unaffected",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"version": "6.19.6",
"status": "unaffected",
"versionType": "semver",
"lessThanOrEqual": "6.19.*"
},
{
"version": "7.0",
"status": "unaffected",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/2108829a59f081e822fdab8c2cd7131deb8aa8a1"
},
{
"url": "https://git.kernel.org/stable/c/b4330a0d0947fbdc9d445cbbeabd8cc910a8c9ca"
},
{
"url": "https://git.kernel.org/stable/c/a3d66089e50a6e0142f8884471f74292102ea9aa"
},
{
"url": "https://git.kernel.org/stable/c/f70fcbc2ac7c24f087a2c895c5753aa730b1e479"
},
{
"url": "https://git.kernel.org/stable/c/5d77c36cd4b698649f5c30c5f6c084f4f61d1880"
},
{
"url": "https://git.kernel.org/stable/c/fe136426e30ca6debcf916fd6a141555ed9fde74"
},
{
"url": "https://git.kernel.org/stable/c/93c325746ae59709b4f9bad4e3e4761c8d566c70"
},
{
"url": "https://git.kernel.org/stable/c/9218dc26fd922b09858ecd3666ed57dfd8098da8"
}
]
}
}
}