general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 6603 Comm: syz.5.519 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:btrfs_root_node+0x4f/0x350 fs/btrfs/ctree.c:132 Code: 87 2e fe e8 c3 56 01 00 e8 4e 21 73 06 89 c5 31 ff 89 c6 e8 b3 fb 41 fe 85 ed 74 17 e8 9a dc 2d fe 84 c0 74 1c e8 41 f8 41 fe <42> 80 3c 23 00 75 4b eb 51 e8 33 f8 41 fe 42 80 3c 23 00 75 3d eb RSP: 0018:ffffc90003ce7588 EFLAGS: 00010287 RAX: ffffffff8335d2df RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc90016c01000 RSI: 000000000005d543 RDI: 000000000005d544 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1ff7819 R10: fffffbfff1ff7819 R11: 1ffffffff1ff7818 R12: dffffc0000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f11959a16c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0560b37000 CR3: 000000007f4f4000 CR4: 00000000003506e0 Call Trace: btrfs_read_lock_root_node+0x75/0x390 fs/btrfs/locking.c:276 btrfs_build_ref_tree+0x133/0x1180 fs/btrfs/ref-verify.c:993 open_ctree+0x26dd/0x3250 fs/btrfs/disk-io.c:3609 btrfs_fill_super+0x1c2/0x2e0 fs/btrfs/super.c:1387 btrfs_mount_root+0x857/0x8c0 fs/btrfs/super.c:1751 legacy_get_tree+0xe6/0x180 fs/fs_context.c:611 vfs_get_tree+0x88/0x270 fs/super.c:1530 fc_mount fs/namespace.c:996 [inline] vfs_kern_mount+0xba/0x150 fs/namespace.c:1026 btrfs_mount+0x2d7/0xa50 fs/btrfs/super.c:1811 legacy_get_tree+0xe6/0x180 fs/fs_context.c:611 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x24a/0xa40 fs/namespace.c:3025 do_mount fs/namespace.c:3368 [inline] __do_sys_mount fs/namespace.c:3576 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3553 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f119773b3ca Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f11959a0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f11959a0ef0 RCX: 00007f119773b3ca RDX: 0000200000000080 RSI: 0000200000000040 RDI: 00007f11959a0eb0 RBP: 0000200000000080 R08: 00007f11959a0ef0 R09: 000000000001c045 R10: 000000000001c045 R11: 0000000000000246 R12: 0000200000000040 R13: 00007f11959a0eb0 R14: 00000000000055cb R15: 0000200000000480 Modules linked in: ---[ end trace ac29eaa222b9dbbc ]--- RIP: 0010:btrfs_root_node+0x4f/0x350 fs/btrfs/ctree.c:132 Code: 87 2e fe e8 c3 56 01 00 e8 4e 21 73 06 89 c5 31 ff 89 c6 e8 b3 fb 41 fe 85 ed 74 17 e8 9a dc 2d fe 84 c0 74 1c e8 41 f8 41 fe <42> 80 3c 23 00 75 4b eb 51 e8 33 f8 41 fe 42 80 3c 23 00 75 3d eb RSP: 0018:ffffc90003ce7588 EFLAGS: 00010287 RAX: ffffffff8335d2df RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc90016c01000 RSI: 000000000005d543 RDI: 000000000005d544 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1ff7819 R10: fffffbfff1ff7819 R11: 1ffffffff1ff7818 R12: dffffc0000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f11959a16c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200001000000 CR3: 000000007f4f4000 CR4: 00000000003506e0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 2e fe cs (bad) 2: e8 c3 56 01 00 call 0x156ca 7: e8 4e 21 73 06 call 0x673215a c: 89 c5 mov %eax,%ebp e: 31 ff xor %edi,%edi 10: 89 c6 mov %eax,%esi 12: e8 b3 fb 41 fe call 0xfe41fbca 17: 85 ed test %ebp,%ebp 19: 74 17 je 0x32 1b: e8 9a dc 2d fe call 0xfe2ddcba 20: 84 c0 test %al,%al 22: 74 1c je 0x40 24: e8 41 f8 41 fe call 0xfe41f86a * 29: 42 80 3c 23 00 cmpb $0x0,(%rbx,%r12,1) <-- trapping instruction 2e: 75 4b jne 0x7b 30: eb 51 jmp 0x83 32: e8 33 f8 41 fe call 0xfe41f86a 37: 42 80 3c 23 00 cmpb $0x0,(%rbx,%r12,1) 3c: 75 3d jne 0x7b 3e: eb .byte 0xeb