# CVE-2024-26773: ext4: avoid allocating blocks from corrupted group in ext4\_mb\_try\_best\_found()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **Published:** 2024-04-03T17:00:59.757Z
- **Modified:** 2026-10-15T01:17:22.983Z

## Who should check

- Anyone running Linux \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 21f8cfe79f776287459343e9cfa6055af61328ea; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 260fc96283c0f594de18a1b045faf6d8fb42874d; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 927794a02169778c9c2e7b25c768ab3ea8c1dc03; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 4c21fa60a6f4606f6214a38f50612b17b2f738f5; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< f97e75fa4e12b0aa0224e83fcbda8853ac2adf36; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 0184747b552d6b5a14db3b7fcc3b792ce64dedd1; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< a2576ae9a35c078e488f2c573e9e6821d651fbbe; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 4530b3660d396a646aad91a787b6ab37cf604b53
- Anyone running Linux 3.12

## 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 and fixed versions

- Linux: \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 21f8cfe79f776287459343e9cfa6055af61328ea; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 260fc96283c0f594de18a1b045faf6d8fb42874d; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 927794a02169778c9c2e7b25c768ab3ea8c1dc03; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 4c21fa60a6f4606f6214a38f50612b17b2f738f5; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< f97e75fa4e12b0aa0224e83fcbda8853ac2adf36; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 0184747b552d6b5a14db3b7fcc3b792ce64dedd1; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< a2576ae9a35c078e488f2c573e9e6821d651fbbe; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 4530b3660d396a646aad91a787b6ab37cf604b53 (cvelist)
- Linux: 3.12 (cvelist)

## Mitigation

- Upgrade Linux to 4530b3660d396a646aad91a787b6ab37cf604b53 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26773. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26773.md
Affected: Linux >= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, < 21f8cfe79f776287459343e9cfa6055af61328ea; >= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, < 260fc96283c0f594de18a1b045faf6d8fb42874d; >= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, < 927794a02169778c9c2e7b25c768ab3ea8c1dc03; >= 163a203ddb36c36d4a1c942…
Fixed in: Linux 21f8cfe79f776287459343e9cfa6055af61328ea, Linux 260fc96283c0f594de18a1b045faf6d8fb42874d, Linux 927794a02169778c9c2e7b25c768ab3ea8c1dc03, Linux 4c21fa60a6f4606f6214a38f50612b17b2f738f5, Linux 0184747b552d6b5a14db3b7fcc3b792ce64dedd1, Linux 4530b3660d396a646aad91a787b6ab37cf604b53

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26773 being exploited?

There is no confirmed exploitation: CVE-2024-26773 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26773?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26773?

Linux \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 21f8cfe79f776287459343e9cfa6055af61328ea; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 260fc96283c0f594de18a1b045faf6d8fb42874d; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 927794a02169778c9c2e7b25c768ab3ea8c1dc03; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 4c21fa60a6f4606f6214a38f50612b17b2f738f5; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< f97e75fa4e12b0aa0224e83fcbda8853ac2adf36; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 0184747b552d6b5a14db3b7fcc3b792ce64dedd1; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< a2576ae9a35c078e488f2c573e9e6821d651fbbe; \>= 163a203ddb36c36d4a1c942aececda0cc8d06aa7, \< 4530b3660d396a646aad91a787b6ab37cf604b53; Linux 3.12.

### Is there a fix for CVE-2024-26773?

Yes. Fixed in Linux 21f8cfe79f776287459343e9cfa6055af61328ea, Linux 260fc96283c0f594de18a1b045faf6d8fb42874d, Linux 927794a02169778c9c2e7b25c768ab3ea8c1dc03, Linux 4c21fa60a6f4606f6214a38f50612b17b2f738f5, Linux 0184747b552d6b5a14db3b7fcc3b792ce64dedd1, Linux 4530b3660d396a646aad91a787b6ab37cf604b53. Upgrade Linux to 4530b3660d396a646aad91a787b6ab37cf604b53 or later.

### How do I check if I'm affected by CVE-2024-26773?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26773>

HTML: <https://flawdb.com/CVE-2024-26773> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26773>
