{"id":"CVE-2026-80644","aliases":["CVE-2026-80644"],"related":[],"kind":"vulnerability","state":"published","title":"ocfs2: don't BUG_ON an invalid journal dinode","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: don't BUG_ON an invalid journal dinode\n\n[BUG]\nA fuzzed OCFS2 image can corrupt the current slot journal dinode while\nmount is still in progress. The mount path first reports the invalid\njournal block and then crashes in shutdown:\n\nkernel BUG at fs/ocfs2/journal.c:1034!\nOops: invalid opcode: 0000 [#1] SMP KASAN NOPTI\nRIP: 0010:ocfs2_journal_toggle_dirty+0x2d6/0x340 fs/ocfs2/journal.c:1034\nCall Trace:\n ocfs2_journal_shutdown+0x414/0xc30 fs/ocfs2/journal.c:1116\n ocfs2_mount_volume fs/ocfs2/super.c:1785 [inline]\n ocfs2_fill_super+0x30a9/0x3cd0 fs/ocfs2/super.c:1083\n get_tree_bdev_flags+0x38b/0x640 fs/super.c:1698\n get_tree_bdev+0x24/0x40 fs/super.c:1721\n ocfs2_get_tree+0x21/0x30 fs/ocfs2/super.c:1184\n vfs_get_tree+0x9a/0x370 fs/super.c:1758\n fc_mount fs/namespace.c:1199 [inline]\n do_new_mount_fc fs/namespace.c:3642 [inline]\n do_new_mount fs/namespace.c:3718 [inline]\n path_mount+0x5b8/0x1ea0 fs/namespace.c:4028\n do_mount fs/namespace.c:4041 [inline]\n __do_sys_mount fs/namespace.c:4229 [inline]\n __se_sys_mount fs/namespace.c:4206 [inline]\n __x64_sys_mount+0x282/0x320 fs/namespace.c:4206\n ...\n\n[CAUSE]\nocfs2_journal_toggle_dirty() used to return -EIO when journal->j_bh no\nlonger contained a valid dinode, because the startup and shutdown paths\nalready handled that failure. Commit 10995aa2451a\n(\"ocfs2: Morph the haphazard OCFS2_IS_VALID_DINODE() checks.\") changed\nthe check to a BUG_ON() under the assumption that the journal dinode had\nalready been validated. That turns an unexpected invalid journal dinode\nduring mount teardown into a kernel crash instead of a normal mount\nfailure.\n\n[FIX]\nReplace the BUG_ON() with WARN_ON() and return -EIO. This keeps the\ninvariant warning for debugging, but restores the original behavior of\nfailing startup or shutdown cleanly instead of panicking the kernel.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: don't BUG_ON an invalid journal dinode\n\n[BUG]\nA fuzzed OCFS2 image can corrupt the current slot journal dinode while\nmount is still in progress. The mount path first reports the invalid\njournal block and then crashes in shutdown:\n\nkernel BUG at fs/ocfs2/journal.c:1034!\nOops: invalid opcode: 0000 [#1] SMP KASAN NOPTI\nRIP: 0010:ocfs2_journal_toggle_dirty+0x2d6/0x340 fs/ocfs2/journal.c:1034\nCall Trace:\n ocfs2_journal_shutdown+0x414/0xc30 fs/ocfs2/journal.c:1116\n ocfs2_mount_volume fs/ocfs2/super.c:1785 [inline]\n ocfs2_fill_super+0x30a9/0x3cd0 fs/ocfs2/super.c:1083\n get_tree_bdev_flags+0x38b/0x640 fs/super.c:1698\n get_tree_bdev+0x24/0x40 fs/super.c:1721\n ocfs2_get_tree+0x21/0x30 fs/ocfs2/super.c:1184\n vfs_get_tree+0x9a/0x370 fs/super.c:1758\n fc_mount fs/namespace.c:1199 [inline]\n do_new_mount_fc fs/namespace.c:3642 [inline]\n do_new_mount fs/namespace.c:3718 [inline]\n path_mount+0x5b8/0x1ea0 fs/namespace.c:4028\n do_mount fs/namespace.c:4041 [inline]\n __do_sys_mount fs/namespace.c:4229 [inline]\n __se_sys_mount fs/namespace.c:4206 [inline]\n __x64_sys_mount+0x282/0x320 fs/namespace.c:4206\n ...\n\n[CAUSE]\nocfs2_journal_toggle_dirty() used to return -EIO when journal->j_bh no\nlonger contained a valid dinode, because the startup and shutdown paths\nalready handled that failure. Commit 10995aa2451a\n(\"ocfs2: Morph the haphazard OCFS2_IS_VALID_DINODE() checks.\") changed\nthe check to a BUG_ON() under the assumption that the journal dinode had\nalready been validated. That turns an unexpected invalid journal dinode\nduring mount teardown into a kernel crash instead of a normal mount\nfailure.\n\n[FIX]\nReplace the BUG_ON() with WARN_ON() and return -EIO. This keeps the\ninvariant warning for debugging, but restores the original behavior of\nfailing startup or shutdown cleanly instead of panicking the kernel.","source":"cvelist"}],"published":"2026-08-28T06:48:55.076Z","modified":"2026-11-06T17:19:55.730Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"10995aa2451afa20b721cc7de856cae1a13dba57","fixed":"bf1d59cf2ac8a1730607ebaa0bc0dc6d00f197d0","status":"affected"},{"type":"git","introduced":"10995aa2451afa20b721cc7de856cae1a13dba57","fixed":"86509c5296fe46ad6bcdd83931a53c2c6b7913a8","status":"affected"},{"type":"git","introduced":"10995aa2451afa20b721cc7de856cae1a13dba57","fixed":"12c32a7350b670aaaaf2e01583d8648ec0c9755c","status":"affected"},{"type":"git","introduced":"10995aa2451afa20b721cc7de856cae1a13dba57","fixed":"b460f8d01a12061853d02c8fb693fb42450acd7d","status":"affected"},{"type":"git","introduced":"10995aa2451afa20b721cc7de856cae1a13dba57","fixed":"a06eec15596e5801bad59ad16cd2bf4f0fa839a1","status":"affected"},{"type":"git","introduced":"10995aa2451afa20b721cc7de856cae1a13dba57","fixed":"3852478d34c7baa490ba9c7374ee901a56eea577","status":"affected"},{"type":"git","introduced":"10995aa2451afa20b721cc7de856cae1a13dba57","fixed":"5b33f99f3e48465bd93219495381a5aef4fa967f","status":"affected"},{"type":"git","introduced":"10995aa2451afa20b721cc7de856cae1a13dba57","fixed":"c0438198c28b1d22c272751af5e717c11d9fa8dd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.29","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.29","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/bf1d59cf2ac8a1730607ebaa0bc0dc6d00f197d0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/86509c5296fe46ad6bcdd83931a53c2c6b7913a8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12c32a7350b670aaaaf2e01583d8648ec0c9755c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b460f8d01a12061853d02c8fb693fb42450acd7d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a06eec15596e5801bad59ad16cd2bf4f0fa839a1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3852478d34c7baa490ba9c7374ee901a56eea577","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5b33f99f3e48465bd93219495381a5aef4fa967f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0438198c28b1d22c272751af5e717c11d9fa8dd","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T17:02:21.588Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80644","url":"https://www.cve.org/CVERecord?id=CVE-2026-80644","licence":"CVE Terms of Use","modified":"2026-11-06T17:05:52.371Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80644","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80644","licence":"Public domain","modified":"2026-11-06T17:19:55.730Z"}],"updatedAt":"2026-11-25T22:59:35.598Z","epss":{"score":0.00211,"percentile":0.12028,"date":"2026-12-01T12:00:22.000Z"}}