Skip to main content

Linux Kernel ocfs2 CVE-2026-31596

| EUVDEUVD-2026-25489 MEDIUM
2026-04-24 Linux GHSA-hvjf-55rw-w8jm
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Mount crafted ocfs2 image locally
  2. Delivery
    Issue OCFS2_IOC_GROUP_EXTEND ioctl
  3. Exploit
    ocfs2_inode_lock() returns invalid dinode buffer via JBD2
  4. Execution
    BUG_ON assertion fires at resize.c:308
  5. Impact
    Kernel panic crashes host

Vulnerability Assessment

Exploitation Conditions

Exploitation requires: (1) local system access with at minimum low-privilege credentials (PR:L per CVSS); (2) the ability to mount a crafted ocfs2 filesystem image or access an existing ocfs2 volume whose global bitmap inode block has been corrupted or specially crafted to contain an invalid dinode signature; and (3) invocation of the OCFS2_IOC_GROUP_EXTEND ioctl on that volume, reachable via ocfs2_ioctl(). On hardened systems, mounting filesystems may require CAP_SYS_ADMIN or explicit mount permissions, raising the effective privilege bar above unprivileged. Systems not running ocfs2 - the large majority of Linux deployments - are completely unaffected regardless of kernel version. Exploitation is further limited to x86-64 hosts (oops trace shows x64_sys_call path) and does not produce code execution: the only outcome is a kernel panic (availability impact only).

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) scores 5.5 (Medium), accurately capturing the local-only attack vector, low access complexity once a crafted image is available, and high availability impact (kernel crash). These metrics are internally consistent with the description: the attack is entirely local, requires no interaction from other users, and results in a system crash with no data exfiltration or tampering. EPSS at 0.02% (5th percentile) corroborates low real-world exploitation interest - consistent with the narrow exploitation conditions. The vulnerability is not in CISA KEV, and no public POC has been identified. The primary practical limitation is that triggering this requires local access, the ability to supply or interact with a crafted ocfs2 volume, and invocation of the resize ioctl; systems not running ocfs2 are entirely unaffected. This is a genuine but bounded DoS risk: high impact on availability if triggered, but narrow realistic attacker population. Priority should be moderate for environments running ocfs2 in multi-tenant or untrusted-user contexts.

Exploit ScenarioDerived

A local user with low-privilege access crafts or obtains an ocfs2 filesystem image where the global bitmap inode block contains an invalid (non-dinode) signature. After mounting the image, the user invokes the OCFS2_IOC_GROUP_EXTEND ioctl to trigger a resize operation; the JBD2 layer returns the invalid block to ocfs2_group_extend(), which hits the BUG_ON assertion at resize.c:308, crashing the kernel and bringing down the host. The kernel oops trace embedded in the CVE description effectively documents the crash path, though no standalone public POC has been identified.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Kernel panic in the Linux kernel's ocfs2 (Oracle Cluster File System 2) resize path allows a local low-privileged user to crash the system via a crafted filesystem image. The ocfs2_group_extend() function in fs/ocfs2/resize.c:308 unconditionally asserts that the global bitmap buffer contains a valid dinode signature using BUG_ON, but the JBD2 journaling layer's buffer path bypasses structural validation, permitting an invalid dinode to reach the resize ioctl and trigger a kernel BUG. No active exploitation is confirmed (not in CISA KEV), and EPSS stands at 0.02% (5th percentile), reflecting minimal exploitation activity; patches are available across multiple stable kernel branches.

RemediationAI

The primary fix is to upgrade to a patched Linux kernel version: 6.12.83, 6.18.24, 6.19.14, or 7.0.1, as documented by upstream stable commits at git.kernel.org and EUVD-2026-25489. Ubuntu users should apply the kernel packages referenced in USN-8488-1 (https://ubuntu.com/security/notices/USN-8488-1). For distributions not yet shipping patched kernels, a highly effective compensating control is to prevent untrusted local users from mounting ocfs2 filesystems or issuing ioctl calls against ocfs2 volumes - restrict CAP_SYS_ADMIN and filesystem mount capabilities via systemd service hardening (NoNewPrivileges, PrivateMounts) or kernel lockdown. Systems where ocfs2 is not needed can blacklist the ocfs2 kernel module (add 'blacklist ocfs2' to /etc/modprobe.d/) at no functional cost. No workaround fully substitutes for patching on systems actively using ocfs2 in multi-tenant environments.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <41c6e9bc3a09539deab43957a3211d902a4818f0
Linux patch: 6.19.14
Linux patch: 6.18.24
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <911b557dd7817460881fd51a03069b539c674d0e
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e384a850a3370d89a7a446cdeccd964bfba2a302
Linux patch: 7.0.1
Linux patch: 6.12.83
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <10fb72c47aac446f12a4ccd962c7daa60cc890a1

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ocfs2 is a shared-disk clustered filesystem included in the mainline Linux kernel, primarily deployed in Oracle RAC and similar clustered storage environments. The vulnerability is in fs/ocfs2/resize.c, specifically the ocfs2_group_extend() function invoked via the OCFS2_IOC_GROUP_EXTEND ioctl (reached through ocfs2_ioctl() at fs/ocfs2/ioctl.c:869). The function retrieves the global bitmap inode buffer via ocfs2_inode_lock() and then uses BUG_ON to assert the buffer holds a valid dinode - a hard kernel assertion that, when false, halts the kernel with an 'invalid opcode' oops rather than returning an error. The JBD2 (ext3/ext4/ocfs2 journaling layer) buffer path can supply structurally unvalidated blocks from disk, meaning a crafted filesystem can slip an invalid dinode past the lock path and reach the assertion. The root cause maps to CWE-617 (Reachable Assertion) combined with CWE-20 (Improper Input Validation) - the fix replaces BUG_ON with explicit dinode validation and graceful corruption reporting via ocfs2_error(). The CPE is cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local attack vector with low privileges required; crafted filesystem triggers kernel panic causing high availability impact with no confidentiality or integrity effects.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Apr 29, 2026 - 14:38 NVD
5.5 (MEDIUM)
Patch released
Apr 29, 2026 - 14:18 nvd
Patch available
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:42 nvd
MEDIUM 5.5

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

ocfs2: handle invalid dinode in ocfs2_group_extend

[BUG] kernel BUG at fs/ocfs2/resize.c:308! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI RIP: 0010:ocfs2_group_extend+0x10aa/0x1ae0 fs/ocfs2/resize.c:308 Code: 8b8520ff ffff83f8 860f8580 030000e8 5cc3c1fe Call Trace: ... ocfs2_ioctl+0x175/0x6e0 fs/ocfs2/ioctl.c:869 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x197/0x1e0 fs/ioctl.c:583 x64_sys_call+0x1144/0x26a0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x93/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x76/0x7e ...

[CAUSE] ocfs2_group_extend() assumes that the global bitmap inode block returned from ocfs2_inode_lock() has already been validated and BUG_ONs when the signature is not a dinode. That assumption is too strong for crafted filesystems because the JBD2-managed buffer path can bypass structural validation and return an invalid dinode to the resize ioctl.

[FIX] Validate the dinode explicitly in ocfs2_group_extend(). If the global bitmap buffer does not contain a valid dinode, report filesystem corruption with ocfs2_error() and fail the resize operation instead of crashing the kernel.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Prevalence
Low
ocfs2 is a niche Oracle clustered filesystem, rarely deployed outside Oracle RAC environments
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy