RDX: 00007f1c0dd2cae0 RSI: 0000000020000100 RDI: 00007f1c0dd2cb00 RBP: 0000000000000001 R08: 00007f1c0dd2cb40 R09: 00007f1c0dd2cae0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000004 R13: 00000000004c8752 R14: 00000000004df378 R15: 0000000000000003 ------------[ cut here ]------------ kernel BUG at fs/btrfs/volumes.c:890! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 16367 Comm: syz-executor.5 Not tainted 4.14.133 #28 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88805b73a280 task.stack: ffff888061498000 kobject: 'loop2' (ffff8880a498e6a0): kobject_uevent_env RIP: 0010:btrfs_prepare_close_one_device fs/btrfs/volumes.c:890 [inline] RIP: 0010:__btrfs_close_devices+0x7d8/0xa90 fs/btrfs/volumes.c:915 RSP: 0018:ffff88806149f700 EFLAGS: 00010246 kobject: 'loop2' (ffff8880a498e6a0): fill_kobj_path: path = '/devices/virtual/block/loop2' RAX: 0000000000040000 RBX: ffff88809998bb00 RCX: ffffc90006448000 RDX: 0000000000040000 RSI: ffffffff82655fc8 RDI: 0000000000000282 RBP: ffff88806149f7c8 R08: ffff88805b73a280 R09: ffff88805b73ab48 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808f832ac0 R13: ffff88809998bbc8 R14: fffffffffffffff4 R15: dffffc0000000000 FS: 00007f1c0dd2d700(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc31edb628 CR3: 000000006b600000 CR4: 00000000001406f0 Call Trace: btrfs_close_devices+0x29/0x140 fs/btrfs/volumes.c:948 btrfs_mount+0x1fc5/0x2b14 fs/btrfs/super.c:1642 mount_fs+0x97/0x2a1 fs/super.c:1237 vfs_kern_mount.part.0+0x5e/0x3d0 fs/namespace.c:1046 vfs_kern_mount+0x40/0x60 fs/namespace.c:1036 mount_subvol fs/btrfs/super.c:1392 [inline] btrfs_mount+0x3ce/0x2b14 fs/btrfs/super.c:1563 mount_fs+0x97/0x2a1 fs/super.c:1237 vfs_kern_mount.part.0+0x5e/0x3d0 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2549 [inline] do_mount+0x417/0x27d0 fs/namespace.c:2879 SYSC_mount fs/namespace.c:3095 [inline] SyS_mount+0xab/0x120 fs/namespace.c:3072 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c26a RSP: 002b:00007f1c0dd2ca88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f1c0dd2cb40 RCX: 000000000045c26a RDX: 00007f1c0dd2cae0 RSI: 0000000020000100 RDI: 00007f1c0dd2cb00 RBP: 0000000000000001 R08: 00007f1c0dd2cb40 R09: 00007f1c0dd2cae0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000004 R13: 00000000004c8752 R14: 00000000004df378 R15: 0000000000000003 Code: c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 59 02 00 00 48 8b 45 80 c7 80 10 01 00 00 00 00 00 00 e9 e2 f8 ff ff e8 28 47 f7 fe <0f> 0b e8 21 47 f7 fe 0f 0b 48 89 f7 e8 b7 e8 20 ff e9 ad f8 ff RIP: btrfs_prepare_close_one_device fs/btrfs/volumes.c:890 [inline] RSP: ffff88806149f700 RIP: __btrfs_close_devices+0x7d8/0xa90 fs/btrfs/volumes.c:915 RSP: ffff88806149f700 kobject: 'loop4' (ffff8880a4a529a0): kobject_uevent_env kobject: 'loop3' (ffff8880a49e6920): kobject_uevent_env kobject: 'loop1' (ffff8880a4954620): kobject_uevent_env kobject: 'loop3' (ffff8880a49e6920): fill_kobj_path: path = '/devices/virtual/block/loop3' kobject: 'loop4' (ffff8880a4a529a0): fill_kobj_path: path = '/devices/virtual/block/loop4' ---[ end trace 6d72139391ac4a0d ]--- kobject: 'loop1' (ffff8880a4954620): fill_kobj_path: path = '/devices/virtual/block/loop1'