------------[ cut here ]------------ WARNING: CPU: 0 PID: 3479 at fs/udf/inode.c:2052 __udf_add_aext+0x682/0x7e0 fs/udf/inode.c:2052 Modules linked in: CPU: 0 PID: 3479 Comm: syz-executor.0 Not tainted 6.9.0-rc6-syzkaller-00022-g98369dccd2f8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__udf_add_aext+0x682/0x7e0 fs/udf/inode.c:2052 Code: 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 54 01 00 00 49 8b 7c 24 28 be 18 00 00 00 e8 49 bd 02 00 e9 11 fe ff ff e8 6f 6e 8d fe 90 <0f> 0b 90 e9 22 fb ff ff e8 61 6e 8d fe 90 0f 0b 90 e9 78 fb ff ff RSP: 0018:ffffc900035cf148 EFLAGS: 00010287 RAX: 000000000002509f RBX: ffffc900035cf620 RCX: ffffc90013404000 RDX: 0000000000040000 RSI: ffffffff830057c1 RDI: 0000000000000006 RBP: ffff88805c6be7d8 R08: 0000000000000006 R09: 0000000000000000 R10: 00000000000001d0 R11: 0000000000000003 R12: 00000000000001d0 R13: 0000000000000010 R14: 00000000000001e8 R15: ffffc900035cf628 FS: 00007f61e6fff6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5dfdc90440 CR3: 0000000069088000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_setup_indirect_aext+0x81f/0xa20 fs/udf/inode.c:2018 udf_add_aext+0x208/0x2e0 fs/udf/inode.c:2105 udf_do_extend_file+0x427/0x8f0 fs/udf/inode.c:576 inode_getblk+0xf9b/0x3f60 fs/udf/inode.c:816 udf_map_block+0x2de/0x570 fs/udf/inode.c:444 __udf_get_block+0x99/0x330 fs/udf/inode.c:458 __block_write_begin_int+0x4fb/0x16e0 fs/buffer.c:2105 __block_write_begin fs/buffer.c:2154 [inline] block_write_begin+0xb1/0x4a0 fs/buffer.c:2213 udf_write_begin+0x287/0x360 fs/udf/inode.c:261 generic_perform_write+0x272/0x620 mm/filemap.c:3974 __generic_file_write_iter+0x1fd/0x240 mm/filemap.c:4069 udf_file_write_iter+0x239/0x740 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+0x6db/0x1100 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+0x1fe/0x260 fs/read_write.c:712 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f61e747dea9 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:00007f61e6fff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007f61e75ac050 RCX: 00007f61e747dea9 RDX: 0000000000000001 RSI: 0000000020000300 RDI: 0000000000000006 RBP: 00007f61e74ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000010000000005 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f61e75ac050 R15: 00007ffe793ddf18