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: 1049d, last: 23d
▶
▼
Fix bisection attempts (12)
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>
* Struck through repros no longer work on HEAD.