------------[ cut here ]------------ WARNING: CPU: 1 PID: 19162 at fs/btrfs/volumes.c:1172 close_fs_devices+0x725/0x7b0 fs/btrfs/volumes.c:1172 Modules linked in: CPU: 1 PID: 19162 Comm: syz-executor.2 Not tainted 5.11.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:close_fs_devices+0x725/0x7b0 fs/btrfs/volumes.c:1172 Code: c4 38 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a3 3d 3c fe 0f 0b e9 67 f9 ff ff e8 97 3d 3c fe 0f 0b e9 3c ff ff ff e8 8b 3d 3c fe <0f> 0b e9 69 ff ff ff 48 c7 c1 84 ca 13 8d 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc9000196fc80 EFLAGS: 00010293 RAX: ffffffff833b8d95 RBX: 0000000000000001 RCX: ffff888018670000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888013ab3908 R08: ffffffff833b8cf7 R09: ffffed1003985128 R10: ffffed1003985128 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff88801cc28868 R14: 1ffff1100398510d R15: 1ffff1100398510a FS: 0000000002cd3940(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000016b9e60 CR3: 0000000023d57000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_close_devices+0x8c/0x400 fs/btrfs/volumes.c:1184 close_ctree+0x5eb/0x6dd fs/btrfs/disk-io.c:4208 generic_shutdown_super+0x120/0x2a0 fs/super.c:464 kill_anon_super+0x36/0x60 fs/super.c:1055 btrfs_kill_super+0x3d/0x50 fs/btrfs/super.c:2347 deactivate_locked_super+0xa7/0xf0 fs/super.c:335 cleanup_mnt+0x462/0x510 fs/namespace.c:1118 task_work_run+0x137/0x1c0 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+0x10b/0x1e0 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x48/0x190 kernel/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x460c47 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:00007ffc3606ad88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000460c47 RDX: 00000000004033a8 RSI: 0000000000000002 RDI: 00007ffc3606ae30 RBP: 0000000000140a2f R08: 0000000000000000 R09: 000000000000000c R10: 0000000000000005 R11: 0000000000000246 R12: 00007ffc3606bee0 R13: 0000000002cd4a60 R14: 0000000000000000 R15: 000000000014082b