ext4: regenerate buddy after block freeing failed if under fc replay
Summary
| CVE | CVE-2024-26601 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-02-26 16:27:59 UTC |
| Updated | 2026-08-04 11:16:47 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: NVD-CWE-noinfo
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 0983142c5f17a62055ec851372273c3bc77e4788 94ebf71bddbcd4ab1ce43ae32c6cb66396d2d51a git | Not specified |
| CNA | Linux | Linux | affected 6bd97bf273bdb4944904e57480f6545bca48ad77 c1317822e2de80e78f137d3a2d99febab1b80326 git | Not specified |
| CNA | Linux | Linux | affected 6bd97bf273bdb4944904e57480f6545bca48ad77 78327acd4cdc4a1601af718b781eece577b6b7d4 git | Not specified |
| CNA | Linux | Linux | affected 6bd97bf273bdb4944904e57480f6545bca48ad77 ea42d6cffb0dd27a417f410b9d0011e9859328cb git | Not specified |
| CNA | Linux | Linux | affected 6bd97bf273bdb4944904e57480f6545bca48ad77 6b0d48647935e4b8c7b75d1eccb9043fcd4ee581 git | Not specified |
| CNA | Linux | Linux | affected 6bd97bf273bdb4944904e57480f6545bca48ad77 c9b528c35795b711331ed36dc3dbee90d5812d4e git | Not specified |
| CNA | Linux | Linux | affected 5.10.181 5.10.211 semver | Not specified |
| CNA | Linux | Linux | affected 5.11 | Not specified |
| CNA | Linux | Linux | unaffected 5.11 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.211 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.150 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.78 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.17 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.7.5 6.7.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.8 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/c1317822e2de80e78f137d3a2d99febab1b80326 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2024/06/msg00017.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/c9b528c35795b711331ed36dc3dbee90d5812d4e | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/94ebf71bddbcd4ab1ce43ae32c6cb66396d2d51a | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/78327acd4cdc4a1601af718b781eece577b6b7d4 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/6b0d48647935e4b8c7b75d1eccb9043fcd4ee581 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/ea42d6cffb0dd27a417f410b9d0011e9859328cb | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 200182 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-6688-1)
- 357358 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2024-052
- 357366 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.15-2024-040
- 6000567 Debian Security Update for linux (DSA 5658-1)
- 6140450 AWS Bottlerocket Security Update for kernel (GHSA-v279-8m3x-vvcc)