Skip to main content

Linux Kernel ocfs2 CVE-2026-89493

| EUVDEUVD-2026-76399 HIGH
2026-09-11 Linux GHSA-8g63-4gj4-crp5
8.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Gain CAP_SYS_ADMIN on target
  2. Delivery
    Craft ocfs2 image with rl_used=0xffff refcount block
  3. Exploit
    Mount image or write to live block device
  4. Install
    Issue FICLONE reflink to trigger refcount walk
  5. C2
    ocfs2_find_refcount_rec_in_rl() reads 65534 records past block end
  6. Execute
    ocfs2_insert_refcount_rec() memmoves ~1 MiB past block boundary
  7. Impact
    Kernel heap corruption / crash / potential code execution

Vulnerability Assessment

Exploitation Conditions

Exploitation requires CAP_SYS_ADMIN (typically root) on the local system to either mount a crafted or corrupted ocfs2 filesystem image, or perform a raw write to the block device of an already-mounted ocfs2 filesystem. The kernel must have ocfs2 compiled in or available as a loadable module (CONFIG_OCFS2_FS). The triggering operation is a FICLONE reflink against a file whose extent cpos is arranged to sort past all valid refcount records in the crafted leaf block. No network access path exists. No user interaction beyond the attacker's own privileged actions is needed. The attack is limited to: local access, high privilege (CAP_SYS_ADMIN), and a specifically crafted or corrupted ocfs2 image - ruling out remote exploitation entirely and limiting applicability to storage administrators or compromised privileged accounts.

Impact

The provided CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N (score 8.8) substantially overstates the real-world risk. The description explicitly states the attacker model is local and requires either CAP_SYS_ADMIN to mount a crafted image, or raw write access to an already-mounted block device - both high-privilege operations. AV:N is incorrect; this is an AV:L attack. PR:L also does not reflect the CAP_SYS_ADMIN requirement. A more representative vector is CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (~6.7). EPSS at 0.20% (10th percentile) aligns with local-only, privilege-requiring exploitation. No CISA KEV listing and no public POC confirm this is not under active exploitation. SSVC assessment: Exploitation=none, Automatable=No (requires privileged local access), Technical Impact=Total (memory corruption reaching kernel heap). Priority for most environments: defer patching to normal kernel update cycle. Priority for environments where untrusted users have access to mount filesystems or raw block devices (container hosts, cloud storage backends, lab clusters): elevated.

Exploit ScenarioDerived

An attacker with CAP_SYS_ADMIN constructs an ocfs2 disk image in which a refcount block's rl_used field is set to 0xffff. After mounting the image (or writing it directly to the backing block device of an existing mount), they issue a FICLONE reflink operation targeting a file whose extent cpos sorts past all valid refcount records in the crafted leaf. The kernel walks 65534 iterations past the block boundary in ocfs2_find_refcount_rec_in_rl(), then calls ocfs2_insert_refcount_rec() with the out-of-bounds index, triggering a memmove of approximately 1 MiB from off-block memory - corrupting kernel heap structures and causing a crash or potential code execution.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 13, 2026

Out-of-bounds read and write in the Linux kernel's ocfs2 refcount block validator allows a local privileged attacker to corrupt kernel memory via a crafted or corrupted filesystem image. The ocfs2_validate_refcount_block() function fails to validate rl_used and rl_count fields against the actual fixed per-block capacity before refcount/reflink/CoW operations walk the record array, allowing a crafted rl_used == 0xffff to drive the loop 65534 iterations past the end of the 4096-byte metadata block. A subsequent memmove() of up to ~1 MiB from an already out-of-bounds offset in ocfs2_insert_refcount_rec() can corrupt arbitrary kernel memory. No public exploit and no KEV listing; EPSS is 0.20% reflecting realistic low exploitation probability.

RemediationAI

