CVE-2026-72161
ocfs2: add journal NULL check in ocfs2_checkpoint_inode()
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.
INFO
Published Date :
Aug. 15, 2026, 6:21 a.m.
Last Modified :
Aug. 17, 2026, 6:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Add NULL check for osb->journal in ocfs2_checkpoint_inode.
- Ensure journal is flushed and destroyed during shutdown.
- Checkpoint inode only if journal is not NULL.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72161.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72161 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72161
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72161 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72161 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': '24daf13422e8328fd588c34a017bdef1949910e8', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': '7da7e4ac21895fe34cceffcfc99497cc2750da99', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': 'eb6a13834c23e291f1170cb1b489ec255edfa5a3', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': '499714de42ab4d2e778cbb10186684142a1222eb', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': '63921f790234b221e4b15c56c72888b13250f81d', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': 'a291c77c034b7a81849ce9b71cc9ecda9e587d89', 'versionType': 'git'}], 'programFiles': ['fs/ocfs2/journal.h'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/ocfs2/journal.h'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': '24daf13422e8328fd588c34a017bdef1949910e8', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': '7da7e4ac21895fe34cceffcfc99497cc2750da99', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': 'eb6a13834c23e291f1170cb1b489ec255edfa5a3', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': '499714de42ab4d2e778cbb10186684142a1222eb', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': '63921f790234b221e4b15c56c72888b13250f81d', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': 'a291c77c034b7a81849ce9b71cc9ecda9e587d89', 'versionType': 'git'}], 'programFiles': ['fs/ocfs2/journal.h'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/ocfs2/journal.h'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': '24daf13422e8328fd588c34a017bdef1949910e8', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': '7da7e4ac21895fe34cceffcfc99497cc2750da99', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': 'eb6a13834c23e291f1170cb1b489ec255edfa5a3', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': '499714de42ab4d2e778cbb10186684142a1222eb', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': '63921f790234b221e4b15c56c72888b13250f81d', 'versionType': 'git'}, {'status': 'affected', 'version': 'da5e7c87827e8caa6a1eeec6d95dcf74ab592a01', 'lessThan': 'a291c77c034b7a81849ce9b71cc9ecda9e587d89', 'versionType': 'git'}], 'programFiles': ['fs/ocfs2/journal.h'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/ocfs2/journal.h'], 'defaultStatus': 'affected'}] 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. Added Reference https://git.kernel.org/stable/c/24daf13422e8328fd588c34a017bdef1949910e8 Added Reference https://git.kernel.org/stable/c/499714de42ab4d2e778cbb10186684142a1222eb Added Reference https://git.kernel.org/stable/c/63921f790234b221e4b15c56c72888b13250f81d Added Reference https://git.kernel.org/stable/c/7da7e4ac21895fe34cceffcfc99497cc2750da99 Added Reference https://git.kernel.org/stable/c/a291c77c034b7a81849ce9b71cc9ecda9e587d89 Added Reference https://git.kernel.org/stable/c/eb6a13834c23e291f1170cb1b489ec255edfa5a3