btrfs: Deprecated parameter 'usebackuproot' BTRFS warning: 'usebackuproot' is deprecated, use 'rescue=usebackuproot' instead BTRFS: device fsid ed167579-eb65-4e76-9a50-61ac97e9b59d devid 1281 transid 8 /dev/loop1 (7:1) scanned by syz.1.18 (5863) Oops: general protection fault, probably for non-canonical address 0xdffffc00000000f8: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x00000000000007c0-0x00000000000007c7] CPU: 1 UID: 0 PID: 5863 Comm: syz.1.18 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:btrfs_close_bdev fs/btrfs/volumes.c:1140 [inline] RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1161 [inline] RIP: 0010:close_fs_devices+0x47c/0x860 fs/btrfs/volumes.c:1204 Code: 3c 08 00 74 08 48 89 ef e8 b1 95 38 fe 48 8b 6d 00 b8 c0 07 00 00 48 01 c5 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 ef e8 86 95 38 fe 48 8b 75 00 4c 89 ff e8 RSP: 0018:ffffc90004007a48 EFLAGS: 00010202 RAX: 00000000000000f8 RBX: 1ffff110368c440b RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000007c0 R08: ffff8881b462206f R09: 1ffff110368c440d R10: dffffc0000000000 R11: ffffed10368c440e R12: ffff8881b4622000 R13: ffff8881b4622068 R14: ffff8881b4622058 R15: ffff8881707b7a00 FS: 00007f849d6ce6c0(0000) GS:ffff8882a9292000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f849c786a00 CR3: 00000001bbbcc000 CR4: 00000000000006f0 Call Trace: btrfs_close_devices+0xcd/0x570 fs/btrfs/volumes.c:1219 btrfs_free_fs_info+0x4f/0x360 fs/btrfs/disk-io.c:1205 deactivate_locked_super+0xbc/0x130 fs/super.c:477 btrfs_get_tree_super fs/btrfs/super.c:-1 [inline] btrfs_get_tree_subvol fs/btrfs/super.c:2087 [inline] btrfs_get_tree+0xca6/0x1910 fs/btrfs/super.c:2121 vfs_get_tree+0x92/0x2a0 fs/super.c:1928 fc_mount fs/namespace.c:1193 [inline] do_new_mount_fc fs/namespace.c:3758 [inline] do_new_mount+0x341/0xd30 fs/namespace.c:3834 do_mount fs/namespace.c:4167 [inline] __do_sys_mount fs/namespace.c:4383 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4360 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f849c79e0ca Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f849d6cde58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f849d6cdee0 RCX: 00007f849c79e0ca RDX: 00002000000055c0 RSI: 0000200000000340 RDI: 00007f849d6cdea0 RBP: 00002000000055c0 R08: 00007f849d6cdee0 R09: 0000000000000408 R10: 0000000000000408 R11: 0000000000000246 R12: 0000200000000340 R13: 00007f849d6cdea0 R14: 00000000000055f5 R15: 0000200000000380 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:btrfs_close_bdev fs/btrfs/volumes.c:1140 [inline] RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1161 [inline] RIP: 0010:close_fs_devices+0x47c/0x860 fs/btrfs/volumes.c:1204 Code: 3c 08 00 74 08 48 89 ef e8 b1 95 38 fe 48 8b 6d 00 b8 c0 07 00 00 48 01 c5 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 ef e8 86 95 38 fe 48 8b 75 00 4c 89 ff e8 RSP: 0018:ffffc90004007a48 EFLAGS: 00010202 RAX: 00000000000000f8 RBX: 1ffff110368c440b RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000007c0 R08: ffff8881b462206f R09: 1ffff110368c440d R10: dffffc0000000000 R11: ffffed10368c440e R12: ffff8881b4622000 R13: ffff8881b4622068 R14: ffff8881b4622058 R15: ffff8881707b7a00 FS: 00007f849d6ce6c0(0000) GS:ffff8882a9292000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557941c2b058 CR3: 00000001bbbcc000 CR4: 00000000000006f0 ---------------- Code disassembly (best guess): 0: 3c 08 cmp $0x8,%al 2: 00 74 08 48 add %dh,0x48(%rax,%rcx,1) 6: 89 ef mov %ebp,%edi 8: e8 b1 95 38 fe call 0xfe3895be d: 48 8b 6d 00 mov 0x0(%rbp),%rbp 11: b8 c0 07 00 00 mov $0x7c0,%eax 16: 48 01 c5 add %rax,%rbp 19: 48 89 e8 mov %rbp,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 ef mov %rbp,%rdi 33: e8 86 95 38 fe call 0xfe3895be 38: 48 8b 75 00 mov 0x0(%rbp),%rsi 3c: 4c 89 ff mov %r15,%rdi 3f: e8 .byte 0xe8