# CVE-2024-26773: ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2024-04-03T17:00:59.757Z
- Modified: 2026-10-15T01:17:22.983Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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

(As written by CVE List.)

## Affected

- 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; 3.12 (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.*; from 6.6.19 up to 6.6.*; from 6.7.7 up to 6.7.*; from 6.8 up to *)
- 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
- debian debian_linux: 10.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/21f8cfe79f776287459343e9cfa6055af61328ea> (patch)
- <https://git.kernel.org/stable/c/260fc96283c0f594de18a1b045faf6d8fb42874d> (patch)
- <https://git.kernel.org/stable/c/927794a02169778c9c2e7b25c768ab3ea8c1dc03> (patch)
- <https://git.kernel.org/stable/c/4c21fa60a6f4606f6214a38f50612b17b2f738f5> (patch)
- <https://git.kernel.org/stable/c/f97e75fa4e12b0aa0224e83fcbda8853ac2adf36> (patch)
- <https://git.kernel.org/stable/c/0184747b552d6b5a14db3b7fcc3b792ce64dedd1> (patch)
- <https://git.kernel.org/stable/c/a2576ae9a35c078e488f2c573e9e6821d651fbbe> (patch)
- <https://git.kernel.org/stable/c/4530b3660d396a646aad91a787b6ab37cf604b53> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (mailing-list)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## Sources

- CVE List: [CVE-2024-26773](https://www.cve.org/CVERecord?id=CVE-2024-26773), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-26773](https://nvd.nist.gov/vuln/detail/CVE-2024-26773), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-26773 · Whole record: https://cve.day/CVE-2024-26773.json · Rebuilt by cve.day 2026-11-25T22:58:38.696Z
