BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-40902 in Linux Kernel and 1 more product

High 7.8 Industrial / OT

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.

Affects 2 products from 2 vendors. Description from NVD and MITRE.

CVSS 3.17.8
EPSS0.3%
EPSS percentile27th
FixSee advisory

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Linux Linux Kernel 6.10 < 4.19.317 ≥ 4.20, < 5.4.279 ≥ 5.5, < 5.10.221 ≥ 5.11, < 5.15.162 ≥ 5.16, < 6.1.95
+2 more≥ 6.2, < 6.6.35 ≥ 6.7, < 6.9.6
Linux Linux 2.6.12
Siemens — —

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2024-40902
BreachSpider IDBS-2024-GLOBAL-202128-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2024-07-12
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement strict input validation for xattr sizes and monitor kernel logs for any unusual activity related to xattr handling.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.