loop1: detected capacity change from 0 to 2048 UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) ------------[ cut here ]------------ WARNING: CPU: 0 PID: 12352 at fs/udf/inode.c:1998 __udf_add_aext+0x65c/0x7d0 fs/udf/inode.c:1998 Modules linked in: CPU: 1 PID: 12352 Comm: syz-executor.1 Not tainted 6.2.0-rc5-syzkaller-00020-g7bf70dbb1882 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__udf_add_aext+0x65c/0x7d0 fs/udf/inode.c:1998 Code: 7a ac a3 fe 4c 8b 6c 24 18 4c 89 ff 48 8b 44 24 20 49 29 c5 4c 89 ee e8 b2 a8 a3 fe 4d 39 ef 0f 84 b3 fb ff ff e8 54 ac a3 fe <0f> 0b e9 a7 fb ff ff e8 48 ac a3 fe 48 8b 44 24 20 48 05 b0 00 00 RSP: 0018:ffffc900033ef4a0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffffc900033ef7f8 RCX: ffffc90003fc1000 RDX: 0000000000040000 RSI: ffffffff82ddb4dc RDI: 0000000000000006 RBP: ffff8880918f1af8 R08: 0000000000000006 R09: 0000000000000150 R10: ffffffffffffff68 R11: 0000000000000000 R12: 0000000000000001 R13: ffffffffffffff68 R14: 0000000000000010 R15: 0000000000000150 FS: 00007fee74239700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdfcdf85058 CR3: 00000000758c6000 CR4: 0000000000350ee0 Call Trace: udf_add_aext+0x23f/0x2e0 fs/udf/inode.c:2060 udf_insert_aext fs/udf/inode.c:2221 [inline] udf_update_extents fs/udf/inode.c:1175 [inline] inode_getblk+0x22db/0x4010 fs/udf/inode.c:879 udf_get_block.part.0+0x26c/0x5b0 fs/udf/inode.c:444 udf_get_block+0x3a/0x210 fs/udf/inode.c:420 __block_write_begin_int+0x3bd/0x14b0 fs/buffer.c:1991 __block_write_begin fs/buffer.c:2041 [inline] block_write_begin+0xb9/0x4d0 fs/buffer.c:2102 udf_write_begin+0x35/0xa0 fs/udf/inode.c:207 generic_perform_write+0x256/0x570 mm/filemap.c:3772 __generic_file_write_iter+0x2ae/0x500 mm/filemap.c:3900 udf_file_write_iter+0x2d0/0x650 fs/udf/file.c:170 call_write_iter include/linux/fs.h:2189 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x9ed/0xdd0 fs/read_write.c:584 ksys_write+0x12b/0x250 fs/read_write.c:637 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:0x7fee7348c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fee74239168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fee735abf80 RCX: 00007fee7348c0c9 RDX: 00000000fffffdef RSI: 0000000020000140 RDI: 0000000000000004 RBP: 00007fee734e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff30f59cff R14: 00007fee74239300 R15: 0000000000022000