general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 0 PID: 2506 Comm: syz.0.634 Not tainted 6.1.115-syzkaller-00041-ga887a44ace2a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:traverse_mounts fs/namei.c:1430 [inline] RIP: 0010:handle_mounts fs/namei.c:1542 [inline] RIP: 0010:step_into+0x1c4/0x1090 fs/namei.c:1835 Code: c0 0f 85 bb 0b 00 00 44 8b 3b 43 80 3c 34 00 74 0a 48 8b 7c 24 10 e8 6b b1 f2 ff 48 8b 9c 24 d8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 a8 0b 00 00 8b 1b 89 de 81 e6 00 00 07 RSP: 0018:ffffc90000bc78a0 EFLAGS: 00010206 RAX: 0000000000000003 RBX: 000000000000001b RCX: 0000000000080000 RDX: ffffc90001319000 RSI: 00000000000001c2 RDI: 00000000000001c3 RBP: ffffc90000bc79f0 R08: ffffffff81ca43f9 R09: ffffed1022b70e75 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000178f2f R13: ffffc90000bc7c20 R14: dffffc0000000000 R15: 0000000000000010 FS: 00007f99d4dc96c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000afe0 CR3: 000000014281e000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: walk_component fs/namei.c:2003 [inline] link_path_walk+0x72c/0xee0 fs/namei.c:2324 path_lookupat+0xa0/0x450 fs/namei.c:2477 filename_lookup+0x251/0x600 fs/namei.c:2507 user_path_at_empty+0x43/0x1a0 fs/namei.c:2904 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xae/0x2a0 fs/xattr.c:631 __do_sys_lsetxattr fs/xattr.c:659 [inline] __se_sys_lsetxattr fs/xattr.c:655 [inline] __x64_sys_lsetxattr+0xc2/0xe0 fs/xattr.c:655 x64_sys_call+0x506/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:190 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f99d3f80849 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:00007f99d4dc9058 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007f99d4145fa0 RCX: 00007f99d3f80849 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000080 RBP: 00007f99d3ff3986 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f99d4145fa0 R15: 00007ffe4e8448b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:traverse_mounts fs/namei.c:1430 [inline] RIP: 0010:handle_mounts fs/namei.c:1542 [inline] RIP: 0010:step_into+0x1c4/0x1090 fs/namei.c:1835 Code: c0 0f 85 bb 0b 00 00 44 8b 3b 43 80 3c 34 00 74 0a 48 8b 7c 24 10 e8 6b b1 f2 ff 48 8b 9c 24 d8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 a8 0b 00 00 8b 1b 89 de 81 e6 00 00 07 RSP: 0018:ffffc90000bc78a0 EFLAGS: 00010206 RAX: 0000000000000003 RBX: 000000000000001b RCX: 0000000000080000 RDX: ffffc90001319000 RSI: 00000000000001c2 RDI: 00000000000001c3 RBP: ffffc90000bc79f0 R08: ffffffff81ca43f9 R09: ffffed1022b70e75 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000178f2f R13: ffffc90000bc7c20 R14: dffffc0000000000 R15: 0000000000000010 FS: 00007f99d4dc96c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000afe0 CR3: 000000014281e000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c0 0f 85 rorb $0x85,(%rdi) 3: bb 0b 00 00 44 mov $0x4400000b,%ebx 8: 8b 3b mov (%rbx),%edi a: 43 80 3c 34 00 cmpb $0x0,(%r12,%r14,1) f: 74 0a je 0x1b 11: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 16: e8 6b b1 f2 ff call 0xfff2b186 1b: 48 8b 9c 24 d8 00 00 mov 0xd8(%rsp),%rbx 22: 00 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 a8 0b 00 00 jne 0xbdf 37: 8b 1b mov (%rbx),%ebx 39: 89 de mov %ebx,%esi 3b: 81 .byte 0x81 3c: e6 00 out %al,$0x0 3e: 00 07 add %al,(%rdi)