CVE-2026-72161

ocfs2: add journal NULL check in ocfs2_checkpoint_inode()

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 to before 24daf13422e8328fd588c34a017bdef1949910e8Affected
  • da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 to before 7da7e4ac21895fe34cceffcfc99497cc2750da99Affected
  • da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 to before eb6a13834c23e291f1170cb1b489ec255edfa5a3Affected
  • da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 to before 499714de42ab4d2e778cbb10186684142a1222ebAffected
  • da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 to before 63921f790234b221e4b15c56c72888b13250f81dAffected
  • da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 to before a291c77c034b7a81849ce9b71cc9ecda9e587d89Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.