------------[ cut here ]------------ WARNING: CPU: 0 PID: 24443 at fs/udf/inode.c:2017 __udf_add_aext+0x67a/0x7d0 fs/udf/inode.c:2017 Modules linked in: CPU: 0 PID: 24443 Comm: syz-executor.0 Not tainted 6.1.0-rc5-next-20221116-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__udf_add_aext+0x67a/0x7d0 fs/udf/inode.c:2017 Code: ef 0f 84 b3 fb ff ff e8 54 1b a4 fe 0f 0b e9 a7 fb ff ff e8 48 1b a4 fe 48 8b 44 24 20 48 05 b0 00 00 00 eb b7 e8 36 1b a4 fe <0f> 0b e9 27 fb ff ff e8 2a 1b a4 fe 0f 0b e9 7d fb ff ff 41 bc fb RSP: 0018:ffffc900161fee08 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffffc900161ff290 RCX: ffffc90003d21000 RDX: 0000000000040000 RSI: ffffffff82dc89aa RDI: 0000000000000006 RBP: ffff888031169af8 R08: 0000000000000006 R09: 0000000000000000 R10: 00000000000001d0 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000000001d0 R14: 0000000000000010 R15: 00000000000001e8 FS: 00007fa8fd9b6700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556952708 CR3: 00000000760e0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_setup_indirect_aext+0x57a/0x880 fs/udf/inode.c:1983 udf_add_aext+0x20c/0x2e0 fs/udf/inode.c:2070 udf_insert_aext fs/udf/inode.c:2236 [inline] udf_update_extents fs/udf/inode.c:1190 [inline] inode_getblk+0x22db/0x4010 fs/udf/inode.c:894 udf_get_block.part.0+0x1c7/0x4e0 fs/udf/inode.c:443 udf_get_block+0x3a/0x210 fs/udf/inode.c:425 __block_write_begin_int+0x3bd/0x14b0 fs/buffer.c:1991 __block_write_begin fs/buffer.c:2041 [inline] block_write_begin+0xb9/0x450 fs/buffer.c:2102 udf_write_begin+0x35/0xa0 fs/udf/inode.c:212 generic_perform_write+0x256/0x570 mm/filemap.c:3771 __generic_file_write_iter+0x2ae/0x4d0 mm/filemap.c:3899 udf_file_write_iter+0x2d0/0x650 fs/udf/file.c:170 call_write_iter include/linux/fs.h:2160 [inline] do_iter_readv_writev+0x20b/0x3b0 fs/read_write.c:735 do_iter_write+0x182/0x700 fs/read_write.c:861 vfs_iter_write+0x74/0xa0 fs/read_write.c:902 iter_file_splice_write+0x745/0xc90 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0x114/0x180 fs/splice.c:931 splice_direct_to_actor+0x335/0x8a0 fs/splice.c:886 do_splice_direct+0x1ab/0x280 fs/splice.c:974 do_sendfile+0xb19/0x1270 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64 fs/read_write.c:1309 [inline] __x64_sys_sendfile64+0x259/0x2c0 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa8fcc8b639 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:00007fa8fd9b6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fa8fcdabf80 RCX: 00007fa8fcc8b639 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007fa8fcce6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd1cc9ba6f R14: 00007fa8fd9b6300 R15: 0000000000022000