{"id":"CVE-2026-72161","state":"PUBLISHED","title":"ocfs2: add journal NULL check in ocfs2_checkpoint_inode()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: add journal NULL check in ocfs2_checkpoint_inode()\n\nDuring unmount, ocfs2_journal_shutdown() frees the journal and sets\nosb->journal to NULL. Later, when VFS evicts remaining cached inodes,\nocfs2_evict_inode() -> ocfs2_clear_inode() -> ocfs2_checkpoint_inode()\n-> ocfs2_ci_fully_checkpointed() dereferences osb->journal, causing a\nNULL pointer dereference.\n\nFix this by adding a NULL check for osb->journal in\nocfs2_checkpoint_inode(). If the journal is NULL, it has already been\nfully flushed and destroyed during shutdown, so there is nothing to\ncheckpoint.","publishedAt":"2026-08-15T05:53:29.670Z","updatedAt":"2026-08-17T05:09:21.902Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"da5e7c87827e8caa6a1eeec6d95dcf74ab592a01","status":"affected","lessThan":"24daf13422e8328fd588c34a017bdef1949910e8","versionType":"git"},{"version":"da5e7c87827e8caa6a1eeec6d95dcf74ab592a01","status":"affected","lessThan":"7da7e4ac21895fe34cceffcfc99497cc2750da99","versionType":"git"},{"version":"da5e7c87827e8caa6a1eeec6d95dcf74ab592a01","status":"affected","lessThan":"eb6a13834c23e291f1170cb1b489ec255edfa5a3","versionType":"git"},{"version":"da5e7c87827e8caa6a1eeec6d95dcf74ab592a01","status":"affected","lessThan":"499714de42ab4d2e778cbb10186684142a1222eb","versionType":"git"},{"version":"da5e7c87827e8caa6a1eeec6d95dcf74ab592a01","status":"affected","lessThan":"63921f790234b221e4b15c56c72888b13250f81d","versionType":"git"},{"version":"da5e7c87827e8caa6a1eeec6d95dcf74ab592a01","status":"affected","lessThan":"a291c77c034b7a81849ce9b71cc9ecda9e587d89","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ocfs2/journal.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ocfs2/journal.h"]}],"references":["https://git.kernel.org/stable/c/24daf13422e8328fd588c34a017bdef1949910e8","https://git.kernel.org/stable/c/7da7e4ac21895fe34cceffcfc99497cc2750da99","https://git.kernel.org/stable/c/eb6a13834c23e291f1170cb1b489ec255edfa5a3","https://git.kernel.org/stable/c/499714de42ab4d2e778cbb10186684142a1222eb","https://git.kernel.org/stable/c/63921f790234b221e4b15c56c72888b13250f81d","https://git.kernel.org/stable/c/a291c77c034b7a81849ce9b71cc9ecda9e587d89"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72161.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72161","state":"PUBLISHED","datePublished":"2026-08-15T05:53:29.670Z","dateUpdated":"2026-08-17T05:09:21.902Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.909Z"},"containers":{"cna":{"title":"ocfs2: add journal NULL check in ocfs2_checkpoint_inode()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: add journal NULL check in ocfs2_checkpoint_inode()\n\nDuring unmount, ocfs2_journal_shutdown() frees the journal and sets\nosb->journal to NULL. Later, when VFS evicts remaining cached inodes,\nocfs2_evict_inode() -> ocfs2_clear_inode() -> ocfs2_checkpoint_inode()\n-> ocfs2_ci_fully_checkpointed() dereferences osb->journal, causing a\nNULL pointer dereference.\n\nFix this by adding a NULL check for osb->journal in\nocfs2_checkpoint_inode(). If the journal is NULL, it has already been\nfully flushed and destroyed during shutdown, so there is nothing to\ncheckpoint."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"da5e7c87827e8caa6a1eeec6d95dcf74ab592a01","status":"affected","lessThan":"24daf13422e8328fd588c34a017bdef1949910e8","versionType":"git"},{"version":"da5e7c87827e8caa6a1eeec6d95dcf74ab592a01","status":"affected","lessThan":"7da7e4ac21895fe34cceffcfc99497cc2750da99","versionType":"git"},{"version":"da5e7c87827e8caa6a1eeec6d95dcf74ab592a01","status":"affected","lessThan":"eb6a13834c23e291f1170cb1b489ec255edfa5a3","versionType":"git"},{"version":"da5e7c87827e8caa6a1eeec6d95dcf74ab592a01","status":"affected","lessThan":"499714de42ab4d2e778cbb10186684142a1222eb","versionType":"git"},{"version":"da5e7c87827e8caa6a1eeec6d95dcf74ab592a01","status":"affected","lessThan":"63921f790234b221e4b15c56c72888b13250f81d","versionType":"git"},{"version":"da5e7c87827e8caa6a1eeec6d95dcf74ab592a01","status":"affected","lessThan":"a291c77c034b7a81849ce9b71cc9ecda9e587d89","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ocfs2/journal.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ocfs2/journal.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/24daf13422e8328fd588c34a017bdef1949910e8"},{"url":"https://git.kernel.org/stable/c/7da7e4ac21895fe34cceffcfc99497cc2750da99"},{"url":"https://git.kernel.org/stable/c/eb6a13834c23e291f1170cb1b489ec255edfa5a3"},{"url":"https://git.kernel.org/stable/c/499714de42ab4d2e778cbb10186684142a1222eb"},{"url":"https://git.kernel.org/stable/c/63921f790234b221e4b15c56c72888b13250f81d"},{"url":"https://git.kernel.org/stable/c/a291c77c034b7a81849ce9b71cc9ecda9e587d89"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:09:21.902Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}