{"id":"CVE-2025-39842","published":"2025-09-19T15:26:17Z","modified":"2026-05-12T12:07:30Z","title":"ocfs2: prevent release journal inode after journal shutdown","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: prevent release journal inode after journal shutdown\n\nBefore calling ocfs2_delete_osb(), ocfs2_journal_shutdown() has already\nbeen executed in ocfs2_dismount_volume(), so osb->journal must be NULL. \nTherefore, the following calltrace will inevitably fail when it reaches\njbd2_journal_release_jbd_inode().\n\nocfs2_dismount_volume()->\n  ocfs2_delete_osb()->\n    ocfs2_free_slot_info()->\n      __ocfs2_free_slot_info()->\n        evict()->\n          ocfs2_evict_inode()->\n            ocfs2_clear_inode()->\n\t      jbd2_journal_release_jbd_inode(osb->journal->j_journal,\n\nAdding osb->journal checks will prevent null-ptr-deref during the above\nexecution path.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00246,"percentile":0.09591,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/42c415c53ad2065088cc411d08925effa5b3d255","tags":[]},{"url":"https://git.kernel.org/stable/c/e9188f66e94955431ddbe2cd1cdf8ff2bb486abf","tags":[]},{"url":"https://git.kernel.org/stable/c/f4a917e6cd6c798f7adf39907f117fc754db1283","tags":[]},{"url":"https://git.kernel.org/stable/c/85e66331b60601d903cceaf8c10a234db863cd78","tags":[]},{"url":"https://git.kernel.org/stable/c/f46e8ef8bb7b452584f2e75337b619ac51a7cadf","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.92}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= da5e7c87827e8caa6a1eeec6d95dcf74ab592a01, < 42c415c53ad2065088cc411d08925effa5b3d255",">= da5e7c87827e8caa6a1eeec6d95dcf74ab592a01, < e9188f66e94955431ddbe2cd1cdf8ff2bb486abf",">= da5e7c87827e8caa6a1eeec6d95dcf74ab592a01, < f4a917e6cd6c798f7adf39907f117fc754db1283",">= da5e7c87827e8caa6a1eeec6d95dcf74ab592a01, < 85e66331b60601d903cceaf8c10a234db863cd78",">= da5e7c87827e8caa6a1eeec6d95dcf74ab592a01, < f46e8ef8bb7b452584f2e75337b619ac51a7cadf"]},{"vendor":"Linux","product":"Linux","versions":["5.16"]}],"euvd":{"id":"EUVD-2025-30358","exploited":false,"provenance":"source"}}