CVE-2024-40902
Published: Jul 12, 2024
Modified: May 11, 2026
Description
In the Linux kernel, the following vulnerability has been resolved: jfs: xattr: fix buffer overflow for invalid xattr When an xattr size is not what is expected, it is printed out to the kernel log in hex format as a form of debugging. But when that xattr size is bigger than the expected size, printing it out can cause an access off the end of the buffer. Fix this all up by properly restricting the size of the debug hex dump in the kernel log.
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - < f0dedb5c511ed82cbaff4997a8decf2351ba549faffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - < 1e84c9b1838152a87cf453270a5fa75c5037e83aaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - < fc745f6e83cb650f9a5f2c864158e3a5ea76dad0affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - < 480e5bc21f2c42d90c2c16045d64d824dcdd5ec7affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - < 33aecc5799c93d3ee02f853cb94e201f9731f123+3 more versions |
Linux | Linux | affected 2.6.12unaffected 0 - < 2.6.12unaffected 4.19.317 - <= 4.19.*unaffected 5.4.279 - <= 5.4.*unaffected 5.10.221 - <= 5.10.*+5 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now