Skip to main content
Network Thinking Solutions Logo

CVE-2024-40902

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.

All CVEs
CVE-2024-40902Published 7/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.

Vendor advisory
CVSS7.8High

Overview

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.

Published
7/12/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 4.19.317

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.279

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.221

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.162

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.95

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.35

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.9.6

Verify advisory

Source
linux kernel
linux
6.10

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f0dedb5c511ed82cbaff4997a8decf2351ba549f

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1e84c9b1838152a87cf453270a5fa75c5037e83a

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fc745f6e83cb650f9a5f2c864158e3a5ea76dad0

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 480e5bc21f2c42d90c2c16045d64d824dcdd5ec7

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 33aecc5799c93d3ee02f853cb94e201f9731f123

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4598233d9748fe4db4e13b9f473588aa25e87d69

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b537cb2f4c4a1357479716a9c339c0bda03d873f

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7c55b78818cfb732680c4a72ab270cc2d2ee3d0f

Verify advisory

Source
Linux
Linux
2.6.12

Verify advisory

Source
linux_kernel
linux
≥ 1da177e4c3f4, < f0dedb5c511e

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
linux_kernel
linux
≥ 1da177e4c3f4, < 1e84c9b18381

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
linux_kernel
linux
≥ 1da177e4c3f4, < fc745f6e83cb

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
linux_kernel
linux
≥ 1da177e4c3f4, < 480e5bc21f2c

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
linux_kernel
linux
≥ 1da177e4c3f4, < 33aecc5799c9

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
linux_kernel
linux
≥ 1da177e4c3f4, < 4598233d9748

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
linux_kernel
linux
≥ 1da177e4c3f4, < b537cb2f4c4a

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
linux_kernel
linux
≥ 1da177e4c3f4, < 7c55b78818cf

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.