------------[ cut here ]------------ WARNING: CPU: 0 PID: 16555 at fs/udf/inode.c:2052 __udf_add_aext+0x682/0x7e0 fs/udf/inode.c:2052 Modules linked in: CPU: 0 PID: 16555 Comm: syz-executor.3 Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 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 af 6e 8d fe 90 <0f> 0b 90 e9 22 fb ff ff e8 a1 6e 8d fe 90 0f 0b 90 e9 78 fb ff ff RSP: 0018:ffffc9000382f148 EFLAGS: 00010283 RAX: 000000000002eba1 RBX: ffffc9000382f620 RCX: ffffc90004562000 RDX: 0000000000040000 RSI: ffffffff830053a1 RDI: 0000000000000006 RBP: ffff88803d83c7d0 R08: 0000000000000006 R09: 0000000000000000 R10: 00000000000001d0 R11: 0000000000000003 R12: 00000000000001d0 R13: 0000000000000010 R14: 00000000000001e8 R15: ffffc9000382f628 FS: 00007fc1c2e856c0(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3032f000 CR3: 0000000024e32000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 00000000872c9164 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:0x7fc1c207dea9 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:00007fc1c2e850c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007fc1c21abf80 RCX: 00007fc1c207dea9 RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000005 RBP: 00007fc1c20ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000010000000005 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc1c21abf80 R15: 00007ffcad4982f8