loop4: detected capacity change from 0 to 2048 ================================================================== BUG: KASAN: null-ptr-deref in udf_write_fi+0x4f5/0xb60 fs/udf/namei.c:91 Write of size 18446744073709551572 at addr 0000000000000020 by task syz-executor.4/28499 CPU: 0 PID: 28499 Comm: syz-executor.4 Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 print_report+0xf1/0x220 mm/kasan/report.c:436 kasan_report+0xfb/0x130 mm/kasan/report.c:495 kasan_check_range+0x2a7/0x2e0 mm/kasan/generic.c:189 memset+0x1f/0x40 mm/kasan/shadow.c:44 udf_write_fi+0x4f5/0xb60 fs/udf/namei.c:91 udf_delete_entry fs/udf/namei.c:577 [inline] udf_rename+0x9b6/0x1500 fs/udf/namei.c:1173 vfs_rename+0xd67/0x1150 fs/namei.c:4756 do_renameat2+0xba9/0x1400 fs/namei.c:4907 __do_sys_rename fs/namei.c:4953 [inline] __se_sys_rename fs/namei.c:4951 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:4951 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5f0048b5a9 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:00007f5f0157d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f5f005abf80 RCX: 00007f5f0048b5a9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000040 RBP: 00007f5f0157d1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007fff004ddf0f R14: 00007f5f0157d300 R15: 0000000000022000 ==================================================================