jfs: nlink overflow in jfs_rename
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2108829a59f081e822fdab8c2cd7131deb8aa8a1, Kernel 5d77c36cd4b698649f5c30c5f6c084f4f61d1880, Kernel 9218dc26fd922b09858ecd3666ed57dfd8098da8 and 5 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2108829a59f081e822fdab8c2cd7131deb8aa8a1, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5d77c36cd4b698649f5c30c5f6c084f4f61d1880, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9218dc26fd922b09858ecd3666ed57dfd8098da8, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <93c325746ae59709b4f9bad4e3e4761c8d566c70, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a3d66089e50a6e0142f8884471f74292102ea9aa, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b4330a0d0947fbdc9d445cbbeabd8cc910a8c9ca, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f70fcbc2ac7c24f087a2c895c5753aa730b1e479, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <fe136426e30ca6debcf916fd6a141555ed9fde74 | 2108829a59f081e822fdab8c2cd7131deb8aa8a1, 5d77c36cd4b698649f5c30c5f6c084f4f61d1880, 9218dc26fd922b09858ecd3666ed57dfd8098da8, 93c325746ae59709b4f9bad4e3e4761c8d566c70, a3d66089e50a6e0142f8884471f74292102ea9aa, b4330a0d0947fbdc9d445cbbeabd8cc910a8c9ca, f70fcbc2ac7c24f087a2c895c5753aa730b1e479, fe136426e30ca6debcf916fd6a141555ed9fde74 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket