CVE-2024-26773 In the Linux kernel, the following vulnerability has been resolved: ext4: avoid allocating blocks from corrupted group…
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found() Determine if the group block bitmap is corrupted before using ac_b_ex in ext4_mb_try_best_found() to avoid allocating blocks from a group with a corrupted block bitmap in the following concurrency and making the situation worse. ext4_mb_regular_allocator ext4_lock_group(sb, group) ext4_mb_good_group // check if the group bbitmap is corrupted ext4_mb_complex_scan_group // Scan group gets ac_b_ex but doesn't use it ext4_unlock_group(sb, group) ext4_mark_group_bitmap_corrupted(group) // The block bitmap was corrupted during // the group unlock gap. ext4_mb_try_best_found ext4_lock_group(ac->ac_sb, group) ext4_mb_use_best_found mb_mark_used // Allocating blocks in block bitmap corrupted group
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 6.8 | earliest → < 6.8 | 6.8 |
| Linux 6.7 | earliest → < 6.7.7 | 6.7.7 |
| Linux 6.6 | earliest → < 6.6.19 | 6.6.19 |
| Linux 6.1 | earliest → < 6.1.80 | 6.1.80 |
| Linux 5.15 | earliest → < 5.15.150 | 5.15.150 |
| Linux 5.10 | earliest → < 5.10.211 | 5.10.211 |
| Linux 5.4 | earliest → < 5.4.270 | 5.4.270 |
| Linux 4.19 | earliest → < 4.19.308 | 4.19.308 |
| Linux | 3.12 | No fix stated |
Show the 6 other branches Hide the 6 other branches
| Product | Affected versions | Fixed in |
|---|---|---|
| RUGGEDCOM RST2428P | Versions not published | |
| SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | Versions not published | |
| SCALANCE XCM-/XRM-/XCH-/XRH-300 family | Versions not published | |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 | 3.1.0 → < 3.1.5 | 3.1.5 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 | 3.1.0 → < 3.1.5 | 3.1.5 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 | 3.1.0 → < 3.1.5 | 3.1.5 |
References
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
Timeline
- Published
- Last modified