------------[ cut here ]------------ WARNING: CPU: 0 PID: 11107 at fs/btrfs/volumes.c:1168 close_fs_devices+0x772/0x9a0 fs/btrfs/volumes.c:1168 Modules linked in: CPU: 1 PID: 11107 Comm: syz-executor.3 Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:close_fs_devices+0x772/0x9a0 fs/btrfs/volumes.c:1168 Code: e8 33 62 38 fe 85 db 0f 85 07 f9 ff ff e8 d6 5b 38 fe 0f 0b e9 fb f8 ff ff e8 ca 5b 38 fe 0f 0b e9 e2 fd ff ff e8 be 5b 38 fe <0f> 0b e9 19 fe ff ff 48 c7 c7 cc 26 c5 8d e8 eb 91 7b fe e9 bb f8 RSP: 0018:ffffc90002467be8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88806d5820c0 RSI: ffffffff833acde2 RDI: 0000000000000003 RBP: dffffc0000000000 R08: 0000000000000000 R09: ffff8880281b113b R10: ffffffff833acbf9 R11: 0000000000000000 R12: ffff8880281b1138 R13: 0000000000000000 R14: ffff8880126d0508 R15: ffff8880281b1050 FS: 00000000016f1400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000970004 CR3: 000000002762e000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_close_devices+0x8e/0x4b0 fs/btrfs/volumes.c:1180 close_ctree+0x746/0x789 fs/btrfs/disk-io.c:4343 generic_shutdown_super+0x144/0x370 fs/super.c:464 kill_anon_super+0x36/0x60 fs/super.c:1056 btrfs_kill_super+0x38/0x50 fs/btrfs/super.c:2353 deactivate_locked_super+0x94/0x160 fs/super.c:335 deactivate_super+0xad/0xd0 fs/super.c:366 cleanup_mnt+0x3a3/0x530 fs/namespace.c:1136 task_work_run+0xdd/0x1a0 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x249/0x250 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4678b7 Code: ff d0 48 89 c7 b8 3c 00 00 00 0f 05 48 c7 c1 bc 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffce0df24d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000004678b7 RDX: 00007ffce0df25ac RSI: 0000000000000002 RDI: 00007ffce0df25a0 RBP: 00007ffce0df25a0 R08: 00000000ffffffff R09: 00007ffce0df2370 R10: 00000000016f28e3 R11: 0000000000000246 R12: 00000000004bebb2 R13: 00007ffce0df3670 R14: 00000000016f2810 R15: 00007ffce0df36b0