Skip to main content
Network Thinking Solutions Logo

CVE-2024-40972

Linux kernel: ext4: do not create EA inode under buffer lock

All CVEs
CVE-2024-40972Published 7/12/2024

Linux kernel: ext4: do not create EA inode under buffer lock

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: ext4: do not create EA inode under buffer lock ext4_xattr_set_entry() creates new EA inodes while holding buffer lock on the external xattr block. This is problematic as it nests all the allocation locking (which acquires locks on other buffers) under the buffer lock. This can even deadlock when the filesystem is corrupted and e.g. quota file is setup to contain xattr block as data block. Move the allocation of EA inode out of ext4_xattr_set_entry() into the callers.

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
< 6.1.107

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.47

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.9.7

Verify advisory

Source
Linux
Linux
≥ e50e5129f384ae282adebfb561189cdb19b81cee, < 0752e7fb549d90c33b4d4186f11cfd25a556d1dd

Verify advisory

Source
Linux
Linux
≥ e50e5129f384ae282adebfb561189cdb19b81cee, < 737fb7853acd5bc8984f6f42e4bfba3334be8ae1

Verify advisory

Source
Linux
Linux
≥ e50e5129f384ae282adebfb561189cdb19b81cee, < 111103907234bffd0a34fba070ad9367de058752

Verify advisory

Source
Linux
Linux
≥ e50e5129f384ae282adebfb561189cdb19b81cee, < 0a46ef234756dca04623b7591e8ebb3440622f0b

Verify advisory

Source
Linux
Linux
4.13

Verify advisory

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: 5.5. 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.