------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:2568! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5489 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) 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_free_suballoc_bits+0x107c/0x1330 fs/ocfs2/suballoc.c:2568 Code: 89 f1 e9 8f fa ff ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c 4d fc ff ff 4c 89 f7 e8 ff 9a 78 fe e9 40 fc ff ff e8 15 4f 11 fe 90 <0f> 0b e8 0d 4f 11 fe 90 0f 0b f3 0f 1e fa 65 44 8b 25 e2 4b c0 0e RSP: 0018:ffffc9000d397680 EFLAGS: 00010293 RAX: ffffffff83aec43b RBX: 00000000ffffffff RCX: ffff888000b94900 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000d397828 R08: 0000000000000020 R09: 00000000000000fc R10: dffffc0000000000 R11: fffffbfff1efa1ef R12: ffff888044857e00 R13: dffffc0000000000 R14: 0000000000000020 R15: ffff88804024cfb8 FS: 0000555555d23500(0000) GS:ffff88808d72f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c009c56000 CR3: 000000004f2e3000 CR4: 0000000000352ef0 Call Trace: _ocfs2_free_clusters+0x5e4/0xa70 fs/ocfs2/suballoc.c:2672 ocfs2_sync_local_to_main+0x540/0xb60 fs/ocfs2/localalloc.c:991 ocfs2_shutdown_local_alloc+0x6e0/0xa10 fs/ocfs2/localalloc.c:447 ocfs2_dismount_volume+0x201/0x8d0 fs/ocfs2/super.c:1825 generic_shutdown_super+0x135/0x2c0 fs/super.c:642 kill_block_super+0x44/0x90 fs/super.c:1729 deactivate_locked_super+0xbc/0x130 fs/super.c:473 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1318 task_work_run+0x1d4/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xe9/0x130 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2bd/0xfa0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0563990a77 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffe326c1b28 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f0563a13d7d RCX: 00007f0563990a77 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe326c1be0 RBP: 00007ffe326c1be0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe326c2c70 R13: 00007f0563a13d7d R14: 0000000000070358 R15: 00007ffe326c2cb0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_ocfs2_free_suballoc_bits+0x107c/0x1330 fs/ocfs2/suballoc.c:2568 Code: 89 f1 e9 8f fa ff ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c 4d fc ff ff 4c 89 f7 e8 ff 9a 78 fe e9 40 fc ff ff e8 15 4f 11 fe 90 <0f> 0b e8 0d 4f 11 fe 90 0f 0b f3 0f 1e fa 65 44 8b 25 e2 4b c0 0e RSP: 0018:ffffc9000d397680 EFLAGS: 00010293 RAX: ffffffff83aec43b RBX: 00000000ffffffff RCX: ffff888000b94900 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000d397828 R08: 0000000000000020 R09: 00000000000000fc R10: dffffc0000000000 R11: fffffbfff1efa1ef R12: ffff888044857e00 R13: dffffc0000000000 R14: 0000000000000020 R15: ffff88804024cfb8 FS: 0000555555d23500(0000) GS:ffff88808d72f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f95bbbff000 CR3: 000000004f2e3000 CR4: 0000000000352ef0