Upgrade to a kernel version containing one of the four backported fixes: Linux 6.12.109, 6.18.50, 7.2.4, or 7.3-rc1, available via the kernel stable tree at https://git.kernel.org/stable/c/af56e90cb546cb0c47bef059335365283f61d6a4 and sibling commits. Distribution vendors (RHEL, SUSE, Ubuntu) are expected to backport to their supported kernels. If patching is not immediately possible, the primary compensating control is to restrict CAP_SYS_ADMIN and raw block device write access to trusted administrators only - this eliminates the attacker's ability to introduce a crafted image. In container environments, prevent unprivileged users from mounting loop devices. Disabling ocfs2 entirely (modprobe -r ocfs2 or adding it to a module deny list) is viable on hosts that do not use cluster filesystems, with the trade-off of breaking any existing ocfs2 mounts. KASAN-enabled debug kernels reliably detect the corruption, which can assist in validating patch application.

Affected VersionsENISA

Linux patch: 7.2.4
Linux f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 <af56e90cb546cb0c47bef059335365283f61d6a4
Linux 2.6.32
Linux patch: 7.3-rc1
Linux patch: 6.18.50
Linux f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 <4ca62df6bc0708947b48da3f6a712ecb8e73929c
Linux patch: 0
Linux patch: 6.12.109
Linux f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 <0761d2c9494424469a0d30a9da3496ca010b0b2d
Linux f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 <04ead708e13ddcb9c39319cbe02a18cef99cb823

Affected Packages

euvd linux no fix

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 (Oracle Cluster Filesystem v2) stores refcount records in on-disk metadata blocks whose real capacity is fixed by ocfs2_refcount_recs_per_rb() - 247 records for a 4 KiB block using the 16-byte ocfs2_refcount_rec struct. The ocfs2_refcount_list header embeds two 16-bit counters: rl_count (total slots) and rl_used (populated entries). ocfs2_validate_refcount_block() already checks ECC, signature, rf_blkno, and rf_fs_generation, but never validates rl_count against the computed per-block capacity nor verifies rl_used <= rl_count. The sibling function ocfs2_validate_extent_block() already performs exactly these two checks for h_list.l_count/l_next_free_rec, representing the established pattern this fix extends. The vulnerability class is CWE-125 (out-of-bounds read) leading into CWE-787 (out-of-bounds write via memmove), triggered during a standard FICLONE (reflink) syscall that exercises __ocfs2_increase_refcount() → ocfs2_find_refcount_rec_in_rl() → ocfs2_insert_refcount_rec(). Affected CPE: cpe:2.3:a:linux:linux from commit f2c870e3b12e onward.

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

Vendor (Linux) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.7 MEDIUM

Description explicitly requires CAP_SYS_ADMIN (PR:H) and local filesystem/block-device access (AV:L); no network path exists.

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

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Sep 13, 2026 - 07:22 NVD
8.8 (HIGH)
Patch available
Sep 11, 2026 - 21:18 EUVD
CVE Published
Sep 11, 2026 - 19:43 cve.org
HIGH 8.8
CVE Published
Sep 11, 2026 - 19:43 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

ocfs2: validate rl_used against rl_count in refcount block validator

ocfs2_find_refcount_rec_in_rl() walks the on-disk refcount record array with:

