CVE-2024-40902
jfs: xattr: fix buffer overflow for invalid xattr
Reported by linux · Published July 12, 2024
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 |
| Linux | Linux | 2.6.12, 0, 4.19.317 |
| linux | linux_kernel | 2.6.12, 2.6.12, 2.6.12 |
| linux | linux_kernel | 1da177e4c3f4, 1da177e4c3f4, 1da177e4c3f4 |
| Linux | Linux | 6.10, 5.15.162, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 |
Timeline
- Jul 12, 2024 CVE Published
- Jul 13, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (12 in total, the first dated here)
- Jan 6, 2025 CVE Updated
- Jan 7, 2026 Security Advisory (278 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (181 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-40902
vulnetix vdb fixes CVE-2024-40902
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-40902/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart