------------[ cut here ]------------ WARNING: CPU: 1 PID: 9829 at fs/udf/udfdecl.h:127 udf_add_free_space fs/udf/balloc.c:137 [inline] WARNING: CPU: 1 PID: 9829 at fs/udf/udfdecl.h:127 udf_table_new_block fs/udf/balloc.c:657 [inline] WARNING: CPU: 1 PID: 9829 at fs/udf/udfdecl.h:127 udf_new_block+0x1dba/0x2130 fs/udf/balloc.c:734 Modules linked in: CPU: 1 PID: 9829 Comm: syz.3.1125 Not tainted 6.1.123-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:udf_updated_lvid fs/udf/udfdecl.h:125 [inline] RIP: 0010:udf_add_free_space fs/udf/balloc.c:137 [inline] RIP: 0010:udf_table_new_block fs/udf/balloc.c:657 [inline] RIP: 0010:udf_new_block+0x1dba/0x2130 fs/udf/balloc.c:734 Code: fe e9 00 fd ff ff e8 55 95 82 fe 48 8b bc 24 88 00 00 00 e8 58 62 b3 07 45 31 f6 48 8b 5c 24 78 e9 6d fd ff ff e8 36 95 82 fe <0f> 0b e9 64 fc ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 81 e3 ff ff RSP: 0018:ffffc90004d5e600 EFLAGS: 00010287 RAX: ffffffff830806ca RBX: 0000000061616161 RCX: 0000000000080000 RDX: ffffc9000f4dc000 RSI: 0000000000014c34 RDI: 0000000000014c35 RBP: ffffc90004d5e850 R08: ffffffff83080328 R09: fffffbfff1d360ee R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff888052ba801c R15: 0000000000000038 FS: 00007fd12777d6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c37feae CR3: 000000005ef00000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inode_getblk fs/udf/inode.c:746 [inline] udf_get_block+0x1a69/0x5360 fs/udf/inode.c:359 __mpage_writepage+0x40d/0x1930 fs/mpage.c:533 write_cache_pages+0x92e/0x15c0 mm/page-writeback.c:2382 mpage_writepages+0x103/0x1d0 fs/mpage.c:664 do_writepages+0x3a2/0x670 mm/page-writeback.c:2491 filemap_fdatawrite_wbc+0x121/0x180 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] __filemap_fdatawrite mm/filemap.c:427 [inline] filemap_fdatawrite+0x13f/0x1b0 mm/filemap.c:432 udf_expand_file_adinicb+0x657/0x1280 fs/udf/inode.c:308 udf_file_write_iter+0x249/0x670 fs/udf/file.c:155 do_iter_write+0x6e6/0xc40 fs/read_write.c:861 iter_file_splice_write+0x830/0xfc0 fs/splice.c:685 do_splice_from fs/splice.c:763 [inline] direct_splice_actor+0xe3/0x1c0 fs/splice.c:950 splice_direct_to_actor+0x4c7/0xc30 fs/splice.c:896 do_splice_direct+0x2a5/0x3e0 fs/splice.c:1002 do_sendfile+0x619/0xff0 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fd126985d29 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:00007fd12777d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fd126b76080 RCX: 00007fd126985d29 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007fd126a01b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd126b76080 R15: 00007ffda024f5b8