Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious OCFS2 image (dqi_chunks=0)
-
DeliveryPrivileged user mounts untrusted image
-
ExploitFirst quota entry allocated and released
-
ExecutionOut-of-bounds bitmap write corrupts kernel memory
-
ImpactKernel crash or unrelated-data corruption
Vulnerability Assessment
| Exploitation Conditions | Requires an attacker-supplied OCFS2 image whose local quota file header is crafted so dqi_chunks == 0 (ocfs2_local_read_info() accepts this value without validation), causing the first chunk to be numbered from a stale kernel pointer instead of 0. The ocfs2 kernel module must be present/loadable, local quotas must be in use, and the corrupting write occurs when the first quota entry is allocated (ocfs2_create_local_dquot via ol_dqblk_off) and released (ocfs2_local_release_dquot via ol_dqblk_chunk_off). LIMITING FACTORS: mounting the image requires CAP_SYS_ADMIN, so a privileged user must take the explicit action of mounting the untrusted image (local access only, no remote/network path); a low-privileged attacker cannot trigger it alone, and the corrupted address varies boot-to-boot, making it a reliable corruption/crash primitive but not a controlled write. |
| Impact | Signals point to a genuine but low-priority memory-corruption bug rather than an urgent threat. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H, base 7.1) describes a local, user-interaction-gated out-of-bounds kernel write with no confidentiality impact but high integrity/availability impact. There is an important tension to flag: the vector lists PR:N, yet the description states mounting an OCFS2 image requires CAP_SYS_ADMIN - so the privileged action is modeled as victim interaction (UI:R) on attacker-supplied content, not as an unprivileged attacker capability. This matters because the only realistic path is a privileged user mounting an untrusted image (removable media or loop mount); a low-privileged local user cannot self-trigger it, which sharply limits real-world exploitability. EPSS is 0.18% (7th percentile), consistent with no observed exploitation. Not in CISA KEV - no evidence of active exploitation. Public syzkaller and C reproducers are referenced (Google Drive link in the report thread), but these are fuzzing crash reproducers, not weaponized exploits; the author explicitly says it was found by modified syzkaller and not seen outside fuzzing. The vuln.today decision label is 'this_week', consistent with patch-on-normal-cadence rather than emergency. Net: a real, patchable kernel bug worth applying on a normal schedule, but the privileged-mount prerequisite and very low EPSS place it well below internet-facing, unauthenticated priorities. |
| Exploit ScenarioDerived | An attacker crafts a malicious OCFS2 filesystem image whose local quota file header claims zero chunks (dqi_chunks == 0) and delivers it as removable media or a loop-mountable file. When a user with CAP_SYS_ADMIN mounts the image and the first quota entry is allocated and later released, a chunk number taken from a kernel pointer drives an out-of-bounds bitmap bit-clear that corrupts unrelated kernel memory, typically crashing the system. Public syzkaller and C reproducers are referenced in the reporter's thread, but these are crash reproducers, not demonstrated code-execution exploits (no active exploitation identified). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
Crafted OCFS2 disk images whose local quota file header declares zero chunks can drive an out-of-bounds bitmap clear in the Linux kernel's ocfs2 quota code, corrupting unrelated memory and potentially crashing the system. When the in-memory chunk list is empty, ocfs2_local_quota_add_chunk() derives the new chunk number from the list head (which is really the dqi_gqinode pointer in struct ocfs2_mem_dqinfo) instead of 0, and the resulting oversized number is later folded back into a bit index by ol_dqblk_chunk_off() that lands far outside the chunk bitmap. Triggering requires CAP_SYS_ADMIN to mount the attacker-supplied image (e.g. removable media or a loop mount), so the CVSS vector's PR:N/UI:R reflects a privileged user taking an explicit action rather than an unprivileged remote path; the corrupting address varies boot-to-boot, making this a reliable corruption/crash primitive rather than a controlled write. Reproducers are described in the report thread (syzkaller plus a C reproducer) and upstream fixes are available; there is no CISA KEV listing, EPSS is 0.18% (7th percentile), and vuln.today ranks it as this_week.
RemediationAI
Vendor-released patch: upgrade to Linux 6.12.117, 6.18.61 or 7.3.2 (7.4-rc1 also carries the fix), which compute the new chunk number before linking the chunk onto the list and use 0 when the list is empty; the corresponding stable commits are 76986d0ad2e1b71a304db59980f7d3440709cf69, 59d336153d40649afe86ff57d3bde1ac1588e850, 5778be09eab716b7d37f653d72c2c34a25f6ba05 and 4effccfd50baee4f325694964aeee997dca7bd96 (see also https://nvd.nist.gov/vuln/detail/CVE-2026-99430). Until the patched kernel is deployed, the practical exposure control is to avoid mounting OCFS2 images from untrusted sources: since mounting requires CAP_SYS_ADMIN, restrict that capability and disable any automount of removable media or loop devices for OCFS2, accepting the operational cost that legitimate OCFS2 volumes must be mounted manually from trusted media. Hosts that do not use OCFS2 can blacklist the module (for example modprobe.blacklist=ocfs2 on the kernel command line, or a /etc/modprobe.d rule), with the trade-off that OCFS2 filesystems then cannot be mounted at all. Note that the corrupted address varies from boot to boot, so these measures reduce reachability of the mount-based trigger rather than mitigate a controllable write once the bug is hit.
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 stores local quota accounting in a file divided into chunks, each chunk beginning with a header block that holds a bitmap of the quota entries that chunk has handed out. Chunk numbers start at zero and are used to convert a quota entry's file offset back into a bit position in that bitmap via ol_dqblk_off() and ol_dqblk_chunk_off(). The root cause is an ordering bug in ocfs2_local_quota_add_chunk(): the new chunk is linked with list_add_tail() before the predecessor is consulted, so on an empty list the prev pointer is the list head itself - the dqi_chunk member of struct ocfs2_mem_dqinfo - and reading qc_num through it reads 16 bytes past the start of that head, landing on the following dqi_gqinode pointer. The chunk is consequently numbered with the lower half of a kernel pointer rather than 0. The empty-list condition is reachable because ocfs2_local_read_info() copies dqi_chunks from an on-disk header without validation, so an image claiming zero chunks takes this path the first time a quota entry is allocated during mount. Because ol_dqblk_off() shifts a 32-bit block number left by the block-size bits, the top bits of the bogus block number are truncated when the file offset is computed, while ol_dqblk_chunk_off() reconstructs the bit index using the full chunk number, pushing it far outside the bitmap. No CWE was assigned in the source data; the behavior is best characterized as missing validation of an on-disk field combined with an unchecked list-head dereference and an out-of-bounds bit clear. The various crash titles reported (KASAN use-after-free write, slab-out-of-bounds write, KFENCE use-after-free write, paging request BUG in ocfs2_local_release_dquot) reflect whichever object happens to occupy the corrupted address, not a genuine use-after-free in the quota code - the chunk and its buffer head remain alive.
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:N/I:H/A:H
Local image mount gives AV:L; the crafted image triggers reliably so AC:L; the attacker needs no privileges but a privileged user must mount it, so PR:N/UI:R; OOB write yields I:H/A:H, C:N.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: fix chunk number of the first chunk in a local quota file
Mounting a crafted OCFS2 image can corrupt kernel memory. When the local quota file header of such an image claims zero chunks, the first quota entry allocated during the mount gets a chunk number taken from a kernel pointer, and releasing that entry clears a bit far outside the chunk bitmap.
The write will corrupt the data stored at that address, and the corruption may lead to a system crash or damage unrelated data. Mounting requires CAP_SYS_ADMIN, so it takes an untrusted image, such as removable media or a loop mount of a file from elsewhere.
Since the chunk number comes from a kernel pointer, the address of the bit that gets cleared differs from boot to boot, and the issue has been reported under several titles:
- BUG: unable to handle kernel paging request in ocfs2_local_release_dquot
- KASAN: use-after-free Write in ocfs2_local_release_dquot
- KASAN: slab-out-of-bounds Write in ocfs2_local_release_dquot
- KASAN: slab-use-after-free Write in ocfs2_local_release_dquot
- KFENCE: use-after-free write in ocfs2_local_release_dquot
Note that none of these is a use-after-free in the quota code: the chunk and its buffer head are alive. The bit that gets cleared lies far outside the bitmap. KASAN and KFENCE name each report based on the object occupying that address, which explains why the same issue is reported under so many different titles. In the report I sent, the address fell in a free page, which KASAN labels use-after-free.
There are known reproducers. Both a syzkaller and a C reproducer are available from the Google Drive link [1] in my report thread. The issue was found by our modified syzkaller, not a theoretical thing found by an LLM. I have not seen it outside fuzzing, so it is not affecting me in the real world.
The local quota file in OCFS2 is divided into chunks, and each chunk begins with a header block holding a bitmap of the quota entries that chunk has handed out. Chunks are numbered from zero, and that number is used to convert the file offset of an entry back into a bit position in the bitmap. ocfs2_local_quota_add_chunk() appends a new chunk to the in-memory list and numbers it one past the chunk that was last:
list_add_tail(&chunk->qc_chunk, &oinfo->dqi_chunk); chunk->qc_num = list_entry(chunk->qc_chunk.prev, struct ocfs2_quota_chunk, qc_chunk)->qc_num + 1;
The predecessor is looked up after the new chunk is added to the list, so if the list was empty, the prev pointer is the list head itself. The head is the dqi_chunk member of struct ocfs2_mem_dqinfo and is not a chunk, so reading qc_num through it lands 16 bytes past the start of the head, on the dqi_gqinode pointer that follows it. The first chunk of the file is then numbered with the lower half of a kernel pointer instead of 0.
The list is empty when the local quota file header claims the file has no chunks. ocfs2_local_read_info() takes dqi_chunks from that header without validating it, so an image with dqi_chunks == 0 takes this path when the first quota entry is allocated.
ocfs2_create_local_dquot() turns the bad number into a file offset with ol_dqblk_off(), which shifts a 32-bit block number left by the block size bits, so the top bits of such a large block number are lost. ocfs2_local_release_dquot() turns the offset back into a bit index with ol_dqblk_chunk_off(), using the full chunk number, so the lost bits push that index far outside the bitmap, and clearing it corrupts unrelated memory.
Compute the chunk number before putting the chunk on the list, and use 0 when the list is empty.
Executive ViewAI
A high-severity flaw in the Linux kernel's OCFS2 file system (CVE-2026-99430) allows a privileged local user to corrupt kernel memory by mounting a crafted disk image, potentially leading to system crashes or instability. While no public exploit code is identified, the vulnerability affects organizations relying on OCFS2 for shared storage or removable media, and a vendor patch is now available. Leadership should prioritize patching because an attacker with mount privileges could disrupt critical systems, although the requirement for CAP_SYS_ADMIN somewhat limits the attack surface.
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
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-130096
GHSA-7vhf-83c4-h86c
NVD
CVE.org
EPSS
VulDB
Exploit-DB