------------[ cut here ]------------ WARNING: CPU: 0 PID: 5355 at fs/udf/inode.c:684 udf_extend_file fs/udf/inode.c:683 [inline] WARNING: CPU: 0 PID: 5355 at fs/udf/inode.c:684 udf_setsize+0xd4e/0x1000 fs/udf/inode.c:1300 Modules linked in: CPU: 0 UID: 0 PID: 5355 Comm: syz.0.0 Not tainted 6.16.0-syzkaller-12250-gc30a13538d9f #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:udf_extend_file fs/udf/inode.c:683 [inline] RIP: 0010:udf_setsize+0xd4e/0x1000 fs/udf/inode.c:1300 Code: 44 89 e0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc e8 f0 1c 88 fe 45 89 f4 e9 49 fe ff ff e8 e3 1c 88 fe 90 <0f> 0b 90 e9 00 f8 ff ff 44 89 e9 80 e1 07 38 c1 0f 8c 49 f3 ff ff RSP: 0018:ffffc9000d3dfac0 EFLAGS: 00010283 RAX: ffffffff83379e7d RBX: ffff888044db4e18 RCX: 0000000000100000 RDX: ffffc9000ea6b000 RSI: 00000000000009d8 RDI: 00000000000009d9 RBP: ffffc9000d3dfbe8 R08: ffff888044db4ddb R09: 1ffff110089b69bb R10: dffffc0000000000 R11: ffffed10089b69bc R12: 0000000000000001 R13: 000000000000001f R14: 0000000000000200 R15: 0000000000000e00 FS: 00007fe21480c6c0(0000) GS:ffff88808d211000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000000 CR3: 0000000044111000 CR4: 0000000000352ef0 Call Trace: udf_setattr+0x3a1/0x5a0 fs/udf/file.c:236 notify_change+0xb33/0xe40 fs/attr.c:552 do_truncate+0x1a4/0x220 fs/open.c:68 do_ftruncate+0x489/0x540 fs/open.c:195 do_sys_ftruncate fs/open.c:210 [inline] __do_sys_ftruncate fs/open.c:215 [inline] __se_sys_ftruncate fs/open.c:213 [inline] __x64_sys_ftruncate+0x92/0xf0 fs/open.c:213 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe21398ebe9 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:00007fe21480c038 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007fe213bb6090 RCX: 00007fe21398ebe9 RDX: 0000000000000000 RSI: 000000000000001f RDI: 0000000000000005 RBP: 00007fe213a11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe213bb6128 R14: 00007fe213bb6090 R15: 00007ffd42fd3e68