CVE-2026-93258

ocfs2: do not use make_bad_inode() in ocfs2_read_inode_block_full()

Published Sep 24, 2026 CVSS n/a EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ocfs2: do not use make_bad_inode() in ocfs2_read_inode_block_full()

This reverts commit 58b6fcd2ab34 ("ocfs2: mark inode bad upon validation
failure during read").

Since 'make_bad_inode()' resets inode type to S_IFREG, doing this for
directory inode during active VFS lookup is likely to confuse the latter,
including VFS_BUG_ON_INODE() triggered in this case.

Analysis

AI-generated

Technical impact

In the Linux kernel, a flaw in the ocfs2 filesystem module caused the ocfs2_read_inode_block_full function to call make_bad_inode, which resets an inode’s type to a regular file. This misleads the VFS lookup process and can trigger a VFS_BUG_ON_INODE assertion, resulting in a kernel panic. The crash can disrupt system availability and, if an attacker can force the fault, may provide a local privilege escalation path.

Affected Systems

All Linux kernel distributions that include the ocfs2 filesystem are impacted. The bug was introduced by commit 58b6fcd2ab34 and was subsequently reverted. No specific kernel version range is listed, so any kernel containing the faulty code path is potentially vulnerable. The issue surfaces when a directory inode on an ocfs2 volume is accessed during an active VFS lookup.

Risk and Exploitability

The CVSS score is not disclosed, and the EPSS value is unknown, so the exploitation probability remains unclear from public data. The vulnerability is not cataloged in CISA’s KEV list. The attack vector is local, requiring the ability to mount or access an ocfs2 filesystem and trigger inode validation logic. Because the defect can lead to a kernel crash, it presents a high severity risk to system availability and may enable privilege escalation if an attacker can drive the fault condition.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Linux kernel or distribution update that removes the faulty make_bad_inode call from ocfs2_read_inode_block_full()
  • Restrict mount and unmount rights for ocfs2 volumes to only privileged users or services to limit local access that could trigger the bug
  • If a timely kernel upgrade is not possible, migrate critical data off ocfs2 or remount the filesystem as read‑only to avoid the buggy code path

Generated by OpenCVE AI on September 25, 2026 at 08:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-398
CWE-400
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ocfs2: do not use make_bad_inode() in ocfs2_read_inode_block_full() This reverts commit 58b6fcd2ab34 ("ocfs2: mark inode bad upon validation failure during read"). Since 'make_bad_inode()' resets inode type to S_IFREG, doing this for directory inode during active VFS lookup is likely to confuse the latter, including VFS_BUG_ON_INODE() triggered in this case.
Title ocfs2: do not use make_bad_inode() in ocfs2_read_inode_block_full()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:08 AM
Reserved
Sep 17, 2026, 4:02 PM
Status
Received
Published
Sep 24, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:17 AM