------------[ cut here ]------------ WARNING: CPU: 1 PID: 7491 at fs/udf/inode.c:2053 __udf_add_aext+0x555/0x700 fs/udf/inode.c:2052 Modules linked in: CPU: 1 PID: 7491 Comm: syz-executor.2 Not tainted 6.9.0-rc4-syzkaller-00329-g48cf398f15fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__udf_add_aext+0x555/0x700 fs/udf/inode.c:2052 Code: 16 dd fe 49 8b 3c 24 4c 89 fe e8 f6 96 ff fe 31 c0 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d e9 ac f3 92 08 e8 fc b3 78 fe 90 <0f> 0b 90 e9 e7 fb ff ff e8 ee b3 78 fe 90 0f 0b 90 e9 54 fc ff ff RSP: 0018:ffffc90016be6f98 EFLAGS: 00010283 RAX: ffffffff831d4d64 RBX: 1ffff92002d7cebd RCX: 0000000000040000 RDX: ffffc90009f4a000 RSI: 000000000001a114 RDI: 000000000001a115 RBP: 00000000000001d0 R08: ffffffff831d4946 R09: ffffffff831d4876 R10: 0000000000000002 R11: ffff88801a738000 R12: ffffc90016be75e0 R13: 0000000000000000 R14: dffffc0000000000 R15: ffffc90016be75e8 FS: 00007f236687e6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f883cd79198 CR3: 000000005ed52000 CR4: 0000000000350ef0 Call Trace: udf_setup_indirect_aext+0x792/0xa50 fs/udf/inode.c:2018 udf_add_aext fs/udf/inode.c:2105 [inline] udf_do_extend_file+0x6f8/0x11e0 fs/udf/inode.c:576 inode_getblk fs/udf/inode.c:816 [inline] udf_map_block+0x18d1/0x5560 fs/udf/inode.c:444 __udf_get_block+0x126/0x410 fs/udf/inode.c:458 __block_write_begin_int+0x50e/0x1a70 fs/buffer.c:2105 __block_write_begin fs/buffer.c:2154 [inline] block_write_begin+0x9b/0x1e0 fs/buffer.c:2213 udf_write_begin+0x10d/0x1a0 fs/udf/inode.c:261 generic_perform_write+0x324/0x640 mm/filemap.c:3974 udf_file_write_iter+0x2fd/0x660 fs/udf/file.c:111 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa86/0xcb0 fs/read_write.c:590 ksys_pwrite64 fs/read_write.c:705 [inline] __do_sys_pwrite64 fs/read_write.c:715 [inline] __se_sys_pwrite64 fs/read_write.c:712 [inline] __x64_sys_pwrite64+0x1aa/0x230 fs/read_write.c:712 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2365a7dea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f236687e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007f2365babf80 RCX: 00007f2365a7dea9 RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000004 RBP: 00007f2365aca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000010000000005 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2365babf80 R15: 00007ffc23bc7628