7.8

CVE-2024-40902: jfs: xattr: fix buffer overflow for invalid xattr

Modified
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) vulnerability in linux. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 26.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
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 listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.32%

Chance of exploitation in the next 30 days

Percentile

27%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.32% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu129 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 · 132 products

References

36 links
Show all 36 references