Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal access to ext4 fast_commit mount
-
DeliveryInduce __getblk/bmap failure on fast-commit block
-
ExploitForce fast commit via fsync and hit fallback path
-
Executionjbd2_fc_release_bufs put_bh()es uninitialised j_fc_wbuf slot
-
ImpactKernel memory corruption or crash
Vulnerability Assessment
| Exploitation Conditions | Requires a locally mounted ext4 filesystem with the fast_commit feature enabled, and an induced failure of jbd2_journal_bmap()/__getblk() for a fast-commit block (in the demonstrated case, the journal's fast-commit region placed past the end of a truncated loop backing device) so the fast commit reaches its fallback path without aborting the journal. Limiting factors: the vector is local only (AV:L), the uninitialised slot only exists when block mapping/allocation actually fails, the first-use slot must hold un-zeroed kmalloc data, and triggering realistically needs the ability to manipulate the backing storage or filesystem under a live mount - so this is not exploitable against a healthy, default-operating ext4 mount. |
| Impact | This is a local, non-remote memory-safety bug in the Linux kernel's jbd2 journaling layer (ext4 fast_commit). The supplied CVSS 3.1 vector is AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (7.8), but the mechanism described contradicts the AC:L/PR:N framing: the KASAN reproduction required a KASAN-built kernel, an ext4 fast_commit filesystem on a loop device, and truncation of the backing file under a live mount so that __getblk() fails for the fast-commit block while the rest of the journal stays addressable. That is a contrived, operator/privilege-dependent condition, not a low-complexity unauthenticated trigger, so the real-world attack complexity and privilege requirement are higher than the input vector implies - flag for vendor/NVD verification. Exploitation signals are all low-to-moderate: EPSS is 0.19% (9th percentile), there is no CISA KEV listing, and no public exploit was identified (the referenced git.kernel.org links are the fix commits, not PoC code). The vuln.today priority is 'this_week', consistent with a patched kernel memory-corruption bug that warrants routine prompt patching rather than emergency response. Net: a genuine kernel memory-corruption defect worth patching on a normal cadence, but not a high-urgency, widely-weaponisable issue; the headline 7.8 overstates the practical ease of exploitation. |
| Exploit ScenarioDerived | A local actor on a host running an ext4 filesystem with fast_commit enabled induces a block-mapping/read failure for a fast-commit journal block (for example, the journal's fast-commit region falling past the end of a truncated backing device) and then forces a fast commit via fsync/sync. The fast commit fails and falls back through jbd2_fc_end_commit_fallback to jbd2_fc_release_bufs(), which put_bh()es a j_fc_wbuf slot that was counted by j_fc_off but never written, dereferencing uninitialised kmalloc heap data and corrupting kernel memory or crashing. No public exploit was identified; the only demonstrated reproduction used a KASAN kernel with a poisoned j_fc_wbuf, and triggering depends on inducing the underlying __getblk()/bmap failure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Uninitialized-heap pointer misuse in the Linux kernel's jbd2 journaling layer (the ext4 fast-commit path) lets a local user crash or potentially corrupt kernel memory when a fast-commit block fails to map. In jbd2_fc_get_buf() the journal's j_fc_off index is advanced before jbd2_journal_bmap() and __getblk() are known to succeed, so a failed lookup leaves j_fc_wbuf[] unassigned at a slot that j_fc_off already counts; the ext4 fast-commit fallback then calls jbd2_fc_release_bufs(), which walks down from j_fc_off - 1 and put_bh()es the never-written slot. Because j_fc_wbuf is plain kmalloc() memory that is never zeroed, a first-use slot holds uninitialised heap data, which the reporter demonstrated on a KASAN kernel as a wild-memory-access write from jbd2_fc_release_bufs(). Exploitation is local only and requires an ext4 filesystem mounted with fast_commit plus an induced failure of block mapping/__getblk() for a fast-commit block (for example, truncating the loop backing device under a live mount); no public exploit code was identified at time of analysis, EPSS is 0.19% (9th percentile) and the issue is not in CISA KEV, so it is a low-urgency hardening item rather than an emergency. Vendor patches are available in the listed stable releases.
RemediationAI
Vendor-released patch: Linux 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 and 7.4-rc1, delivered through the stable commits listed in the references (for example https://git.kernel.org/stable/c/1ce33de62647f30bdef832e0fbe49de0c6b1bb12 and the sibling SHAs for each branch); distribution kernels should be updated to a build that includes the corresponding backport. Because the trigger is a failed jbd2_journal_bmap()/__getblk() for a fast-commit block on an ext4 filesystem mounted with fast_commit, environments that cannot patch immediately can reduce exposure by not enabling the fast_commit feature on ext4 filesystems (mounting a filesystem formatted without it, or disabling it offline with tune2fs) - a trade-off that removes fast-commit performance benefits - and by ensuring backing storage for such filesystems (loop devices, thin-provisioned or truncated images) is not modified underneath a live mount, since the demonstrated reproducer required the fast-commit journal region to fall past the end of the device without the journal being aborted. No public exploit code was identified at time of analysis, and EPSS is 0.19%, so scheduled patching within the current cycle is appropriate rather than emergency response.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
jbd2 is the generic journaling layer used by ext4; its fast-commit feature batches small metadata changes into a dedicated region of the journal and tracks the buffer heads backing those blocks in the journal->j_fc_wbuf[] array, indexed by journal->j_fc_off. The array is obtained from a plain kmalloc() and is never zeroed, so the code relies on a strict invariant: j_fc_off must cover exactly the slots that have been filled, and release walks down from j_fc_off - 1 until it hits a NULL, which is what separates the live buffers of the current fast commit from the NULLs left by the previous one. The fix restores that invariant by incrementing j_fc_off only after the buffer head has actually been stored, so that a failed jbd2_journal_bmap() or __getblk() leaves the index unchanged. Without the fix, ext4 fails the fast commit, falls back through ext4_fc_commit -> jbd2_fc_end_commit_fallback -> __jbd2_fc_end_commit -> ext4_fc_cleanup into jbd2_fc_release_bufs(), which then put_bh()es a slot containing uninitialised heap contents. The root-cause class is use of an uninitialised resource / uninitialised pointer (no CWE was assigned in the source data); the reporter's KASAN trace shows a write of size 4 at a poisoned (0x5a-filled) address, confirming the dereference of attacker-uninfluenced but uninitialised kernel heap. The affected code has existed since the fast-commit work identified by commit ff780b91efe901b8eecd8114785abae5341820ad, and fixes are published as stable backports across the 5.10, 5.15, 6.1, 6.6, 6.12, 6.18 and 7.x branches.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Local trigger needing block-read failure under a live mount makes AC:H and PR:L; impact is kernel memory corruption/crash (I:H/A:H) with no direct disclosure (C:N).
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
jbd2: don't advance j_fc_off before the buffer is recorded
jbd2_fc_get_buf() increments journal->j_fc_off before jbd2_journal_bmap() and __getblk() have had a chance to fail. When either does, the slot j_fc_wbuf[fc_off] is never assigned, but j_fc_off already counts it.
ext4 then fails the fast commit and falls back, and the fallback path reaches jbd2_fc_release_bufs() via ext4_fc_commit -> jbd2_fc_end_commit_fallback -> __jbd2_fc_end_commit -> ext4_fc_cleanup. That walks down from j_fc_off - 1 and put_bh()es every slot until it sees NULL, so it also touches the slot that was never written. j_fc_wbuf comes from a plain kmalloc() and is never zeroed, so a slot used for the first time holds uninitialised heap data.
Advance j_fc_off only after the buffer head has been stored. That restores the invariant that j_fc_off covers exactly the filled slots, which is what jbd2_fc_release_bufs() relies on: the live buffers of the current fast commit sit above the NULLs the previous one released, so stopping at the first NULL is correct.
Reproduced on a KASAN kernel with an ext4 fast_commit filesystem on a loop device, truncating the backing file under the live mount so that only the journal's fast-commit region falls past the end of the device. __getblk() then fails for the first fast-commit block while the rest of the journal is still addressable, so the journal is not aborted and the fast commit reaches the fallback path. j_fc_wbuf was poisoned to make the read of the never-written slot visible:
BUG: KASAN: wild-memory-access in jbd2_fc_release_bufs+0x6b/0xd0 Write of size 4 at addr 5a5a5a5a5a5a5ab2 by task sync/961 jbd2_fc_release_bufs+0x6b/0xd0 ext4_fc_cleanup+0x97/0x830 __jbd2_fc_end_commit+0x37/0xc0 ext4_fc_commit+0x524/0x560 ext4_sync_file+0x3c4/0x4b0 __x64_sys_fsync+0x20/0x30
With this patch the same run leaves j_fc_off at 0 across repeated __getblk() failures and completes cleanly.
Executive ViewAI
CVE-2026-138875 is an uninitialized-heap pointer misuse in the Linux kernel's jbd2/ext4 fast-commit path that allows a local user to crash the system or potentially corrupt kernel memory when a fast-commit block fails to map. Any Linux host running ext4 with the fast_commit feature and offering local user access (multi-tenant servers, container hosts, developer workstations) is exposed; leadership should care because a local attacker could disrupt availability or escalate to kernel-level memory corruption on shared infrastructure.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-138578
GHSA-3cjh-mhww-rvm8
NVD
CVE.org
EPSS
Exploit-DB