(syz.0.688,7892,0):ocfs2_assign_bh:2416 ERROR: status = -5 (syz.0.688,7892,0):ocfs2_inode_lock_full_nested:2511 ERROR: status = -5 (syz.0.688,7892,0):ocfs2_shutdown_local_alloc:412 ERROR: status = -5 ------------[ cut here ]------------ kernel BUG at fs/ocfs2/journal.c:1012! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 7892 Comm: syz.0.688 Not tainted 6.12.0-rc7-syzkaller-gf1b785f4c787 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ocfs2_journal_toggle_dirty+0x397/0x3a0 fs/ocfs2/journal.c:1012 Code: 6f fe e9 f7 fd ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 2a fe ff ff 48 89 df e8 54 e9 6f fe e9 1d fe ff ff e8 0a 1f 06 fe 90 <0f> 0b e8 f2 cb 38 08 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d90eee0 EFLAGS: 00010293 RAX: ffffffff838ecb06 RBX: 00000000ffffffff RCX: ffff888038d5c880 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000d90efb0 R08: ffffffff838ec870 R09: 1ffffffff285a123 R10: dffffc0000000000 R11: fffffbfff285a124 R12: dffffc0000000000 R13: ffff888043e34740 R14: ffff88804508e600 R15: 1ffff92001b21de4 FS: 00007f4f4e7676c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcb99cfc000 CR3: 000000004b89a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_journal_shutdown+0x479/0xc30 fs/ocfs2/journal.c:1094 ocfs2_mount_volume+0x169f/0x1940 fs/ocfs2/super.c:1840 ocfs2_fill_super+0x475a/0x5750 fs/ocfs2/super.c:1084 mount_bdev+0x20a/0x2d0 fs/super.c:1693 legacy_get_tree+0xee/0x190 fs/fs_context.c:662 vfs_get_tree+0x90/0x2b0 fs/super.c:1814 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4f4d97feba Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4f4e766e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f4f4e766ef0 RCX: 00007f4f4d97feba RDX: 0000000020004440 RSI: 0000000020000040 RDI: 00007f4f4e766eb0 RBP: 0000000020004440 R08: 00007f4f4e766ef0 R09: 00000000000008c0 R10: 00000000000008c0 R11: 0000000000000246 R12: 0000000020000040 R13: 00007f4f4e766eb0 R14: 000000000000442a R15: 0000000020000380 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_journal_toggle_dirty+0x397/0x3a0 fs/ocfs2/journal.c:1012 Code: 6f fe e9 f7 fd ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 2a fe ff ff 48 89 df e8 54 e9 6f fe e9 1d fe ff ff e8 0a 1f 06 fe 90 <0f> 0b e8 f2 cb 38 08 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d90eee0 EFLAGS: 00010293 RAX: ffffffff838ecb06 RBX: 00000000ffffffff RCX: ffff888038d5c880 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000d90efb0 R08: ffffffff838ec870 R09: 1ffffffff285a123 R10: dffffc0000000000 R11: fffffbfff285a124 R12: dffffc0000000000 R13: ffff888043e34740 R14: ffff88804508e600 R15: 1ffff92001b21de4 FS: 00007f4f4e7676c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f175e3ff000 CR3: 000000004b89a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400