EXT4-fs error (device loop0): ext4_do_update_inode:5097: inode #2: comm syz-executor.0: corrupted inode contents EXT4-fs error (device loop0): ext4_dirty_inode:5956: inode #2: comm syz-executor.0: mark_inode_dirty error EXT4-fs error (device loop0): ext4_do_update_inode:5097: inode #2: comm syz-executor.0: corrupted inode contents EXT4-fs error (device loop0): __ext4_ext_dirty:202: inode #2: comm syz-executor.0: mark_inode_dirty error 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: 5466 Comm: syz-executor.0 Not tainted 6.6.0-rc1-syzkaller-00125-ge42bebf6db29-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:utf8nlookup+0x39/0xaa0 fs/unicode/utf8-norm.c:306 Code: 89 c4 48 89 4c 24 08 48 89 14 24 89 f5 49 89 fd 49 be 00 00 00 00 00 fc ff df e8 22 a5 ea fe 49 8d 5d 18 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 c8 93 44 ff 48 8b 1b 48 83 c3 30 RSP: 0018:ffffc9000539f800 EFLAGS: 00010206 RAX: 0000000000000003 RBX: 0000000000000018 RCX: ffff888026cc8000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: ffffc9000539f998 R11: fffff52000a73f36 R12: 0000000000000005 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88806a74d210 FS: 00007f0eaa6896c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000080 CR3: 000000006ad2f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: utf8byte+0x334/0x1350 utf8_casefold+0x125/0x220 fs/unicode/utf8-core.c:109 ext4_fname_setup_ci_filename+0x1b0/0x430 fs/ext4/namei.c:1458 ext4_fname_prepare_lookup+0x2f7/0x4e0 fs/ext4/crypto.c:55 ext4_lookup_entry fs/ext4/namei.c:1760 [inline] ext4_lookup+0x121/0x750 fs/ext4/namei.c:1835 lookup_one_qstr_excl+0x11b/0x250 fs/namei.c:1608 filename_create+0x297/0x530 fs/namei.c:3890 do_mkdirat+0xb7/0x520 fs/namei.c:4135 __do_sys_mkdirat fs/namei.c:4158 [inline] __se_sys_mkdirat fs/namei.c:4156 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4156 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0ea987b5e7 Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0eaa688ee8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 0000000020000300 RCX: 00007f0ea987b5e7 RDX: 00000000000001ff RSI: 0000000020000540 RDI: 00000000ffffff9c RBP: 00000000200000c0 R08: 00000000000000fd R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000020000540 R13: 00007f0eaa688f40 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:utf8nlookup+0x39/0xaa0 fs/unicode/utf8-norm.c:306 Code: 89 c4 48 89 4c 24 08 48 89 14 24 89 f5 49 89 fd 49 be 00 00 00 00 00 fc ff df e8 22 a5 ea fe 49 8d 5d 18 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 c8 93 44 ff 48 8b 1b 48 83 c3 30 RSP: 0018:ffffc9000539f800 EFLAGS: 00010206 RAX: 0000000000000003 RBX: 0000000000000018 RCX: ffff888026cc8000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: ffffc9000539f998 R11: fffff52000a73f36 R12: 0000000000000005 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88806a74d210 FS: 00007f0eaa6896c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000080 CR3: 000000006ad2f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 c4 mov %eax,%esp 2: 48 89 4c 24 08 mov %rcx,0x8(%rsp) 7: 48 89 14 24 mov %rdx,(%rsp) b: 89 f5 mov %esi,%ebp d: 49 89 fd mov %rdi,%r13 10: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14 17: fc ff df 1a: e8 22 a5 ea fe call 0xfeeaa541 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 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 c8 93 44 ff call 0xff449401 39: 48 8b 1b mov (%rbx),%rbx 3c: 48 83 c3 30 add $0x30,%rbx