Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft corrupted ocfs2 image with self-referencing extent block
-
DeliveryVictim mounts malicious filesystem
-
Exploitftruncate triggers __ocfs2_find_path extent-tree walk
-
ExecutionInfinite descent writes past p_node[5] array
-
ImpactKernel memory corruption and denial of service
Vulnerability Assessment
| Exploitation Conditions | Requires the local system to use the ocfs2 filesystem and to mount or operate on an attacker-crafted/corrupted ocfs2 image whose extent block points to itself (self-referential tree). Triggering specifically needs an operation that walks the extent tree via __ocfs2_find_path() - the changelog shows a truncate/ftruncate path (ocfs2_commit_truncate → ocfs2_truncate_file). Limiting factors: exploitation is local (AV:L) and depends on user interaction (UI:R) to introduce and mount the malicious image, and on ocfs2 being available/in use - it is NOT remotely reachable and does not affect systems that never handle ocfs2 volumes. Note the earlier fix a406aff8c051 (restricting l_tree_depth below OCFS2_MAX_PATH_DEPTH=5) does not stop the infinite-descent case addressed here. |
| Impact | Signals are mostly aligned toward a real-but-bounded local issue. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U, 7.8 HIGH) describes a local attack requiring user interaction, not a remotely reachable flaw; the C:H/I:H/A:H impact reflects kernel-level memory corruption from writing past the fixed 5-element path->p_node[] array during an infinite extent-tree descent. EPSS is low (0.29%, 14th percentile) and the CVE is NOT in CISA KEV, so there is no indication of active or widespread exploitation. The vuln.today decision label is this_week - patch on a normal priority cadence, not an emergency - which is consistent with a locally-triggered filesystem-corruption bug. The practical ceiling on risk is the trigger condition: it requires mounting/operating on a maliciously-crafted or corrupted ocfs2 image, so this is a 'malicious filesystem image' class bug, not an internet-facing one - relevant for multi-tenant, USB-automount, forensic, or shared-cluster-volume scenarios but low real-world priority for systems that never use ocfs2. No conflicting signals of note; low EPSS despite HIGH CVSS is expected for a local, interaction-dependent kernel flaw. |
| Exploit ScenarioDerived | An attacker crafts a corrupted ocfs2 filesystem image whose extent block self-references, and gets a victim to mount it (e.g. attacker-supplied USB/loopback image, or a shared cluster volume). When a truncate/ftruncate operation walks the extent tree, __ocfs2_find_path() descends endlessly and writes past the 5-slot path->p_node[] array, corrupting kernel memory and typically crashing the kernel (DoS), with potential for further corruption. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Out-of-bounds write in the Linux kernel's OCFS2 filesystem code allows a local attacker to corrupt memory beyond the fixed five-entry path->p_node[] array when the kernel walks a crafted extent tree. Only systems that mount or operate on a malicious/corrupted ocfs2 image are affected: if an extent block points to itself, __ocfs2_find_path() descends indefinitely through find_path_ins() and keeps appending path items past the array bound, as triggered on the truncate/ftruncate path (ocfs2_commit_truncate to ocfs2_truncate_file). Exploitation requires local access and user interaction to introduce and mount the image (CVSS:3.1/AV:L/AC:L/PR:N/UI:R, 7.8); no public exploit code or CISA KEV entry was identified at time of analysis, and EPSS is low (0.29%, 14th percentile).
RemediationAI
Vendor-released patches are available: update to Linux 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.4 or 7.4-rc1 (or apply the referenced stable commits 825e31b1dd0711d3e611b0e53c43d905471b15b5, 3f777a202b58927d2b9b79c500ae1c8b89b8d436, 3d608a953dc4bdd39516a79b6ffb8924736bb000, cf8e485c3e76c8caad3bb91539b08bc11252676a, 7c07e14de49ec2e0080e2d6bfc5709502f88ed34, f254281e111578ec90f4434f34a7264521173359, bf8a21fb049f55804d9a5ad7cf864e71697df0cc, 6193ce7896afb52a321a0063c8b6a45e477a84e2) - see https://nvd.nist.gov/vuln/detail/CVE-2026-99820 and https://vuldb.com/vuln/445314 for advisory context. Because the trigger is a self-referential extent block in a mounted image, the practical compensating control is to avoid mounting ocfs2 volumes from untrusted or unverified sources and to treat ocfs2 images as privileged input; where ocfs2 is not in use, not loading the ocfs2 module removes the attack surface entirely, at the cost of losing ocfs2 support on that host. Note that the earlier l_tree_depth validation commit a406aff8c051 is not sufficient on its own, so systems relying on that backport still need this fix.
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
OCFS2 is a cluster-oriented filesystem in the Linux kernel that stores file data in an extent tree; the kernel keeps a fixed-size path structure of type ocfs2_path_item[5] (OCFS2_MAX_PATH_DEPTH equals 5) to remember the nodes visited while descending that tree. __ocfs2_find_path() records each visited node by calling find_path_ins(), which appends to path->p_node[]. An earlier fix, commit a406aff8c051 ("ocfs2: validate l_tree_depth to avoid out-of-bounds access"), restricted el->l_tree_depth to less than OCFS2_MAX_PATH_DEPTH but did not account for an extent block whose pointer targets itself, which makes the descent non-terminating even though the stored tree depth looks valid. The reported UBSAN splat is an array-index-out-of-bounds at fs/ocfs2/alloc.c:677 with index 5 out of range for 'ocfs2_path_item [5]', reached from find_path_ins via __ocfs2_find_path.constprop.0 and ocfs2_commit_truncate during ocfs2_truncate_file, ocfs2_setattr, notify_change, do_truncate and ksys_ftruncate. The upstream resolution adds a check that el->l_tree_depth actually decreases on each descent, capping the number of descents at four so that path->p_node[] cannot overflow. The trigger requires a corrupted on-disk ocfs2 image; it is not reachable over the network.
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-only trigger via a crafted ocfs2 image that must be mounted (AV:L, UI:R); no auth needed to supply the image (PR:N); out-of-bounds kernel write yields memory corruption, so C/I/A:H.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: fix array out of bound access in __ocfs2_find_path()
__ocfs2_find_path() walks down the extent tree and records path by calling find_path_ins(), which appends entry to path->p_node[]. It only has 5 spots.
A corrupted ocfs2 image whose extent block is pointing to itself causes __ocfs2_find_path() descent endlessly, writing past the end of path->p_node[] array.
UBSAN: array-index-out-of-bounds in fs/ocfs2/alloc.c:677:14 index 5 is out of range for type 'ocfs2_path_item [5]' Call Trace: <TASK> find_path_ins (fs/ocfs2/alloc.c:677 fs/ocfs2/alloc.c:1914) __ocfs2_find_path.constprop.0 (fs/ocfs2/alloc.c:1882) ocfs2_commit_truncate (fs/ocfs2/alloc.c:1924 fs/ocfs2/alloc.c:7286) ocfs2_truncate_file (fs/ocfs2/file.c:515) ocfs2_setattr (fs/ocfs2/file.c:1224) notify_change (fs/attr.c:556) do_truncate (fs/open.c:68) do_ftruncate (fs/open.c:194 (discriminator 1)) ksys_ftruncate (fs/open.c:206) __x64_sys_ftruncate (fs/open.c:211 fs/open.c:209 fs/open.c:209)
Commit a406aff8c051 ("ocfs2: validate l_tree_depth to avoid out-of-bounds access") already restricts el->l_tree_depth to be less than OCFS2_MAX_PATH_DEPTH, which is equal to 5. However, does not handle the infinite descent case.
Check if the el->l_tree_depth decreases on each descent. Maximum descents are restricted to 4 and the path->p_node[] array does not overflow.
Executive ViewAI
A high-severity memory corruption vulnerability (CVE-2026-99820) in the Linux kernel's OCFS2 filesystem could allow a local attacker to escalate privileges or crash affected systems. Only organizations that mount or operate on untrusted or malformed OCFS2 disk images are at risk, meaning most enterprise environments are not directly exposed. Leadership should prioritize patching for any Linux assets using OCFS2, especially those in shared storage or virtualization clusters, to uphold security compliance and prevent potential service disruptions.
Vendor-released patch: apply the kernel update from your Linux distribution; if patching is delayed, restrict OCFS2 filesystem mounting to trusted images and limit local access to systems that require it.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
EUVD-2026-138053
GHSA-rff9-g5hx-pv5p
NVD
CVE.org
EPSS
VulDB
Exploit-DB