syzbot


INFO: task hung in bpf_xdp_link_attach

Status: upstream: reported on 2024/05/22 02:40
Reported-by: syzbot+38b569f5b74a083b5ae8@syzkaller.appspotmail.com
First crash: 33d, last: 14d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in bpf_xdp_link_attach 1 5d21h 5d21h 0/3 upstream: reported on 2024/06/19 01:39
upstream INFO: task hung in rtnetlink_rcv_msg net C inconclusive inconclusive 1948 11h50m 1949d 22/27 upstream: reported C repro on 2019/02/22 17:00

Sample crash report:
INFO: task syz-executor.2:3760 blocked for more than 143 seconds.
      Not tainted 6.1.92-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:24512 pid:3760  ppid:3583   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747
 bpf_xdp_link_attach+0xdb/0x460 net/core/dev.c:9468
 link_create+0x619/0xa20 kernel/bpf/syscall.c:4642
 __sys_bpf+0x5aa/0x6c0 kernel/bpf/syscall.c:5075
 __do_sys_bpf kernel/bpf/syscall.c:5109 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5107 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5107
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f1242c7cf69
RSP: 002b:00007f1243a810c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f1242db3f80 RCX: 00007f1242c7cf69
RDX: 0000000000000040 RSI: 0000000020000080 RDI: 000000000000001c
RBP: 00007f1242cda6fe R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f1242db3f80 R15: 00007ffcbcf8b328
 </TASK>
INFO: task syz-executor.1:3774 blocked for more than 143 seconds.
      Not tainted 6.1.92-syzkaller #0

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/10 18:39 linux-6.1.y 88690811da69 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in bpf_xdp_link_attach
2024/05/22 02:40 linux-6.1.y 4078fa637fcd 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in bpf_xdp_link_attach
* Struck through repros no longer work on HEAD.