{"id":"CVE-2026-72161","summary":"ocfs2: add journal NULL check in ocfs2_checkpoint_inode()","details":"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-\u003ejournal to NULL. Later, when VFS evicts remaining cached inodes,\nocfs2_evict_inode() -\u003e ocfs2_clear_inode() -\u003e ocfs2_checkpoint_inode()\n-\u003e ocfs2_ci_fully_checkpointed() dereferences osb-\u003ejournal, causing a\nNULL pointer dereference.\n\nFix this by adding a NULL check for osb-\u003ejournal 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.","modified":"2026-08-18T03:31:01.829772895Z","published":"2026-08-15T05:53:29.670Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72161.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/24daf13422e8328fd588c34a017bdef1949910e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/499714de42ab4d2e778cbb10186684142a1222eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63921f790234b221e4b15c56c72888b13250f81d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7da7e4ac21895fe34cceffcfc99497cc2750da99"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a291c77c034b7a81849ce9b71cc9ecda9e587d89"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb6a13834c23e291f1170cb1b489ec255edfa5a3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72161.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72161"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"da5e7c87827e8caa6a1eeec6d95dcf74ab592a01"},{"fixed":"24daf13422e8328fd588c34a017bdef1949910e8"},{"fixed":"7da7e4ac21895fe34cceffcfc99497cc2750da99"},{"fixed":"eb6a13834c23e291f1170cb1b489ec255edfa5a3"},{"fixed":"499714de42ab4d2e778cbb10186684142a1222eb"},{"fixed":"63921f790234b221e4b15c56c72888b13250f81d"},{"fixed":"a291c77c034b7a81849ce9b71cc9ecda9e587d89"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72161.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.178"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.97"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72161.json"}}],"schema_version":"1.9.0"}