VULNERABILITY INTELLIGENCE
CVE-2024-40902
CVSS score7.8 HIGH
EPSS probability0.32%
CISA KEVNot currently listed
Published2024-07-12
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
- CWE-121: Stack-based Buffer Overflow
Primary references
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Patch
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Patch
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Patch
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Patch
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Patch
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Patch
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Patch
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Patch
- af854a3a-2127-422b-91ae-364da2661108 — Patch
- af854a3a-2127-422b-91ae-364da2661108 — Patch
- af854a3a-2127-422b-91ae-364da2661108 — Patch
- af854a3a-2127-422b-91ae-364da2661108 — Patch