CVE-2024-26773: ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found()
In the Linux kernel, the following vulnerability has been resolved:
ext4: avoid allocating blocks from corrupted group in ext4mbtrybestfound()
Determine if the group block bitmap is corrupted before using acbex in ext4mbtrybestfound() to avoid allocating blocks from a group with a corrupted block bitmap in the following concurrency and making the situation worse.
ext4mbregularallocator ext4lockgroup(sb, group) ext4mbgoodgroup // check if the group bbitmap is corrupted ext4mbcomplexscangroup // Scan group gets acbex but doesn't use it ext4unlockgroup(sb, group) ext4markgroupbitmapcorrupted(group) // The block bitmap was corrupted during // the group unlock gap. ext4mbtrybestfound ext4lockgroup(ac->acsb, group) ext4mbusebestfound mbmarkused // Allocating blocks in block bitmap corrupted group
Other sources
In the Linux kernel, the following vulnerability has been resolved:
ext4: avoid allocating blocks from corrupted group in ext4mbtrybestfound()
The Linux kernel CVE team has assigned CVE-2024-26773 to this issue.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024040308-CVE-2024-26773-a314@gregkh/T
— Red Hat
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-26773?
CVE-2024-26773 has been classified as having a moderate severity level.
How do I fix CVE-2024-26773?
To fix CVE-2024-26773, you should update the kernel to the latest patched version as specified by your distribution.
Which Linux kernel versions are affected by CVE-2024-26773?
CVE-2024-26773 affects multiple Linux kernel versions prior to 4.19.308, 5.4.270, 5.10.211, 5.15.150, 6.1.80, and newer versions specified by vendors.
Is there a known exploit for CVE-2024-26773?
As of now, there are no publicly available exploits specifically targeting CVE-2024-26773.
What systems are vulnerable to CVE-2024-26773?
Systems running versions of the Linux kernel prior to the remediation updates are vulnerable to CVE-2024-26773.