------------[ cut here ]------------ WARNING: CPU: 1 PID: 11213 at fs/udf/inode.c:2079 __udf_add_aext+0x682/0x7e0 fs/udf/inode.c:2079 Modules linked in: CPU: 1 UID: 0 PID: 11213 Comm: syz.0.1172 Not tainted 6.12.0-rc5-syzkaller-00063-g0fc810ae3ae1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__udf_add_aext+0x682/0x7e0 fs/udf/inode.c:2079 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 39 bb 02 00 e9 11 fe ff ff e8 6f 13 86 fe 90 <0f> 0b 90 e9 22 fb ff ff e8 61 13 86 fe 90 0f 0b 90 e9 78 fb ff ff RSP: 0018:ffffc9000b99f348 EFLAGS: 00010283 RAX: 000000000000ce83 RBX: ffffc9000b99f6f8 RCX: ffffc9000cca9000 RDX: 0000000000040000 RSI: ffffffff83076801 RDI: 0000000000000006 RBP: ffff8880570f0e18 R08: 0000000000000006 R09: 0000000000000004 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000010 R14: 0000000000000018 R15: ffffc9000b99f700 FS: 00007f9daaedb6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2dd0fff8 CR3: 000000004b1fa000 CR4: 0000000000350ef0 Call Trace: udf_add_aext+0x23b/0x2e0 fs/udf/inode.c:2137 udf_insert_aext fs/udf/inode.c:2316 [inline] udf_update_extents fs/udf/inode.c:1204 [inline] inode_getblk+0x2a2f/0x40b0 fs/udf/inode.c:918 udf_map_block+0x2de/0x5b0 fs/udf/inode.c:447 __udf_get_block+0x99/0x330 fs/udf/inode.c:461 __block_write_begin_int+0x4fe/0x16e0 fs/buffer.c:2121 block_write_begin+0x9a/0x1d0 fs/buffer.c:2231 udf_write_begin+0x1c7/0x270 fs/udf/inode.c:256 generic_perform_write+0x2bd/0x920 mm/filemap.c:4054 __generic_file_write_iter+0x1f7/0x240 mm/filemap.c:4155 udf_file_write_iter+0x233/0x740 fs/udf/file.c:111 new_sync_write fs/read_write.c:590 [inline] vfs_write+0x5b1/0x1150 fs/read_write.c:683 ksys_write+0x12f/0x260 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9daa17e719 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9daaedb038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f9daa336058 RCX: 00007f9daa17e719 RDX: 00000000fffffdef RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007f9daa1f132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9daa336058 R15: 00007ffdd0e1fbc8