loop0: detected capacity change from 0 to 9607 UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/09/12 12:00 (1000) ================================================================== BUG: KASAN: null-ptr-deref in udf_write_fi+0x380/0xf20 fs/udf/namei.c:91 Write of size 18446744073709551572 at addr 0000000000000020 by task syz-executor182/5245 CPU: 1 PID: 5245 Comm: syz-executor182 Not tainted 6.1.0-rc4-next-20221111-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 kasan_report+0xbb/0x1f0 mm/kasan/report.c:464 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0x13d/0x180 mm/kasan/generic.c:189 memset+0x20/0x40 mm/kasan/shadow.c:44 udf_write_fi+0x380/0xf20 fs/udf/namei.c:91 udf_rename+0x452/0x1260 fs/udf/namei.c:1173 vfs_rename+0x115e/0x1a90 fs/namei.c:4778 do_renameat2+0xb1e/0xc30 fs/namei.c:4929 __do_sys_rename fs/namei.c:4975 [inline] __se_sys_rename fs/namei.c:4973 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:4973 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f81c47b0879 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:00007fff32f494d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f81c47b0879 RDX: 0000000000000500 RSI: 0000000020000680 RDI: 0000000020000640 RBP: 00007fff32f49500 R08: 0000000000000002 R09: 00007fff32f49510 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 00007fff32f49540 R14: 00007fff32f49520 R15: 0000000000000004 ==================================================================