CVE-2024-40972ext4: do not create EA inode under buffer lock
- 5.5MediumCVSS base score
- 0.22%Exploitation in 30 daysEPSS · top 87% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By Linux
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.22% · top 87% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected e50e5129f384ae282adebfb561189cdb19b81cee – < 0752e7fb549d90c33b4d4186f11cfd25a556d1dd
- affected e50e5129f384ae282adebfb561189cdb19b81cee – < 737fb7853acd5bc8984f6f42e4bfba3334be8ae1
- affected e50e5129f384ae282adebfb561189cdb19b81cee – < 111103907234bffd0a34fba070ad9367de058752
- affected e50e5129f384ae282adebfb561189cdb19b81cee – < 0a46ef234756dca04623b7591e8ebb3440622f0b
- affected 4.13
- unaffected < 4.13
- unaffected 6.1.107 – ≤ 6.1.*
- unaffected 6.6.47 – ≤ 6.6.*
- unaffected 6.9.7 – ≤ 6.9.*
- unaffected 6.10 – ≤ *
References
References5
- https://git.kernel.org/stable/c/0752e7fb549d90c33b4d4186f11cfd25a556d1dd (opens in a new tab)
- https://git.kernel.org/stable/c/737fb7853acd5bc8984f6f42e4bfba3334be8ae1 (opens in a new tab)
- https://git.kernel.org/stable/c/111103907234bffd0a34fba070ad9367de058752 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/0a46ef234756dca04623b7591e8ebb3440622f0b (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-38769 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-40972)Record last updated .