syzbot


WARNING in udf_setsize

Status: upstream: reported C repro on 2023/09/16 17:41
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+cd0fdf627e8dc19260f1@syzkaller.appspotmail.com
First crash: 836d, last: 4d12h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/09/16 upstream (ToT) ad8a69f361b9 C [report] WARNING in udf_setsize
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in udf_setsize origin:upstream -1 C error 6 13h07m 983d 0/3 upstream: reported C repro on 2023/04/22 09:32
upstream WARNING in udf_setsize udf -1 C done 24 939d 1109d 22/29 fixed on 2023/06/08 14:41
linux-4.14 WARNING in udf_setsize -1 C 1 1045d 1045d 0/1 upstream: reported C repro on 2023/02/20 06:04
upstream WARNING in udf_setsize (2) udf -1 C done 138 3d06h 932d 0/29 upstream: reported C repro on 2023/06/12 18:18
Fix bisection attempts (12)
Created Duration User Patch Repo Result
2025/01/12 18:02 2h52m bisect fix linux-6.1.y error job log
2024/11/18 09:02 1h04m bisect fix linux-6.1.y OK (0) job log log
2024/10/14 09:18 3h08m bisect fix linux-6.1.y OK (0) job log log
2024/08/27 01:32 2h09m bisect fix linux-6.1.y OK (0) job log log
2024/07/17 08:12 2h25m bisect fix linux-6.1.y OK (0) job log log
2024/06/05 23:59 1h22m bisect fix linux-6.1.y OK (0) job log log
2024/04/14 19:05 3h08m bisect fix linux-6.1.y OK (0) job log log
2024/03/04 11:51 1h16m bisect fix linux-6.1.y OK (0) job log log
2024/01/26 02:11 1h04m bisect fix linux-6.1.y OK (0) job log log
2023/12/25 18:16 1h08m bisect fix linux-6.1.y OK (0) job log log
2023/11/25 01:54 1h06m bisect fix linux-6.1.y OK (0) job log log
2023/10/21 22:05 1h03m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4643 at fs/udf/inode.c:538 udf_extend_file fs/udf/inode.c:537 [inline]
WARNING: CPU: 1 PID: 4643 at fs/udf/inode.c:538 udf_setsize+0xdb9/0x1090 fs/udf/inode.c:1147
Modules linked in:
CPU: 1 PID: 4643 Comm: syz.0.88 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:udf_extend_file fs/udf/inode.c:537 [inline]
RIP: 0010:udf_setsize+0xdb9/0x1090 fs/udf/inode.c:1147
Code: 9e fe 45 85 e4 49 bf 00 00 00 00 00 fc ff df 74 0a e8 1b 11 9e fe e9 41 ff ff ff e8 11 11 9e fe e9 0c fe ff ff e8 07 11 9e fe <0f> 0b e9 f1 f7 ff ff 44 89 f1 80 e1 07 38 c1 0f 8c dc f2 ff ff 4c
RSP: 0018:ffffc90003297b60 EFLAGS: 00010293
RAX: ffffffff82e2cec9 RBX: ffff8880743754a0 RCX: ffff88805e4f0000
RDX: 0000000000000000 RSI: 0000000000000c00 RDI: 0000000000000400
RBP: ffffc90003297cc0 R08: dffffc0000000000 R09: ffffed100e86ea8d
R10: ffffed100e86ea8d R11: 1ffff1100e86ea8c R12: 0000000000000400
R13: 1ffff1100e86eaad R14: 0000000000000c00 R15: 0000000000000009
FS:  00007fc705ebe6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000040 CR3: 0000000073fc7000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 udf_setattr+0x404/0x560 fs/udf/file.c:279
 notify_change+0xc74/0xf40 fs/attr.c:499
 do_truncate+0x197/0x220 fs/open.c:65
 do_sys_ftruncate+0x312/0x3c0 fs/open.c:193
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc704f8f749
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:00007fc705ebe038 EFLAGS: 00000246 ORIG_RAX: 000000000000004d
RAX: ffffffffffffffda RBX: 00007fc7051e6090 RCX: 00007fc704f8f749
RDX: 0000000000000000 RSI: 00000000000007fa RDI: 0000000000000004
RBP: 00007fc705013f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc7051e6128 R14: 00007fc7051e6090 R15: 00007ffc3996ac88
 </TASK>

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/26 19:08 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in udf_setsize
2023/09/16 17:40 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in udf_setsize
2025/05/30 20:38 linux-6.1.y da3c5173c55f 3d2f584d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in udf_setsize
2024/11/29 14:26 linux-6.1.y e4d90d63d385 5df23865 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in udf_setsize
2024/03/12 18:30 linux-6.1.y 61adba85cc40 c35c26ec .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in udf_setsize
2024/05/05 16:34 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in udf_setsize
2025/08/13 13:13 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in udf_setsize
2025/06/04 01:31 linux-6.1.y da3c5173c55f a30356b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in udf_setsize
2025/05/30 20:00 linux-6.1.y da3c5173c55f 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in udf_setsize
2024/11/29 13:18 linux-6.1.y e4d90d63d385 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in udf_setsize
* Struck through repros no longer work on HEAD.