------------[ cut here ]------------ WARNING: CPU: 0 PID: 1571 at fs/udf/inode.c:2018 __udf_add_aext+0x574/0x710 Modules linked in: CPU: 0 PID: 1571 Comm: syz-executor.3 Not tainted 6.1.0-rc5-syzkaller-00144-g84368d882b96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__udf_add_aext+0x574/0x710 fs/udf/inode.c:2017 Code: 48 89 df e8 7e c7 e1 fe 48 8b 3b be 18 00 00 00 e8 c1 b7 02 00 43 80 3c 34 00 0f 85 d7 fe ff ff e9 da fe ff ff e8 1c b1 8d fe <0f> 0b e9 ce fb ff ff e8 10 b1 8d fe 0f 0b e9 34 fc ff ff e8 04 b1 RSP: 0018:ffffc90006e46c90 EFLAGS: 00010293 RAX: ffffffff82fce734 RBX: 1ffff92000dc8e01 RCX: ffff888085d91d40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000000001d0 RBP: 00000000000001d0 R08: ffffffff82fce2fb R09: ffffffff82fce221 R10: 0000000000000002 R11: ffff888085d91d40 R12: 0000000000000000 R13: ffffc90006e47000 R14: dffffc0000000000 R15: ffffc90006e47008 FS: 00007efc06526700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efc6dbf7000 CR3: 0000000078d24000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_setup_indirect_aext+0x633/0x8a0 fs/udf/inode.c:1983 udf_add_aext fs/udf/inode.c:2070 [inline] udf_insert_aext fs/udf/inode.c:2236 [inline] udf_update_extents fs/udf/inode.c:1190 [inline] inode_getblk fs/udf/inode.c:894 [inline] udf_get_block+0x3afa/0x5020 fs/udf/inode.c:443 __block_write_begin_int+0x54c/0x1a80 fs/buffer.c:1991 __block_write_begin fs/buffer.c:2041 [inline] block_write_begin+0x93/0x1e0 fs/buffer.c:2102 udf_write_begin+0x2d/0x60 fs/udf/inode.c:212 generic_perform_write+0x2e4/0x5e0 mm/filemap.c:3753 __generic_file_write_iter+0x176/0x400 mm/filemap.c:3881 udf_file_write_iter+0x325/0x5f0 fs/udf/file.c:170 do_iter_write+0x6c2/0xc20 fs/read_write.c:861 iter_file_splice_write+0x7fc/0xfc0 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0xe6/0x1c0 fs/splice.c:931 splice_direct_to_actor+0x4e4/0xc00 fs/splice.c:886 do_splice_direct+0x279/0x3d0 fs/splice.c:974 do_sendfile+0x5fb/0xf80 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x14f/0x1b0 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efc0588b639 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:00007efc06526168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007efc059abf80 RCX: 00007efc0588b639 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007efc058e6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe53b884ff R14: 00007efc06526300 R15: 0000000000022000