CVE-2024-40902

jfs: xattr: fix buffer overflow for invalid xattr

High · published July 12, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
23.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00320 · 23.7th percentile
Published
2024-07-12T12:20Z
EPSS history
Timeline
  • 12 JUL 12:20Z
    jfs: xattr: fix buffer overflow for invalid xattr
    cvelistv5