7.8

CVE-2024-40902: linux Classic Buffer Overflow

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2024-40902DEBIAN-CVE-2024-40902
Published 12-07-2024Last modified 05-08-2026

Vulnerability summary

CVE-2024-40902 is a high (CVSS 7.8) Classic Buffer Overflow vulnerability in linux. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 23.5% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.32%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 36 · Related 33

Timeline

  1. 12-07-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.32%

Chance of exploitation in the next 30 days

Percentile

24%

Versus all other CVEs

30-day change

0.00 pp

From 0.32% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.32%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu128 products
  • linuxAll versions (No fix recorded) | < 4.4.0-259.293 | < 4.15.0-229.241 | < 5.4.0-195.215 | < 5.15.0-121.131 | < 6.8.0-44.44
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.4.0-1136.142 | < 4.4.0-1174.189 | < 4.15.0-1173.186 | < 5.4.0-1132.142 | < 5.15.0-1069.75 | < 6.8.0-1015.16
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f0dedb5c511ed82cbaff4997a8decf2351ba549f | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1e84c9b1838152a87cf453270a5fa75c5037e83a | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fc745f6e83cb650f9a5f2c864158e3a5ea76dad0 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 480e5bc21f2c42d90c2c16045d64d824dcdd5ec7 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 33aecc5799c93d3ee02f853cb94e201f9731f123 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4598233d9748fe4db4e13b9f473588aa25e87d69 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b537cb2f4c4a1357479716a9c339c0bda03d873f | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7c55b78818cfb732680c4a72ab270cc2d2ee3d0f | 2.6.12
  • linux_kernel< 4.19.317 | ≥ 4.20, < 5.4.279 | ≥ 5.5, < 5.10.221 | ≥ 5.11, < 5.15.162 | ≥ 5.16, < 6.1.95 | ≥ 6.2, < 6.6.35 | ≥ 6.7, < 6.9.6 | 6.10:rc1 | 6.10:rc2 | 6.10:rc3
Debian1 product
  • linux< 6.1.99-1 | < 6.9.7-1

3 vendors · 131 products

References

36 links
Show all 36 references