syzbot


INFO: task hung in xfs_ilock

Status: upstream: reported on 2024/06/05 19:00
Reported-by: syzbot+6c6fc2e9761ee5fadcce@syzkaller.appspotmail.com
First crash: 14d, last: 14d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in xfs_ilock 1 13d 13d 0/3 upstream: reported on 2024/06/05 20:46
upstream INFO: task hung in xfs_ilock xfs 7 181d 219d 0/27 auto-obsoleted due to no activity on 2024/03/20 00:19

Sample crash report:
INFO: task syz-executor.0:3978 blocked for more than 143 seconds.
      Not tainted 5.15.160-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:26624 pid: 3978 ppid:  3531 flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
 schedule+0x11b/0x1f0 kernel/sched/core.c:6459
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518
 rwsem_down_read_slowpath+0x605/0xb40 kernel/locking/rwsem.c:1055
 __down_read_common kernel/locking/rwsem.c:1239 [inline]
 __down_read kernel/locking/rwsem.c:1252 [inline]
 down_read_nested+0x9c/0x2f0 kernel/locking/rwsem.c:1624
 xfs_ilock+0x1c0/0x390 fs/xfs/xfs_inode.c:195
 __xfs_filemap_fault+0x3ec/0x950 fs/xfs/xfs_file.c:1337
 do_page_mkwrite+0x1a9/0x440 mm/memory.c:2892
 wp_page_shared+0x179/0x690 mm/memory.c:3229
 handle_pte_fault mm/memory.c:4639 [inline]
 __handle_mm_fault mm/memory.c:4756 [inline]
 handle_mm_fault+0x2a3d/0x5950 mm/memory.c:4854
 do_user_addr_fault arch/x86/mm/fault.c:1388 [inline]
 handle_page_fault arch/x86/mm/fault.c:1476 [inline]
 exc_page_fault+0x271/0x740 arch/x86/mm/fault.c:1532
 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568
RIP: 0033:0x7f02100bda61
RSP: 002b:00007fffa37475e0 EFLAGS: 00010246
RAX: 0000000020000200 RBX: 0000000000000004 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00005555568f0360
RBP: 00007fffa37476d8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 00007fffa3747700
R13: 00007f0210245f8c R14: 0000000000000032 R15: 00007f0210247980
 </TASK>

Showin

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/05 19:00 linux-5.15.y c61bd26ae81a 5aa1a7c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in xfs_ilock
* Struck through repros no longer work on HEAD.