VDB

CVE-2024-40902

CVE-2024-40902 PUBLISHED CVSS 7.8 HIGH

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

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 4.19.317
linuxlinux_kernel2.6.12, 2.6.12, 2.6.12
linuxlinux_kernel1da177e4c3f4, 1da177e4c3f4, 1da177e4c3f4
LinuxLinux6.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›