CVE-2024-40972
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2024
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
ext4: do not create EA inode under buffer lock
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| e50e5129f384ae282adebfb561189cdb19b81cee | affected | git | 0752e7fb549d90c33b4d4186f11cfd25a556d1dd | Unavailable | None listed |
| e50e5129f384ae282adebfb561189cdb19b81cee | affected | git | 737fb7853acd5bc8984f6f42e4bfba3334be8ae1 | Unavailable | None listed |
| e50e5129f384ae282adebfb561189cdb19b81cee | affected | git | 111103907234bffd0a34fba070ad9367de058752 | Unavailable | None listed |
| e50e5129f384ae282adebfb561189cdb19b81cee | affected | git | 0a46ef234756dca04623b7591e8ebb3440622f0b | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 4.13 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 4.13 | Unavailable | None listed |
| 6.1.107 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.47 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.9.7 | unaffected | semver | Unavailable | 6.9.* | None listed |
| 6.10 | unaffected | original_commit_for_fix | Unavailable | * | None listed |