Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malformed ocfs2 image
-
DeliveryVictim mounts crafted filesystem
-
ExploitCreate inode triggering quota extension
-
ExecutionMap already-cached logical block
-
ImpactHit BUG_ON kernel panic
Vulnerability Assessment
| Exploitation Conditions | Requires the attacker to get a crafted/malformed ocfs2 image mounted (ocfs2 support enabled in the kernel and a mount action - e.g. local mount privilege or automount of attacker-supplied removable media), followed by a quota-triggering operation such as creating an inode/directory (mkdir) that drives ocfs2_acquire_dquot → ocfs2_create_local_dquot → ocfs2_extend_local_quota_file. Limiting factors: local attack vector only (no remote path), user interaction needed to mount the malicious filesystem, impact limited to the host that mounts the image, and systems without ocfs2 in use are unaffected. The specific precondition is a local quota file header whose dqi_chunks/dqi_blocks do not fit the chunk layout or exceed i_size. |
| Impact | Signals are consistent and point to a genuine-but-bounded local issue rather than a mass-exploitation emergency. The supplied CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H = 7.8 HIGH) describes a LOCAL attack that requires user interaction, which fits the described trigger: an attacker must get a crafted ocfs2 image mounted and then perform an inode-creating operation (the trace shows ocfs2_mkdir → ocfs2_acquire_dquot → ocfs2_create_local_dquot → ocfs2_extend_local_quota_file). The confirmed outcome in the evidence is a kernel BUG_ON at fs/ocfs2/uptodate.c:509 - i.e. a kernel panic / denial of service; the C:H/I:H vector elements reflect the standard worst-case scoring for kernel metadata-cache confusion, but the sources only demonstrate the BUG_ON crash, not an information-disclosure or code-execution primitive. EPSS is low (0.20%, 10th percentile), the CVE is NOT in CISA KEV, and no public exploit is identified, so there is no evidence of active or widespread exploitation. The vuln.today decision label is 'this_week', consistent with a patch-available, low-EPSS, local-only kernel flaw - treat it as routine kernel patching, prioritized for systems that actually use ocfs2 or that auto-mount untrusted removable media. Note a tag/mechanism conflict: the input tags this as 'Information Disclosure', but the described mechanism is a BUG_ON panic (availability/memory-safety), not disclosure - verify intended impact classification. |
| Exploit ScenarioDerived | An attacker crafts a malformed ocfs2 filesystem image whose local quota header advertises inconsistent counts (e.g. dqi_blocks = 1, chunk 0 dqc_free = 0) and gets a victim to mount it - for example via removable media or an automount path. When a subsequent operation creates a quota record (such as mkdir), ocfs2_extend_local_quota_file() maps a logical block already cached in the inode's metadata cache, and ocfs2_set_new_buffer_uptodate() hits BUG_ON(ocfs2_buffer_cached()), panicking the kernel. No public exploit code is identified and syzbot reports no reproducer, though the author reproduced the crash with a hand-crafted image. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
A crafted ocfs2 local quota file header can crash the Linux kernel: ocfs2_local_read_info() trusts the dqi_chunks and dqi_blocks counts without checking them against the chunk layout or the inode size, so a header with a tiny dqi_blocks drives ocfs2_extend_local_quota_file() (and ocfs2_local_quota_add_chunk()) to compute a bogus chunk length and map a logical block that is already cached in the inode's metadata cache. That path reaches a BUG_ON(ocfs2_buffer_cached()) in fs/ocfs2/uptodate.c, producing a kernel BUG while mounting/using a malicious image and then performing a quota-triggering operation such as mkdir. The assessed vector is local (AV:L/AC:L/PR:N/UI:R), requiring a user to mount an attacker-supplied ocfs2 image, so exposure is limited to hosts that mount untrusted ocfs2 filesystems; EPSS is 0.20% (10th percentile), no public exploit code was identified at time of analysis, and vendor fixes are available in the listed stable branches.
RemediationAI
Apply the upstream ocfs2 fix through your distribution's kernel update: the validating change is present in stable releases 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 and 7.4-rc1, with the individual stable commits linked from https://nvd.nist.gov/vuln/detail/CVE-2026-139389 (for example https://git.kernel.org/stable/c/0a6b9398588bc689e1bd7753b61cf2f7880ec3a2 and https://git.kernel.org/stable/c/e1ea7a8462b9c3495bd51d2953b4c6f767864ba6); vendor patch availability is confirmed. Because the only trigger path is mounting a malicious ocfs2 image followed by a quota-triggering operation, hosts that do not need ocfs2 should blacklist the module (modprobe.blacklist=ocfs2, or remove the ocfs2 module package) - the trade-off is that ocfs2 volumes can no longer be mounted at all. Where ocfs2 is required, restrict mounts of removable or untrusted media to trusted administrators and treat any attacker-supplied ocfs2 image as hostile until the patched kernel is running; note that this reduces but does not eliminate exposure, and the crash occurs while creating inodes on a quota-enabled volume, so validating images before mount is the practical compensating control. Kernel crash dumps or a reboot are expected after a successful trigger on an unpatched system.
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 keeps per-inode local quota accounting in a dedicated quota file whose header carries dqi_chunks (number of chunk records) and dqi_blocks (file size in blocks). The upstream fix notes that ocfs2_local_read_info() trusted both fields, so a header whose counts do not fit the chunk layout or exceed i_size could be processed. When dqi_blocks is too small, ocfs2_extend_local_quota_file() derives an incorrect chunk length, extends the quota file, and then maps logical block dqi_blocks - a block already resident in the inode's metadata cache because it was the header or a chunk header read at mount. sb_getblk() returns that cached buffer, and ocfs2_set_new_buffer_uptodate() then trips BUG_ON(ocfs2_buffer_cached()) at fs/ocfs2/uptodate.c:509. The reported call chain is ocfs2_extend_local_quota_file → ocfs2_create_local_dquot → ocfs2_acquire_dquot → ocfs2_get_init_inode → ocfs2_mkdir, and ocfs2_local_quota_add_chunk() has the same exposure. No CWE was assigned in the supplied data; the root cause class is missing validation of on-disk metadata fields (untrusted filesystem input) rather than a memory-safety bug in the classic sense. The trigger requires a mounted ocfs2 volume with local quota in use; the credited reproduction used a crafted image with dqi_blocks = 1 and chunk 0 dqc_free = 0, while syzbot has no reproducer for the report.
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 mount of a crafted image (AV:L, UI:R); no prior privilege beyond the mount action (PR:N); deterministic BUG_ON gives A:H, with C:H/I:H retained for worst-case kernel metadata-cache confusion.
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:
ocfs2: validate chunk and block counts of the local quota file
ocfs2_local_read_info() trusts dqi_chunks and dqi_blocks from the local quota file header. If dqi_blocks is too small, ocfs2_extend_local_quota_file() computes a bogus chunk length, extends the file, and maps logical block dqi_blocks, which is already in the inode's metadata cache (the header or a chunk header read at mount). sb_getblk() returns that cached buffer and ocfs2_set_new_buffer_uptodate() hits BUG_ON(ocfs2_buffer_cached()):
kernel BUG at fs/ocfs2/uptodate.c:509! ocfs2_extend_local_quota_file+0x45c/0x1100 ocfs2_create_local_dquot+0x8ac/0xb50 ocfs2_acquire_dquot+0x614/0xae0 ocfs2_get_init_inode+0xe9/0x1b0 ocfs2_mkdir+0x174/0x430
ocfs2_local_quota_add_chunk() has the same exposure.
Reject a header whose counts don't fit the chunk layout or exceed i_size.
Reproduced with a crafted image (dqi_blocks = 1, chunk 0 dqc_free = 0); syzbot has no reproducer for this report.
Executive ViewAI
A high-severity kernel flaw in the Linux ocfs2 filesystem (CVE-2026-139389) allows a crafted quota file header in an attacker-supplied image to crash the kernel with a BUG during routine operations like mkdir. Impact is confined to systems that mount untrusted or externally-sourced ocfs2 volumes, so leadership attention should center on identifying any such usage and confirming patched kernels are deployed across fleet. Exploitation requires a user to mount a malicious image locally, and no public exploit code is currently known.
Vendor-released patch: available in the listed stable branches per vendor advisory.
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-139094
GHSA-fmh5-mghg-6p82
NVD
CVE.org
EPSS
Exploit-DB