------------[ cut here ]------------ kernel BUG at fs/btrfs/disk-io.c:4355! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5024 Comm: syz-executor106 Not tainted 6.4.0-syzkaller-12454-g1c7873e33645 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:close_ctree+0xcf4/0xf70 fs/btrfs/disk-io.c:4355 Code: 12 f0 fd fd 0f 0b e8 1b 48 1a fe b9 03 11 00 00 48 c7 c2 20 1b b5 8a 48 c7 c6 60 50 b5 8a 48 c7 c7 a0 1b b5 8a e8 ec ef fd fd <0f> 0b e8 f5 47 1a fe 4d 8d a6 f8 07 00 00 4c 89 f7 e8 b6 df ff ff RSP: 0018:ffffc90003bafbd0 EFLAGS: 00010282 RAX: 0000000000000051 RBX: ffff88802a310d48 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81691b9c RDI: 0000000000000005 RBP: ffff88802a310010 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff88802a3119e0 R13: 0000000000000000 R14: ffff88802a310000 R15: ffff888149ec9e40 FS: 00005555555f7300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000204d3000 CR3: 0000000025f71000 CR4: 0000000000350ee0 Call Trace: generic_shutdown_super+0x158/0x480 fs/super.c:499 kill_anon_super+0x3a/0x60 fs/super.c:1110 btrfs_kill_super+0x3c/0x50 fs/btrfs/super.c:2138 deactivate_locked_super+0x98/0x160 fs/super.c:330 deactivate_super+0xb1/0xd0 fs/super.c:361 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1254 task_work_run+0x16f/0x270 kernel/task_work.c:179 ptrace_notify+0x118/0x140 kernel/signal.c:2372 ptrace_report_syscall include/linux/ptrace.h:411 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline] syscall_exit_work kernel/entry/common.c:252 [inline] syscall_exit_to_user_mode_prepare+0x129/0x220 kernel/entry/common.c:279 __syscall_exit_to_user_mode_work kernel/entry/common.c:284 [inline] syscall_exit_to_user_mode+0xd/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7883fc6ac7 Code: ff d0 48 89 c7 b8 3c 00 00 00 0f 05 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe2c304808 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 000000000000ad4b RCX: 00007f7883fc6ac7 RDX: 00007ffe2c3048c7 RSI: 000000000000000a RDI: 00007ffe2c3048c0 RBP: 00007ffe2c3048c0 R08: 00000000ffffffff R09: 00007ffe2c3046a0 R10: 00005555555f8633 R11: 0000000000000202 R12: 00007ffe2c305980 R13: 00005555555f85f0 R14: 00007ffe2c304830 R15: 00007ffe2c3059a0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:close_ctree+0xcf4/0xf70 fs/btrfs/disk-io.c:4355 Code: 12 f0 fd fd 0f 0b e8 1b 48 1a fe b9 03 11 00 00 48 c7 c2 20 1b b5 8a 48 c7 c6 60 50 b5 8a 48 c7 c7 a0 1b b5 8a e8 ec ef fd fd <0f> 0b e8 f5 47 1a fe 4d 8d a6 f8 07 00 00 4c 89 f7 e8 b6 df ff ff RSP: 0018:ffffc90003bafbd0 EFLAGS: 00010282 RAX: 0000000000000051 RBX: ffff88802a310d48 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81691b9c RDI: 0000000000000005 RBP: ffff88802a310010 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff88802a3119e0 R13: 0000000000000000 R14: ffff88802a310000 R15: ffff888149ec9e40 FS: 00005555555f7300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f788401700a CR3: 0000000025f71000 CR4: 0000000000350ee0