Vulnerabilities · 2024 · Linux
CVE-2024-40902
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/1e84c9b1838152a87cf453270a5fa75c5037e83a · Patch
- git.kernel.org/stable/c/33aecc5799c93d3ee02f853cb94e201f9731f123 · Patch
- git.kernel.org/stable/c/4598233d9748fe4db4e13b9f473588aa25e87d69 · Patch
- git.kernel.org/stable/c/480e5bc21f2c42d90c2c16045d64d824dcdd5ec7 · Patch
- git.kernel.org/stable/c/7c55b78818cfb732680c4a72ab270cc2d2ee3d0f · Patch
- git.kernel.org/stable/c/b537cb2f4c4a1357479716a9c339c0bda03d873f · Patch
- git.kernel.org/stable/c/f0dedb5c511ed82cbaff4997a8decf2351ba549f · Patch
- git.kernel.org/stable/c/fc745f6e83cb650f9a5f2c864158e3a5ea76dad0 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-40902
- cve.org/CVERecord?id=CVE-2024-40902
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.