# CVE-2024-26601: ext4: regenerate buddy after block freeing failed if under fc replay

> 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.33% (percentile 19, 2026-11-26)
- **Published:** 2024-02-24T14:56:56.324Z
- **Modified:** 2026-08-05T11:26:11.866Z

## Who should check

- Anyone running Linux \>= 0983142c5f17a62055ec851372273c3bc77e4788, \< 94ebf71bddbcd4ab1ce43ae32c6cb66396d2d51a; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< c1317822e2de80e78f137d3a2d99febab1b80326; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< 78327acd4cdc4a1601af718b781eece577b6b7d4; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< ea42d6cffb0dd27a417f410b9d0011e9859328cb; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< 6b0d48647935e4b8c7b75d1eccb9043fcd4ee581; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< c9b528c35795b711331ed36dc3dbee90d5812d4e; \>= 5.10.181, \< 5.10.211
- Anyone running Linux 5.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

ext4: regenerate buddy after block freeing failed if under fc replay

This mostly reverts commit 6bd97bf273bd ("ext4: remove redundant
mb\_regenerate\_buddy()") and reintroduces mb\_regenerate\_buddy(). Based on
code in mb\_free\_blocks(), fast commit replay can end up marking as free
blocks that are already marked as such. This causes corruption of the
buddy bitmap so we need to regenerate it in that case.

## Affected and fixed versions

- Linux: \>= 0983142c5f17a62055ec851372273c3bc77e4788, \< 94ebf71bddbcd4ab1ce43ae32c6cb66396d2d51a; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< c1317822e2de80e78f137d3a2d99febab1b80326; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< 78327acd4cdc4a1601af718b781eece577b6b7d4; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< ea42d6cffb0dd27a417f410b9d0011e9859328cb; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< 6b0d48647935e4b8c7b75d1eccb9043fcd4ee581; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< c9b528c35795b711331ed36dc3dbee90d5812d4e; \>= 5.10.181, \< 5.10.211 (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- Upgrade Linux to 5.10.211 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-26601. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26601.md
Affected: Linux >= 0983142c5f17a62055ec851372273c3bc77e4788, < 94ebf71bddbcd4ab1ce43ae32c6cb66396d2d51a; >= 6bd97bf273bdb4944904e57480f6545bca48ad77, < c1317822e2de80e78f137d3a2d99febab1b80326; >= 6bd97bf273bdb4944904e57480f6545bca48ad77, < 78327acd4cdc4a1601af718b781eece577b6b7d4; >= 6bd97bf273bdb4944904e57…
Fixed in: Linux 94ebf71bddbcd4ab1ce43ae32c6cb66396d2d51a, Linux 78327acd4cdc4a1601af718b781eece577b6b7d4, Linux 6b0d48647935e4b8c7b75d1eccb9043fcd4ee581, Linux 5.10.211

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-26601 being exploited?

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

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

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

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

Linux \>= 0983142c5f17a62055ec851372273c3bc77e4788, \< 94ebf71bddbcd4ab1ce43ae32c6cb66396d2d51a; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< c1317822e2de80e78f137d3a2d99febab1b80326; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< 78327acd4cdc4a1601af718b781eece577b6b7d4; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< ea42d6cffb0dd27a417f410b9d0011e9859328cb; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< 6b0d48647935e4b8c7b75d1eccb9043fcd4ee581; \>= 6bd97bf273bdb4944904e57480f6545bca48ad77, \< c9b528c35795b711331ed36dc3dbee90d5812d4e; \>= 5.10.181, \< 5.10.211; Linux 5.11.

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

Yes. Fixed in Linux 94ebf71bddbcd4ab1ce43ae32c6cb66396d2d51a, Linux 78327acd4cdc4a1601af718b781eece577b6b7d4, Linux 6b0d48647935e4b8c7b75d1eccb9043fcd4ee581, Linux 5.10.211. Upgrade Linux to 5.10.211 or later.

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

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/94ebf71bddbcd4ab1ce43ae32c6cb66396d2d51a>
- patch: <https://git.kernel.org/stable/c/c1317822e2de80e78f137d3a2d99febab1b80326>
- patch: <https://git.kernel.org/stable/c/78327acd4cdc4a1601af718b781eece577b6b7d4>
- patch: <https://git.kernel.org/stable/c/ea42d6cffb0dd27a417f410b9d0011e9859328cb>
- patch: <https://git.kernel.org/stable/c/6b0d48647935e4b8c7b75d1eccb9043fcd4ee581>
- patch: <https://git.kernel.org/stable/c/c9b528c35795b711331ed36dc3dbee90d5812d4e>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.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-26601>

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