syzbot


INFO: task hung in bpf_xdp_link_attach

Status: upstream: reported on 2024/06/19 01:39
Reported-by: syzbot+614348d3e19a1e0e0129@syzkaller.appspotmail.com
First crash: 8d00h, last: 8d00h
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in rtnetlink_rcv_msg net C inconclusive inconclusive 1956 1d13h 1951d 24/27 upstream: reported C repro on 2019/02/22 17:00
linux-6.1 INFO: task hung in bpf_xdp_link_attach 2 16d 35d 0/3 upstream: reported on 2024/05/22 02:40

Sample crash report:
INFO: task syz-executor.1:5773 blocked for more than 143 seconds.
      Not tainted 5.15.161-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:25848 pid: 5773 ppid:  3534 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
 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 bpf_xdp_link_attach+0xdb/0x440 net/core/dev.c:9723
 link_create+0x49d/0x640 kernel/bpf/syscall.c:4322
 __sys_bpf+0x598/0x670 kernel/bpf/syscall.c:4721
 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:4753 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fbbb691bf29
RSP: 002b:00007fbbb54950c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fbbb6a52f80 RCX: 00007fbbb691bf29
RDX: 0000000000000040 RSI: 0000000020000100 RDI: 000000000000001c
RBP: 00007fbbb698b074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fbbb6a52f80 R15: 00007ffd7069e398

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