BTRFS info (device loop3): enabling ssd optimizations ------------[ cut here ]------------ WARNING: CPU: 0 PID: 2825 at fs/btrfs/volumes.c:1168 close_fs_devices+0x763/0x880 fs/btrfs/volumes.c:1168 Modules linked in: CPU: 0 PID: 2825 Comm: syz-executor.1 Not tainted 5.14.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:close_fs_devices+0x763/0x880 fs/btrfs/volumes.c:1168 Code: c4 38 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 45 4a 14 fe 0f 0b e9 29 f9 ff ff e8 39 4a 14 fe 0f 0b e9 3c ff ff ff e8 2d 4a 14 fe <0f> 0b e9 69 ff ff ff 48 c7 c1 74 7f ba 8d 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc90002f4f650 EFLAGS: 00010283 RAX: ffffffff836bd7e3 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc9000ba3a000 RSI: 0000000000033615 RDI: 0000000000033616 RBP: ffff888028381108 R08: ffffffff836bd745 R09: ffffed10062b6c28 R10: ffffed10062b6c28 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880315b6068 R14: 1ffff110062b6c0d R15: 1ffff110062b6c0a FS: 00007fa6b2464700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbc1b1bb000 CR3: 0000000016930000 CR4: 00000000001506e0 Call Trace: btrfs_close_devices+0xc9/0x450 fs/btrfs/volumes.c:1180 close_ctree+0x693/0x7fd fs/btrfs/disk-io.c:4433 btrfs_fill_super fs/btrfs/super.c:1393 [inline] btrfs_mount_root+0xbd5/0xc60 fs/btrfs/super.c:1737 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x86/0x270 fs/super.c:1498 fc_mount fs/namespace.c:993 [inline] vfs_kern_mount+0xc9/0x160 fs/namespace.c:1023 btrfs_mount+0x3d3/0xbb0 fs/btrfs/super.c:1797 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x86/0x270 fs/super.c:1498 do_new_mount fs/namespace.c:2905 [inline] path_mount+0x196f/0x2be0 fs/namespace.c:3235 do_mount fs/namespace.c:3248 [inline] __do_sys_mount fs/namespace.c:3456 [inline] __se_sys_mount+0x2f9/0x3b0 fs/namespace.c:3433 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x467b0a Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 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:00007fa6b2463fa8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 0000000000467b0a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fa6b2464000 RBP: 00007fa6b2464040 R08: 00007fa6b2464040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fa6b2464000 R15: 0000000020000140