RDX: 0000000000000ad0 RSI: 0000000020000880 RDI: 00000000200007c0 RBP: 00007ffee9500ad0 R08: 0000000000000002 R09: 00007ffee9500a50 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 00007ffee9500be0 R14: 431bde82d7b634db R15: 00007ffee9500ae0 ================================================================== BUG: KASAN: null-ptr-deref in memset include/linux/string.h:362 [inline] BUG: KASAN: null-ptr-deref in udf_write_fi+0x377/0xf40 fs/udf/namei.c:91 Write of size 18446744073709551572 at addr 0000000000000020 by task syz-executor213/8108 CPU: 0 PID: 8108 Comm: syz-executor213 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 kasan_report_error.cold+0x15b/0x1b9 mm/kasan/report.c:352 kasan_report+0x8f/0xa0 mm/kasan/report.c:412 memset+0x20/0x40 mm/kasan/kasan.c:285 memset include/linux/string.h:362 [inline] udf_write_fi+0x377/0xf40 fs/udf/namei.c:91 udf_rename+0x45e/0x1270 fs/udf/namei.c:1185 vfs_rename+0x67e/0x1bc0 fs/namei.c:4479 do_renameat2+0xb59/0xc70 fs/namei.c:4629 __do_sys_rename fs/namei.c:4675 [inline] __se_sys_rename fs/namei.c:4673 [inline] __x64_sys_rename+0x5d/0x80 fs/namei.c:4673 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fad4079f229 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffee9500ab8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fad4079f229 RDX: 0000000000000ad0 RSI: 0000000020000880 RDI: 00000000200007c0 RBP: 00007ffee9500ad0 R08: 0000000000000002 R09: 00007ffee9500a50 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 00007ffee9500be0 R14: 431bde82d7b634db R15: 00007ffee9500ae0 ==================================================================