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

ocfs2: fix buffer head management in ocfs2_read_blocks()

In ocfs2_read_blocks(), caller should't assume that buffer head returned
by 'sb_getblk()' is exclusively owned and so 'put_bh()' always drops
b_count from 1 to 0. If it is not so, buffer head remains on hold and
likely to be returned by the next call to 'sb_getblk()' unchanged - that
is, with BH_Uptodate bit set even if it has failed validation previously,
thus allowing to insert that buffer head into OCFS2 metadata cache and
submit it to upper layers. To avoid such a scenario, BH_Uptodate should
be cleared immediately after 'validate()' callback has detected some data
inconsistency.
Published: 2026-09-04
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Data corruption
Action: Apply Patch
AI Analysis

Impact

ocfs2_read_blocks() assumes that a buffer head returned by sb_getblk() is exclusively owned, but this is not always true. When a buffer head is reused with its BH_Uptodate flag still set after a failed validation, the bad data can be inserted into the OCFS2 metadata cache and exposed to upper layers. The result is that corrupted metadata may be accepted by the filesystem, potentially leading to data corruption or a denial of service. This weakness is a form of improper initialization or resource mismanagement that can undermine the integrity of the storage system.

Affected Systems

The vulnerability affects all Linux kernels that include OCFS2 support. Any kernel build that has the ocfs2_read_blocks() implementation prior to the supplied patch is susceptible, regardless of distribution or specific kernel version. The issue is tied to the form of Linux kernel, and no specific product version list is provided in the advisory.

Risk and Exploitability

The CVSS score is not reported, but the lack of a valid EPSS score and absence from the CISA KEV catalog suggest that while the flaw is exploitable, its current exploitation probability may be moderate. The likely attack vector requires an attacker to influence the data returned to the kernel via OCFS2, which typically implies local or privileged access or control over the underlying block device. An attacker who can cause the kernel to accept stale, corrupted metadata could corrupt filesystem state, compromise data integrity, and cause service disruption, especially for systems relying on OCFS2 for clustered storage.

Generated by OpenCVE AI on September 4, 2026 at 21:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the fix for ocfs2_read_blocks (e.g., any release after the commit that cleared the BH_Uptodate flag after validation errors).
  • Disallow or minimize the use of OCFS2 mounts until the patch is applied, preventing the kernel from interacting with the vulnerable filesystem implementation.
  • After updating, reboot the system and run a filesystem check on all OCFS2 volumes to purge any stale or corrupted metadata that may have been cached before the patch.

Generated by OpenCVE AI on September 4, 2026 at 21:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665
CWE-775

Fri, 04 Sep 2026 17:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix buffer head management in ocfs2_read_blocks() In ocfs2_read_blocks(), caller should't assume that buffer head returned by 'sb_getblk()' is exclusively owned and so 'put_bh()' always drops b_count from 1 to 0. If it is not so, buffer head remains on hold and likely to be returned by the next call to 'sb_getblk()' unchanged - that is, with BH_Uptodate bit set even if it has failed validation previously, thus allowing to insert that buffer head into OCFS2 metadata cache and submit it to upper layers. To avoid such a scenario, BH_Uptodate should be cleared immediately after 'validate()' callback has detected some data inconsistency.
Title ocfs2: fix buffer head management in ocfs2_read_blocks()
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-09-04T16:49:11.758Z

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

Link: CVE-2026-80881

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T17:17:00.390

Modified: 2026-09-04T17:17:00.390

Link: CVE-2026-80881

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T01:15:14Z

Weaknesses
  • CWE-665

    Improper Initialization

  • CWE-775

    Missing Release of File Descriptor or Handle after Effective Lifetime