------------[ cut here ]------------ WARNING: CPU: 1 PID: 8491 at fs/btrfs/volumes.c:1166 close_fs_devices+0x715/0x930 fs/btrfs/volumes.c:1166 Modules linked in: CPU: 0 PID: 8491 Comm: syz-executor.4 Not tainted 5.10.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:close_fs_devices+0x715/0x930 fs/btrfs/volumes.c:1166 Code: e8 70 89 44 fe 85 db 0f 85 65 f9 ff ff e8 13 91 44 fe 0f 0b e9 59 f9 ff ff e8 07 91 44 fe 0f 0b e9 c0 fe ff ff e8 fb 90 44 fe <0f> 0b e9 f9 fe ff ff 48 c7 c7 9c dc ec 8c e8 58 0f 86 fe e9 19 f9 RSP: 0018:ffffc9000174fbe0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff832b727c RDX: ffff88802859cec0 RSI: ffffffff832b7385 RDI: 0000000000000007 RBP: dffffc0000000000 R08: 0000000000000000 R09: ffff88801409f933 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88801409f930 R13: ffff88801409f9ec R14: ffff88802af07508 R15: ffff88801409f850 FS: 0000000002cee940(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e1070 CR3: 0000000060244000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: btrfs_close_devices+0x8e/0x4b0 fs/btrfs/volumes.c:1178 close_ctree+0x694/0x6d7 fs/btrfs/disk-io.c:4152 generic_shutdown_super+0x144/0x370 fs/super.c:464 kill_anon_super+0x36/0x60 fs/super.c:1108 btrfs_kill_super+0x38/0x50 fs/btrfs/super.c:2263 deactivate_locked_super+0x94/0x160 fs/super.c:335 deactivate_super+0xad/0xd0 fs/super.c:366 cleanup_mnt+0x3a3/0x530 fs/namespace.c:1118 task_work_run+0xdd/0x190 kernel/task_work.c:151 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:164 [inline] exit_to_user_mode_prepare+0x17e/0x1a0 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x38/0x260 kernel/entry/common.c:266 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4608e7 Code: 64 89 04 25 d0 02 00 00 58 5f ff d0 48 89 c7 e8 2f be ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffc26a23398 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 000000000031f916 RCX: 00000000004608e7 RDX: 00000000004031f8 RSI: 0000000000000002 RDI: 00007ffc26a23440 RBP: 0000000000003c47 R08: 0000000000000000 R09: 000000000000000c R10: 0000000000000005 R11: 0000000000000246 R12: 00007ffc26a244d0 R13: 0000000002cefa60 R14: 0000000000000000 R15: 00007ffc26a244d0