CVE-2026-45942
published high CVSS 3.1 · 7.8ext4: fix e4b bitmap inconsistency reports
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc9de560ded61faa5b754137b7753da252391c55a to < a3a7d360252c0d84ae8bda067fb296c9e82928d3 · c9de560ded61faa5b754137b7753da252391c55a to < 57e83bfbe1e412ac42daced2086f3c6f9a17bba0 · c9de560ded61faa5b754137b7753da252391c55a to < c05033cfc5c7699cd4df8d48cef94d01da755f24 · c9de560ded61faa5b754137b7753da252391c55a to < 29a07d691d282faf38c33d4b61839b89399110f9 · c9de560ded61faa5b754137b7753da252391c55a to < f29709a7a3fc38f5015d850504762cdef0e151f9 · c9de560ded61faa5b754137b7753da252391c55a to < bdc56a9c46b2a99c12313122b9352b619a2e719e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.25 (affected) · 0 to < 2.6.25 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.130 through 6.6.* (unaffected · semver) · 6.12.75 through 6.12.* (unaffected · semver) · 6.18.14 through 6.18.* (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1514 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1543 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-64k | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 10 | kernel-64k-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-64k-debug | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-64k-debug-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-64k-debug-devel | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-64k-debug-devel-matched | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-64k-debug-modules | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-64k-debug-modules-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-64k-debug-modules-extra | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-64k-devel | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-64k-devel-matched | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-64k-modules | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-64k-modules-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-64k-modules-extra | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.61.1.el10_2 | ALSA-2026:72624 |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-cross-headers | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-debug | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-debug-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-debug-devel | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-debug-devel-matched | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-debug-modules | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-debug-modules-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-debug-modules-extra | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-debug-uki-virt | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-devel | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-devel-matched | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.61.1.el10_2 | ALSA-2026:72624 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-headers | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-modules | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-modules-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-modules-extra | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-modules-extra-matched | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-64k | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-64k-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-64k-debug | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-64k-debug-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-64k-debug-devel | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-extra | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-64k-devel | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-64k-modules | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-64k-modules-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-64k-modules-extra | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-debug | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-debug-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-debug-devel | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-debug-modules | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-debug-modules-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-debug-modules-extra | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-devel | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-modules | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-modules-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-rt-modules-extra | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-tools | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-tools-libs | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-tools-libs-devel | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-uki-virt | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-uki-virt-addons | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-zfcpdump | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-zfcpdump-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-zfcpdump-devel | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-zfcpdump-devel-matched | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-zfcpdump-modules | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-core | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-extra | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | libperf | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | perf | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | python3-perf | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | rtla | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 10 | rv | Advisory build | 6.12.0-264.9.1.el10_3 | ALSA-2026:97040 |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: fix e4b bitmap inconsistency reports A bitmap inconsistency issue was observed during stress tests under mixed huge-page workloads. Ext4 reported multiple e4b bitmap check failures like: ext4_mb_complex_scan_group:2508: group 350, 8179 free clusters as per group info. But got 8192 blocks Analysis and experimentation confirmed that the issue is caused by a race condition between page migration and bitmap modification. Although this timing window is extremely narrow, it is still hit in practice: folio_lock ext4_mb_load_buddy __migrate_folio check ref count folio_mc_copy __filemap_get_folio folio_try_get(folio) ...... mb_mark_used ext4_mb_unload_buddy __folio_migrate_mapping folio_ref_freeze folio_unlock The root cause of this issue is that the fast path of load_buddy only increments the folio's reference count, which is insufficient to prevent concurrent folio migration. We observed that the folio migration process acquires the folio lock. Therefore, we can determine whether to take the fast path in load_buddy by checking the lock status. If the folio is locked, we opt for the slow path (which acquires the lock) to close this concurrency window. Additionally, this change addresses the following issues: When the DOUBLE_CHECK macro is enabled to inspect bitmap-related issues, the following error may be triggered: corruption in group 324 at byte 784(6272): f in copy != ff on disk/prealloc Analysis reveals that this is a false positive. There is a specific race window where the bitmap and the group descriptor become momentarily inconsistent, leading to this error report: ext4_mb_load_buddy ext4_mb_load_buddy __filemap_get_folio(create|lock) folio_lock ext4_mb_init_cache folio_mark_uptodate __filemap_get_folio(no lock) ...... mb_mark_used mb_mark_used_double mb_cmp_bitmaps mb_set_bits(e4b->bd_bitmap) folio_unlock The original logic assumed that since mb_cmp_bitmaps is called when the bitmap is newly loaded from disk, the folio lock would be sufficient to prevent concurrent access. However, this overlooks a specific race condition: if another process attempts to load buddy and finds the folio is already in an uptodate state, it will immediately begin using it without holding folio lock.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached through local filesystem block-allocation activity combined with local folio migration (compaction/NUMA/huge-page reclaim), which is a kernel memory-management event an attacker induces locally; there is no remote path that controls the migration side of the race. AC:L - The attacker controls both sides of the race—heavy block-allocation I/O plus memory pressure that forces folio migration—and the commit confirms the window "is still hit in practice" under sustained workloads, so it is reliably reproducible by an attacker-constructed workload. PR:L - An ordinary unprivileged local user with write access to any ext4 filesystem (e.g., /tmp or /home) can drive block allocation and induce memory migration; no elevated capabilities are required. UI:N - The attacker performs all actions (file writes plus memory pressure) on an already-mounted filesystem with no action by any other user. S:U - The corruption is confined to the ext4 filesystem and kernel within the same security authority; no VM, sandbox, or IOMMU boundary is crossed. C:H - A lost bitmap update can cause block double-allocation, assigning the same physical block to two inodes so one user can read data written by another on a shared filesystem, constituting significant information disclosure. I:H - The race corrupts buddy-bitmap/group-descriptor consistency and can double-allocate blocks, leading to file-data corruption (one file's writes overwriting another's) and persistent on-disk metadata inconsistency. A:H - Detected inconsistency invokes ext4_grp_locked_error()/ext4_handle_error(), which aborts the journal and remounts the filesystem read-only (or panics the kernel with errors=panic), rendering the filesystem—potentially the root filesystem—unavailable.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c9de560ded61faa5b754137b7753da252391c55a to < a3a7d360252c0d84ae8bda067fb296c9e82928d3 (affected · git)c9de560ded61faa5b754137b7753da252391c55a to < 57e83bfbe1e412ac42daced2086f3c6f9a17bba0 (affected · git)c9de560ded61faa5b754137b7753da252391c55a to < c05033cfc5c7699cd4df8d48cef94d01da755f24 (affected · git)c9de560ded61faa5b754137b7753da252391c55a to < 29a07d691d282faf38c33d4b61839b89399110f9 (affected · git)c9de560ded61faa5b754137b7753da252391c55a to < f29709a7a3fc38f5015d850504762cdef0e151f9 (affected · git)c9de560ded61faa5b754137b7753da252391c55a to < bdc56a9c46b2a99c12313122b9352b619a2e719e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.25 (affected)0 to < 2.6.25 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.130 through 6.6.* (unaffected · semver)6.12.75 through 6.12.* (unaffected · semver)6.18.14 through 6.18.* (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
6- https://git.kernel.org/stable/c/29a07d691d282faf38c33d4b61839b89399110f9
- https://git.kernel.org/stable/c/57e83bfbe1e412ac42daced2086f3c6f9a17bba0
- https://git.kernel.org/stable/c/a3a7d360252c0d84ae8bda067fb296c9e82928d3
- https://git.kernel.org/stable/c/bdc56a9c46b2a99c12313122b9352b619a2e719e
- https://git.kernel.org/stable/c/c05033cfc5c7699cd4df8d48cef94d01da755f24
- https://git.kernel.org/stable/c/f29709a7a3fc38f5015d850504762cdef0e151f9
Provider assertions
2Linux · cna
ext4: fix e4b bitmap inconsistency reports
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f8222d91a2d9784f80bee5dcf4450e15affbd1a806e4ed9d44e66c01ea2e0b96
- Ingested
- 30 Oct 2026, 12:31:36 UTC
- Source record
- Official CVE record