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

ocfs2: add journal NULL check in ocfs2_checkpoint_inode()

During unmount, ocfs2_journal_shutdown() frees the journal and sets
osb->journal to NULL. Later, when VFS evicts remaining cached inodes,
ocfs2_evict_inode() -> ocfs2_clear_inode() -> ocfs2_checkpoint_inode()
-> ocfs2_ci_fully_checkpointed() dereferences osb->journal, causing a
NULL pointer dereference.

Fix this by adding a NULL check for osb->journal in
ocfs2_checkpoint_inode(). If the journal is NULL, it has already been
fully flushed and destroyed during shutdown, so there is nothing to
checkpoint.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw resides in the OCFS2 file system implementation in the Linux kernel. During shutdown, the journal reference is cleared, yet a later inode eviction path continues to dereference that pointer without a null check. An attacker that can trigger this unmount sequence may cause the kernel to dereference a null pointer, leading to a system crash and denial of service. This weakness is a classic NULL pointer dereference (CWE‑476).

Affected Systems

The vulnerability exists in the Linux kernel’s OCFS2 module. All current releases that incorporate the legacy OCFS2 filesystem are potentially affected until the patch is applied, as no specific kernel version is listed.

Risk and Exploitability

Based on the description, it is inferred that the vulnerability can be triggered by forcing an OCFS2 filesystem to unmount, which would clear the journal pointer. An attacker with sufficient privileges to perform such an unmount—normally local or root-level—could then cause the kernel to dereference the now‑null pointer during inode eviction, leading to a crash. The CVSS score of 5.5 indicates moderate severity, and the EPSS score is less than 1%, indicating an extremely low probability of exploitation. However, the lack of a published exploit and the requirement of elevated local privileges suggest a moderate to high exploitation likelihood only in a privileged context. The vulnerability is not listed in the CISA KEV catalog, and no remote exploitation path is known.

Generated by OpenCVE AI on August 22, 2026 at 09:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to the latest stable release that contains the journal NULL‑check patch for the OCFS2 module.
  • If an immediate kernel update is not possible, detach or remount the OCFS2 filesystem and avoid unmount operations until the system can be rebooted or patched.
  • After applying the patch, reboot the system to ensure the kernel uses the updated code and monitor for any remaining null‑pointer exceptions in system logs.

Generated by OpenCVE AI on August 22, 2026 at 09:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 15 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ocfs2: add journal NULL check in ocfs2_checkpoint_inode() During unmount, ocfs2_journal_shutdown() frees the journal and sets osb->journal to NULL. Later, when VFS evicts remaining cached inodes, ocfs2_evict_inode() -> ocfs2_clear_inode() -> ocfs2_checkpoint_inode() -> ocfs2_ci_fully_checkpointed() dereferences osb->journal, causing a NULL pointer dereference. Fix this by adding a NULL check for osb->journal in ocfs2_checkpoint_inode(). If the journal is NULL, it has already been fully flushed and destroyed during shutdown, so there is nothing to checkpoint.
Title ocfs2: add journal NULL check in ocfs2_checkpoint_inode()
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-17T05:09:21.902Z

Reserved: 2026-08-09T03:40:39.909Z

Link: CVE-2026-72161

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:33.983

Modified: 2026-08-17T06:18:16.387

Link: CVE-2026-72161

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72161 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T09:45:04Z

Weaknesses