------------[ cut here ]------------ within_last_ext && elen > ((loff_t)offset + 1) << inode->i_blkbits WARNING: fs/udf/inode.c:692 at udf_extend_file fs/udf/inode.c:691 [inline], CPU#1: syz.8.3559/20542 WARNING: fs/udf/inode.c:692 at udf_setsize+0xcb2/0xf50 fs/udf/inode.c:1304, CPU#1: syz.8.3559/20542 Modules linked in: CPU: 1 UID: 0 PID: 20542 Comm: syz.8.3559 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:udf_extend_file fs/udf/inode.c:691 [inline] RIP: 0010:udf_setsize+0xcb2/0xf50 fs/udf/inode.c:1304 Code: e4 2e 10 48 3b 84 24 c0 00 00 00 75 7a 44 89 f8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 05 7d 81 08 cc e8 ff f0 61 fe 90 <0f> 0b 90 e9 b8 f8 ff ff 44 89 f9 80 e1 07 38 c1 0f 8c d6 f3 ff ff RSP: 0018:ffffc90005687ae0 EFLAGS: 00010287 RAX: ffffffff8365cba1 RBX: ffff888050993b50 RCX: 0000000000080000 RDX: ffffc9001501c000 RSI: 0000000000000455 RDI: 0000000000000456 RBP: ffffc90005687bf8 R08: ffff888050993b13 R09: 1ffff1100a132762 R10: dffffc0000000000 R11: ffffed100a132763 R12: 0000000000000200 R13: 0000000000001000 R14: 0000000000000009 R15: 0000000000000001 FS: 00007fe43603b6c0(0000) GS:ffff888124dd5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f273bd7d286 CR3: 0000000057024000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000c DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: udf_setattr+0x412/0x6f0 fs/udf/file.c:238 notify_change+0xbba/0xea0 fs/attr.c:556 do_truncate+0x1c2/0x250 fs/open.c:68 do_ftruncate+0x4d4/0x580 fs/open.c:194 ksys_ftruncate fs/open.c:206 [inline] __do_sys_ftruncate fs/open.c:211 [inline] __se_sys_ftruncate fs/open.c:209 [inline] __x64_sys_ftruncate+0x8f/0xe0 fs/open.c:209 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe43519e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe43603b028 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007fe435426090 RCX: 00007fe43519e0d9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000004 RBP: 00007fe435235024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe435426128 R14: 00007fe435426090 R15: 00007fffcc3e5a88