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: 223d, last: 12d
Bug presence (2)
Date Name Commit Repro Result
2023/09/16 upstream (ToT) ad8a69f361b9 C [report] WARNING in udf_setsize
2024/04/12 upstream (ToT) 586b5dfb51b9 C Failed due to an error; will retry later
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in udf_setsize origin:upstream C 2 7d10h 371d 0/3 upstream: reported C repro on 2023/04/22 09:32
upstream WARNING in udf_setsize udf C done 24 327d 497d 22/26 fixed on 2023/06/08 14:41
linux-4.14 WARNING in udf_setsize C 1 432d 432d 0/1 upstream: reported C repro on 2023/02/20 06:04
upstream WARNING in udf_setsize (2) udf C done 26 6h27m 319d 0/26 upstream: reported C repro on 2023/06/12 18:18
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2024/04/14 19:05 3h08m bisect fix linux-6.1.y job log (0) log
2024/03/04 11:51 1h16m bisect fix linux-6.1.y job log (0) log
2024/01/26 02:11 1h04m bisect fix linux-6.1.y job log (0) log
2023/12/25 18:16 1h08m bisect fix linux-6.1.y job log (0) log
2023/11/25 01:54 1h06m bisect fix linux-6.1.y job log (0) log
2023/10/21 22:05 1h03m bisect fix linux-6.1.y job log (0) log

Sample crash report:
loop0: detected capacity change from 0 to 2048
UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4150 at fs/udf/inode.c:651 udf_setsize+0x103d/0x1430 fs/udf/inode.c:1241
Modules linked in:
CPU: 0 PID: 4150 Comm: syz-executor303 Not tainted 6.1.53-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:udf_extend_file fs/udf/inode.c:650 [inline]
RIP: 0010:udf_setsize+0x103d/0x1430 fs/udf/inode.c:1241
Code: 6e fe 31 ff 44 89 e6 e8 41 1e 8f fe 45 85 e4 74 0a e8 d7 1a 8f fe e9 2a ff ff ff e8 cd 1a 8f fe e9 e7 fd ff ff e8 c3 1a 8f fe <0f> 0b e9 5e f6 ff ff 89 d9 80 e1 07 38 c1 0f 8c 7e f0 ff ff 48 89
RSP: 0018:ffffc90003fefb00 EFLAGS: 00010293
RAX: ffffffff82faf96d RBX: 0000000000000200 RCX: ffff888028f71dc0
RDX: 0000000000000000 RSI: 0000000000000400 RDI: 0000000000000200
RBP: ffffc90003fefcd8 R08: ffffffff82faefae R09: ffffed100e0fa358
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000009
R13: 1ffff920007fdf70 R14: 0000000000000400 R15: 0000000000000002
FS:  00007fd4392e06c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd430fbfd58 CR3: 000000001fd99000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 udf_setattr+0x36c/0x540 fs/udf/file.c:279
 notify_change+0xdcd/0x1080 fs/attr.c:483
 do_truncate+0x21c/0x300 fs/open.c:65
 do_sys_ftruncate+0x2e2/0x380 fs/open.c:193
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd439323b59
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd4392e0218 EFLAGS: 00000246 ORIG_RAX: 000000000000004d
RAX: ffffffffffffffda RBX: 00007fd4393ac6c8 RCX: 00007fd439323b59
RDX: 00007fd439323b59 RSI: 0000000000000002 RDI: 0000000000000004
RBP: 00007fd4393ac6c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd439378e00
R13: 00007fd439378208 R14: 00007fd4393780c0 R15: 0030656c69662f2e
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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
* Struck through repros no longer work on HEAD.