RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f032ad2efe0 RBP: 00007f032ad2f020 R08: 00007f032ad2f020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f032ad2efe0 R15: 00000000200005c0 ------------[ cut here ]------------ kernel BUG at fs/btrfs/volumes.c:1061! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 30198 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1061 [inline] RIP: 0010:close_fs_devices.part.0+0x6b0/0x8e0 fs/btrfs/volumes.c:1085 Code: 03 0f 8e 27 01 00 00 48 8b 44 24 20 c7 80 10 01 00 00 00 00 00 00 48 83 c4 48 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 70 ad 71 fe <0f> 0b e8 69 ad 71 fe 0f 0b e8 22 8d a7 fe e9 17 fd ff ff 48 8b 7c RSP: 0018:ffff88804b0a7838 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000a25d000 RDX: 0000000000040000 RSI: ffffffff82f0d800 RDI: 0000000000000007 RBP: ffff8880ae0ed180 R08: 0000000000000000 R09: fffffffffffff000 R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000000 R13: fffffffffffffff4 R14: dffffc0000000000 R15: ffff888094a9c900 FS: 00007f032ad2f700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5f73f07058 CR3: 00000000b5b17000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: close_fs_devices fs/btrfs/volumes.c:1117 [inline] btrfs_close_devices+0x95/0x1f0 fs/btrfs/volumes.c:1103 btrfs_mount_root+0x10b9/0x1830 fs/btrfs/super.c:1630 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount+0x3c/0x60 fs/namespace.c:951 btrfs_mount+0x23a/0xaa0 fs/btrfs/super.c:1681 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f032c3bcb9a Code: 48 c7 c2 b8 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f032ad2ef88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000200009c0 RCX: 00007f032c3bcb9a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f032ad2efe0 RBP: 00007f032ad2f020 R08: 00007f032ad2f020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f032ad2efe0 R15: 00000000200005c0 Modules linked in: ---[ end trace a16a5873ac711d70 ]--- RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1061 [inline] RIP: 0010:close_fs_devices.part.0+0x6b0/0x8e0 fs/btrfs/volumes.c:1085 Code: 03 0f 8e 27 01 00 00 48 8b 44 24 20 c7 80 10 01 00 00 00 00 00 00 48 83 c4 48 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 70 ad 71 fe <0f> 0b e8 69 ad 71 fe 0f 0b e8 22 8d a7 fe e9 17 fd ff ff 48 8b 7c RSP: 0018:ffff88804b0a7838 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000a25d000 RDX: 0000000000040000 RSI: ffffffff82f0d800 RDI: 0000000000000007 RBP: ffff8880ae0ed180 R08: 0000000000000000 R09: fffffffffffff000 R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000000 R13: fffffffffffffff4 R14: dffffc0000000000 R15: ffff888094a9c900 FS: 00007f032ad2f700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f032c4d9000 CR3: 00000000b5b17000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400