BTRFS error (device loop4): ignoredatacsums must be used with ro mount option general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 5124 Comm: syz.4.139 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:backup_super_roots fs/btrfs/disk-io.c:2007 [inline] RIP: 0010:write_all_supers+0xefa/0x4650 fs/btrfs/disk-io.c:4154 Code: e8 03 48 89 04 24 42 80 3c 38 00 74 08 4c 89 e7 e8 1b 0b 61 fe 49 8b 1c 24 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 f8 0a 61 fe 48 8b 1b 48 89 d8 48 c1 RSP: 0018:ffffc9000341f400 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000007 RSI: 0000000000029df5 RDI: ffff888023c08cc0 RBP: ffffc9000341f7d0 R08: dffffc0000000000 R09: ffff88807ab94b2b R10: 0000000000000003 R11: dffffc0000000001 R12: ffff88807b350040 R13: ffff88807ab94b7a R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f5a254436c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c43bbdd CR3: 0000000079d62000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_commit_transaction+0x1f9b/0x3800 fs/btrfs/transaction.c:2462 btrfs_set_free_space_cache_v1_active+0x6d/0x220 fs/btrfs/free-space-cache.c:4001 btrfs_remount_cleanup fs/btrfs/super.c:1914 [inline] btrfs_remount+0x750/0x1640 fs/btrfs/super.c:2117 reconfigure_super+0x43a/0x870 fs/super.c:938 do_remount fs/namespace.c:2668 [inline] path_mount+0xceb/0x10a0 fs/namespace.c:3334 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3540 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5a275ccf19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5a25443058 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5a27792fa0 RCX: 00007f5a275ccf19 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00007f5a27640cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000804020 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5a27792fa0 R15: 00007ffd45e53c68 Modules linked in: ---[ end trace 1eccb053a265b822 ]--- RIP: 0010:backup_super_roots fs/btrfs/disk-io.c:2007 [inline] RIP: 0010:write_all_supers+0xefa/0x4650 fs/btrfs/disk-io.c:4154 Code: e8 03 48 89 04 24 42 80 3c 38 00 74 08 4c 89 e7 e8 1b 0b 61 fe 49 8b 1c 24 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 f8 0a 61 fe 48 8b 1b 48 89 d8 48 c1 RSP: 0018:ffffc9000341f400 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000007 RSI: 0000000000029df5 RDI: ffff888023c08cc0 RBP: ffffc9000341f7d0 R08: dffffc0000000000 R09: ffff88807ab94b2b R10: 0000000000000003 R11: dffffc0000000001 R12: ffff88807b350040 R13: ffff88807ab94b7a R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f5a254436c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555588488608 CR3: 0000000079d62000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 03 48 89 04 call 0x4894808 5: 24 42 and $0x42,%al 7: 80 3c 38 00 cmpb $0x0,(%rax,%rdi,1) b: 74 08 je 0x15 d: 4c 89 e7 mov %r12,%rdi 10: e8 1b 0b 61 fe call 0xfe610b30 15: 49 8b 1c 24 mov (%r12),%rbx 19: 48 89 d8 mov %rbx,%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 df mov %rbx,%rdi 33: e8 f8 0a 61 fe call 0xfe610b30 38: 48 8b 1b mov (%rbx),%rbx 3b: 48 89 d8 mov %rbx,%rax 3e: 48 rex.W 3f: c1 .byte 0xc1