7.8high
ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.31% (higher than 26% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 163a203ddb36c36d4a1c942aececda0cc8d06aa7 before 21f8cfe79f776287459343e9cfa6055af61328ea, from 163a203ddb36c36d4a1c942aececda0cc8d06aa7 before 260fc96283c0f594de18a1b045faf6d8fb42874d, from 163a203ddb36c36d4a1c942aececda0cc8d06aa7 before 927794a02169778c9c2e7b25c768ab3ea8c1dc03, from 163a203ddb36c36d4a1c942aececda0cc8d06aa7 before 4c21fa60a6f4606f6214a38f50612b17b2f738f5, from 163a203ddb36c36d4a1c942aececda0cc8d06aa7 before f97e75fa4e12b0aa0224e83fcbda8853ac2adf36, from 163a203ddb36c36d4a1c942aececda0cc8d06aa7 before 0184747b552d6b5a14db3b7fcc3b792ce64dedd1, from 163a203ddb36c36d4a1c942aececda0cc8d06aa7 before a2576ae9a35c078e488f2c573e9e6821d651fbbe, from 163a203ddb36c36d4a1c942aececda0cc8d06aa7 before 4530b3660d396a646aad91a787b6ab37cf604b53 and 1 more Not affected: before 3.12, from 4.19.308 up to 4.19.*, from 5.4.270 up to 5.4.*, from 5.10.211 up to 5.10.*, from 5.15.150 up to 5.15.*, from 6.1.80 up to 6.1.* | CVE List |
| linux linux_kernel | before 4.19.308, from 4.20 before 5.4.270, from 5.5 before 5.10.211, from 5.11 before 5.15.150, from 5.16 before 6.1.80, from 6.2 before 6.6.19, from 6.7 before 6.7.7, 6.8 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: ext4: evite asignar bloques de un grupo dañado en ext4_mb_try_best_found() Determine si el mapa de bits del bloque del grupo está dañado antes de usar ac_b_ex en ext4_mb_try_best_found() para evitar asignar bloques de un grupo con un bloque dañado mapa de bits en la siguiente concurrencia y empeorando la situación. ext4_mb_regular_allocator ext4_lock_group(sb, group) ext4_mb_good_group // verifica si el bbitmap del grupo está dañado ext4_mb_complex_scan_group // El grupo de escaneo obtiene ac_b_ex pero no lo usa ext4_unlock_group(sb, group) ext4_mark_group_bitmap_corrupted(group) // El mapa de bits del bloque se corrompió durante // el grupo desbloquea la brecha. ext4_mb_try_best_found ext4_lock_group(ac->ac_sb, group) ext4_mb_use_best_found mb_mark_used // Asignación de bloques en un grupo dañado de mapa de bits de bloques
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-26773 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-26773 changed 2026-10-15 | Public domain |