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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5035cf6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f50366a3f80 RCX: 00007f5036582669 RDX: 0000000000000000 RSI: 0000000020000880 RDI: 00000000200007c0 RBP: 00007f5035cf61d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffd0523030f R14: 00007f5035cf6300 R15: 0000000000022000 ================================================================== BUG: KASAN: null-ptr-deref in memset include/linux/string.h:432 [inline] BUG: KASAN: null-ptr-deref in udf_write_fi+0x2cc/0xef0 fs/udf/namei.c:91 Write of size 18446744073709551572 at addr 0000000000000020 by task syz-executor.0/6043 CPU: 1 PID: 6043 Comm: syz-executor.0 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x9a/0xcc lib/dump_stack.c:120 __kasan_report mm/kasan/report.c:400 [inline] kasan_report.cold+0x5f/0xd5 mm/kasan/report.c:413 check_memory_region_inline mm/kasan/generic.c:179 [inline] check_memory_region+0x13d/0x180 mm/kasan/generic.c:185 memset+0x20/0x40 mm/kasan/shadow.c:43 memset include/linux/string.h:432 [inline] udf_write_fi+0x2cc/0xef0 fs/udf/namei.c:91 udf_rename+0x6a4/0x1050 fs/udf/namei.c:1165 vfs_rename+0xc5f/0x1580 fs/namei.c:4312 do_renameat2+0x524/0x980 fs/namei.c:4457 __do_sys_rename fs/namei.c:4508 [inline] __se_sys_rename fs/namei.c:4506 [inline] __x64_sys_rename+0x78/0x90 fs/namei.c:4506 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f5036582669 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5035cf6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f50366a3f80 RCX: 00007f5036582669 RDX: 0000000000000000 RSI: 0000000020000880 RDI: 00000000200007c0 RBP: 00007f5035cf61d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffd0523030f R14: 00007f5035cf6300 R15: 0000000000022000 ================================================================== ---------------- Code disassembly (best guess), 1 bytes skipped: 0: ff c3 inc %ebx 2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 9: 00 00 00 c: 0f 1f 40 00 nopl 0x0(%rax) 10: 48 89 f8 mov %rdi,%rax 13: 48 89 f7 mov %rsi,%rdi 16: 48 89 d6 mov %rdx,%rsi 19: 48 89 ca mov %rcx,%rdx 1c: 4d 89 c2 mov %r8,%r10 1f: 4d 89 c8 mov %r9,%r8 22: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 27: 0f 05 syscall * 29: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 2f: 73 01 jae 0x32 31: c3 retq 32: 48 c7 c1 b8 ff ff ff mov $0xffffffffffffffb8,%rcx 39: f7 d8 neg %eax 3b: 64 89 01 mov %eax,%fs:(%rcx) 3e: 48 rex.W