------------[ cut here ]------------ WARNING: CPU: 1 PID: 155 at fs/udf/inode.c:2025 __udf_add_aext+0x54c/0x6f0 Modules linked in: CPU: 1 PID: 155 Comm: kworker/u4:3 Not tainted 5.15.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: writeback wb_workfn (flush-7:2) RIP: 0010:__udf_add_aext+0x54c/0x6f0 fs/udf/inode.c:2024 Code: 4c 89 e7 e8 86 ad ef fe 49 8b 3c 24 4c 89 fe e8 ca 1d 0b ff 31 c0 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 84 e4 a5 fe <0f> 0b e9 ed fb ff ff e8 78 e4 a5 fe 0f 0b e9 5c fc ff ff e8 6c e4 RSP: 0018:ffffc90002036898 EFLAGS: 00010293 RAX: ffffffff82da757c RBX: 1ffff92000406d59 RCX: ffff88801c549dc0 RDX: 0000000000000000 RSI: 0000000000000170 RDI: 0000000000000160 RBP: 0000000000000160 R08: ffffffff82da7162 R09: ffffffff82da7092 R10: 0000000000000002 R11: ffff88801c549dc0 R12: ffffc90002036ac0 R13: 0000000000000170 R14: dffffc0000000000 R15: ffffc90002036ac8 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002000 CR3: 000000001f4e6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_add_aext fs/udf/inode.c:2082 [inline] udf_insert_aext fs/udf/inode.c:2244 [inline] udf_update_extents fs/udf/inode.c:1172 [inline] inode_getblk fs/udf/inode.c:888 [inline] udf_get_block+0x3ccb/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 __writeback_single_inode+0x15b/0xe30 fs/fs-writeback.c:1647 writeback_sb_inodes+0xbce/0x1a40 fs/fs-writeback.c:1930 wb_writeback+0x451/0xc50 fs/fs-writeback.c:2104 wb_do_writeback fs/fs-writeback.c:2247 [inline] wb_workfn+0x46c/0x1130 fs/fs-writeback.c:2288 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287