for (; i < le16_to_cpu(rb->rf_records.rl_used); i++) { rec = &rb->rf_records.rl_recs[i]; ...

rl_recs[] lives in a single metadata block (4096 bytes on the common configuration), so its real capacity is fixed by ocfs2_refcount_recs_per_rb(sb) (247 records for a 4K block with the 16-byte ocfs2_refcount_rec). rl_used and rl_count are both read directly off disk by ocfs2_validate_refcount_block() and are never checked against that capacity, nor against each other, before any refcount/reflink/CoW operation walks the array.

A crafted (or corrupted) refcount block with rl_used == 0xffff makes the loop above walk far past the end of the block, dereferencing rl_recs[i] for i up to 65534. The resulting index is then handed to the sibling ocfs2_insert_refcount_rec(), whose insert-shift does:

if (index < le16_to_cpu(rf_list->rl_used)) memmove(&rf_list->rl_recs[index + 1], &rf_list->rl_recs[index], (le16_to_cpu(rf_list->rl_used) - index) * sizeof(struct ocfs2_refcount_rec));

i.e. a memmove() of up to (0xffff - index) * 16 bytes (~1 MiB) from an offset already past the block. This is reachable from an ordinary reflink (FICLONE) against a crafted/corrupted ocfs2 image: attaching an extent whose cpos sorts past every real record in the leaf forces the lookup to run off the end instead of returning early on a match. The attacker model is local: CAP_SYS_ADMIN mounting a crafted or corrupted ocfs2 image, or a raw write to the block device backing an already-mounted ocfs2 filesystem.

ocfs2_validate_refcount_block() already validates the block's ECC, signature, rf_blkno and rf_fs_generation, but never rl_count/rl_used against the block's actual on-disk capacity. This is the same class of gap that ocfs2_validate_extent_block() (fs/ocfs2/alloc.c) already closes for the sibling extent-list header, which checks both the record capacity and the "used" bound before any code walks h_list.l_recs[]:

if (le16_to_cpu(eb->h_list.l_count) != ocfs2_extent_recs_per_eb(sb)) { rc = ocfs2_error(...); goto bail; }

if (le16_to_cpu(eb->h_list.l_next_free_rec) > le16_to_cpu(eb->h_list.l_count)) { rc = ocfs2_error(...); goto bail; }

Add the equivalent pair of checks to ocfs2_validate_refcount_block(): reject a refcount block whose rl_count does not match the fixed per-block capacity returned by ocfs2_refcount_recs_per_rb(), and reject rl_used > rl_count. Both checks are skipped when OCFS2_REFCOUNT_TREE_FL is set, because in that case the same union bytes hold an ocfs2_extent_list (rf_list), not the refcount record list (rf_records) -- that layout is already validated separately by ocfs2_validate_extent_block() when the referenced extent block is read. This mirrors the existing "!(rb->rf_flags & OCFS2_REFCOUNT_TREE_FL)" guard used elsewhere in this file (e.g. ocfs2_get_refcount_rec()) to decide whether rf_records or rf_list is the live member of the union.

With this in place, a forged rl_used/rl_count is caught at block validation time (ocfs2_error()), consistent with every other corruption check in this function, instead of driving an out-of-bounds read in ocfs2_find_refcount_rec_in_rl() and a subsequent out-of-bounds memmove() in ocfs2_insert_refcount_rec().

Verified against a crafted image on a v6.19 KASAN (KASAN_GENERIC) build: replaying the same reflink (FICLONE) reliably hit a KASAN report in __ocfs2_increase_refcount()/ocfs2_insert_refcount_rec() before this patch, and triggers no report once ocfs2_validate_refcount_block() rejects the forged rl_used/rl_count.

Executive ViewAI

Why It Matters

A memory corruption vulnerability in Linux kernel's ocfs2 filesystem allows local privileged users to compromise system integrity through a specially crafted filesystem image. Organizations using ocfs2 in production-particularly Oracle RAC clusters and shared storage environments-face potential data corruption, service disruption, and privilege escalation risks. Exploitation is currently limited by low real-world probability (EPSS 0.2%), but vendor patches are available and should be prioritized for clustered deployments.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patching is complete, restrict administrative and mount privileges to trusted system personnel only; disable ocfs2 volumes where operationally feasible; maintain offline backups of critical ocfs2 metadata to enable recovery from potential kernel memory corruption. Monitor kernel and ocfs2 audit logs for refcount block validation failures, which may indicate exploitation or filesystem integrity issues.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
ocfs2 is a niche Oracle cluster filesystem, rarely deployed outside specific enterprise cluster 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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

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.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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