syzbot


INFO: task hung in vfs_truncate

Status: auto-obsoleted due to no activity on 2025/07/13 14:35
Subsystems: fs
[Documentation on labels]
First crash: 185d, last: 185d

Sample crash report:
INFO: task syz.0.124:7008 blocked for more than 143 seconds.
      Not tainted 6.15.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.124       state:D
 stack:27944 pid:7008  tgid:6989  ppid:5836   task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x1b33/0x51f0 kernel/sched/core.c:6767
 __down_write_common kernel/locking/rwsem.c:1304 [inline]
 __down_write kernel/locking/rwsem.c:1313 [inline]
 down_write+0x1da/0x220 kernel/locking/rwsem.c:1578
 vfs_truncate+0x4a6/0x540 fs/open.c:115
 do_sys_truncate+0xd8/0x190 fs/open.c:138
 __do_sys_truncate fs/open.c:150 [inline]
 __se_sys_truncate fs/open.c:148 [inline]
 __x64_sys_truncate+0x5b/0x70 fs/open.c:148
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fba0af8d169
RSP: 002b:00007fba08dd5038 EFLAGS: 00000246
RDX: 0000000000000000 RSI: 0000000000008001 RDI: 00002000000000c0
RBP: 00007fba0b00e990 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
RAX: ffffffffffffffda RBX: 00007fba0b1a6160 RCX: 00007fba0af8d169
RDX: 0000000000105042 RSI: 0000200000000540 RDI: ffffffffffffff9c
RBP: 00007fba0b00e990 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000001db R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fba0b1a6160 R15: 00007ffe2f95ad58
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/0:0/9:
5 locks held by kworker/u8:0/12:
 #0: 
ffff88801bef3948
 (
(wq_completion)netns
){+.+.}-{0:0}

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/14 14:27 upstream 8ffd015db85f 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in vfs_truncate
* Struck through repros no longer work on HEAD.