------------[ cut here ]------------ WARNING: CPU: 1 PID: 11379 at fs/udf/udfdecl.h:116 udf_add_free_space fs/udf/balloc.c:125 [inline] WARNING: CPU: 1 PID: 11379 at fs/udf/udfdecl.h:116 udf_table_new_block fs/udf/balloc.c:667 [inline] WARNING: CPU: 1 PID: 11379 at fs/udf/udfdecl.h:116 udf_new_block+0x1e2b/0x21a0 fs/udf/balloc.c:733 Modules linked in: CPU: 1 PID: 11379 Comm: syz.3.1220 Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:udf_updated_lvid fs/udf/udfdecl.h:114 [inline] RIP: 0010:udf_add_free_space fs/udf/balloc.c:125 [inline] RIP: 0010:udf_table_new_block fs/udf/balloc.c:667 [inline] RIP: 0010:udf_new_block+0x1e2b/0x21a0 fs/udf/balloc.c:733 Code: fd ff ff e8 77 87 a7 fe 48 8b bc 24 80 00 00 00 e8 9a b6 62 07 45 31 ff 48 8b 9c 24 98 00 00 00 e9 7d fd ff ff e8 55 87 a7 fe <0f> 0b 43 80 7c 25 00 00 0f 85 5e fc ff ff e9 61 fc ff ff 89 d9 80 RSP: 0018:ffffc900032b6be0 EFLAGS: 00010283 RAX: ffffffff82d8da0b RBX: 0000000017ccecbf RCX: 0000000000040000 RDX: ffffc90010005000 RSI: 0000000000001ede RDI: 0000000000001edf RBP: ffffc900032b6e30 R08: ffffffff82d8d662 R09: fffffbfff1bd2986 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff1100335d4cf R14: ffff8880717a601c R15: ffff888019aea678 FS: 00007f93963166c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005577f4476a88 CR3: 000000007adc7000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inode_getblk fs/udf/inode.c:858 [inline] udf_get_block+0x1a69/0x5360 fs/udf/inode.c:448 __mpage_writepage+0x4f9/0x1c00 fs/mpage.c:564 write_cache_pages+0xa97/0x1160 mm/page-writeback.c:2277 mpage_writepages+0x13c/0x2f0 fs/mpage.c:712 do_writepages+0x481/0x730 mm/page-writeback.c:2386 filemap_fdatawrite_wbc+0x1d6/0x230 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] __filemap_fdatawrite mm/filemap.c:439 [inline] filemap_fdatawrite+0x12d/0x190 mm/filemap.c:444 udf_expand_file_adinicb+0x59c/0xc00 fs/udf/inode.c:307 udf_file_write_iter+0x245/0x530 fs/udf/file.c:154 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xacd/0xe50 fs/read_write.c:594 ksys_write+0x1a2/0x2c0 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f9397eba9b9 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:00007f9396316038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f9398057058 RCX: 00007f9397eba9b9 RDX: 000000000000fdef RSI: 0000000020000a80 RDI: 000000000000000d RBP: 00007f9397f288d8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9398057058 R15: 00007fffff27f7f8