general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 1 PID: 6482 Comm: syz.3.113 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:utf8nlookup+0x39/0xa50 fs/unicode/utf8-norm.c:306 Code: 89 44 24 10 49 89 ce 48 89 14 24 89 f5 49 89 fd 49 bf 00 00 00 00 00 fc ff df e8 82 e9 f7 fe 49 8d 5d 18 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 a8 2f 4f ff 48 8b 1b 48 83 c3 30 RSP: 0000:ffffc90003857520 EFLAGS: 00010206 RAX: 0000000000000003 RBX: 0000000000000018 RCX: 0000000000080000 RDX: ffffc9000d8bd000 RSI: 00000000000011e4 RDI: 00000000000011e5 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: ffffc900038576b8 R11: fffff5200070aeda R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88805eca61e8 R15: dffffc0000000000 FS: 00007f5defcb76c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5defcb6f98 CR3: 000000006cd78000 CR4: 00000000003506e0 Call Trace: utf8byte+0x34f/0x1370 fs/unicode/utf8-norm.c:-1 utf8_casefold+0x130/0x230 fs/unicode/utf8-core.c:109 ext4_fname_setup_ci_filename+0x1d5/0x430 fs/ext4/namei.c:1463 ext4_fname_prepare_lookup+0x213/0x3a0 fs/ext4/crypto.c:55 ext4_lookup_entry fs/ext4/namei.c:1767 [inline] ext4_lookup+0xfa/0x6d0 fs/ext4/namei.c:1842 __lookup_slow+0x281/0x3b0 fs/namei.c:1694 lookup_slow+0x53/0x70 fs/namei.c:1711 walk_component+0x2be/0x3f0 fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x169/0x440 fs/namei.c:2483 filename_lookup+0x1f4/0x510 fs/namei.c:2512 user_path_at_empty+0x42/0x60 fs/namei.c:2909 user_path_at include/linux/namei.h:57 [inline] do_sys_truncate+0xa7/0x1a0 fs/open.c:133 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f5deed8ebe9 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:00007f5defcb7038 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f5deefc6090 RCX: 00007f5deed8ebe9 RDX: 0000000000000000 RSI: 000000000000bf39 RDI: 0000200000000900 RBP: 00007f5deee11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5deefc6128 R14: 00007f5deefc6090 R15: 00007ffcab137ca8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:utf8nlookup+0x39/0xa50 fs/unicode/utf8-norm.c:306 Code: 89 44 24 10 49 89 ce 48 89 14 24 89 f5 49 89 fd 49 bf 00 00 00 00 00 fc ff df e8 82 e9 f7 fe 49 8d 5d 18 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 a8 2f 4f ff 48 8b 1b 48 83 c3 30 RSP: 0000:ffffc90003857520 EFLAGS: 00010206 RAX: 0000000000000003 RBX: 0000000000000018 RCX: 0000000000080000 RDX: ffffc9000d8bd000 RSI: 00000000000011e4 RDI: 00000000000011e5 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: ffffc900038576b8 R11: fffff5200070aeda R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88805eca61e8 R15: dffffc0000000000 FS: 00007f5defcb76c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000006cd78000 CR4: 00000000003506f0 ---------------- Code disassembly (best guess): 0: 89 44 24 10 mov %eax,0x10(%rsp) 4: 49 89 ce mov %rcx,%r14 7: 48 89 14 24 mov %rdx,(%rsp) b: 89 f5 mov %esi,%ebp d: 49 89 fd mov %rdi,%r13 10: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 17: fc ff df 1a: e8 82 e9 f7 fe call 0xfef7e9a1 1f: 49 8d 5d 18 lea 0x18(%r13),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 a8 2f 4f ff call 0xff4f2fe1 39: 48 8b 1b mov (%rbx),%rbx 3c: 48 83 c3 30 add $0x30,%rbx