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

ocfs2: fix out-of-bounds write in ocfs2_remove_refcount_extent

[BUG]
Unlinking a refcounted file whose refcount tree has leaf blocks
triggers a fortify panic due to an out-of-bounds write.

[CAUSE]
When the last leaf block is removed from a refcount tree,
ocfs2_remove_refcount_extent() converts the root back to leaf mode
with a bulk memset on &rb->rf_records. rf_records sits in an anonymous
union with rf_list. rf_list.l_tree_depth aliases rf_records.rl_count,
and is 0 for a single-level tree. With rl_count equal to 0, the memset
writes past the 16-byte declared size of rf_records, which the fortify
checker catches.

[FIX]
Replace the bulk memset on &rb->rf_records with a correctly-bounded
memset on rl_recs[] alone, after setting rl_count to the correct value.
Published: 2026-08-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An out‑of‑bounds write occurs in the kernel's ocfs2_remove_refcount_extent function when a refcounted file’s leaf block is removed. The bug triggers a fortify panic and a kernel crash, which could allow a local attacker to cause a denial of service or potentially execute code if the overflow is exploited to control kernel data structures.

Affected Systems

The vulnerability affects the Linux kernel’s OCFS2 (Open Cluster File System) implementation. No specific kernel release numbers are given in the data, so any kernel version including OCFS2 that has not applied the reported patch may be affected.

Risk and Exploitability

The exploit requires local access to the system and the ability to alter OCFS2 refcounted files. No EPSS score or CVSS value is provided, and the flaw is not listed in the CISA KEV catalog, suggesting limited existing exploitation reports. However, the nature of a kernel crash means that any successful exploitation would result in a system reboot or the need for a reboot, representing a high impact if an attacker can trigger the condition.

Generated by OpenCVE AI on August 28, 2026 at 09:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the commit 1ec3cca2d8b6b9ff6584ca626d4c8918bbf48d44 or f5255516ec7add3a6d5d37853ad5a9a9ddb14305 that implements the fix.
  • Rebuild the kernel from patched source or apply the patch to the kernel tree before compiling, then reboot into the updated kernel.
  • If an immediate update is not possible, unmount any OCFS2 file systems or mount them read‑only until the patch has been applied to limit the opportunity for an attacker to manipulate refcounted files.

Generated by OpenCVE AI on August 28, 2026 at 09:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 09:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-787

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix out-of-bounds write in ocfs2_remove_refcount_extent [BUG] Unlinking a refcounted file whose refcount tree has leaf blocks triggers a fortify panic due to an out-of-bounds write. [CAUSE] When the last leaf block is removed from a refcount tree, ocfs2_remove_refcount_extent() converts the root back to leaf mode with a bulk memset on &rb->rf_records. rf_records sits in an anonymous union with rf_list. rf_list.l_tree_depth aliases rf_records.rl_count, and is 0 for a single-level tree. With rl_count equal to 0, the memset writes past the 16-byte declared size of rf_records, which the fortify checker catches. [FIX] Replace the bulk memset on &rb->rf_records with a correctly-bounded memset on rl_recs[] alone, after setting rl_count to the correct value.
Title ocfs2: fix out-of-bounds write in ocfs2_remove_refcount_extent
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-28T06:48:51.439Z

Reserved: 2026-08-26T14:34:25.777Z

Link: CVE-2026-80638

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:48.720

Modified: 2026-08-28T08:16:48.720

Link: CVE-2026-80638

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T09:30:18Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-787

    Out-of-bounds Write