syzbot


INFO: task hung in bpf_map_offload_map_alloc

Status: auto-obsoleted due to no activity on 2024/09/19 07:05
Reported-by: syzbot+2be12736abca0e192f50@syzkaller.appspotmail.com
First crash: 163d, last: 163d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in bpf_map_offload_map_alloc bpf 4 161d 183d 0/28 auto-obsoleted due to no activity on 2024/09/11 11:25
linux-5.15 INFO: task hung in bpf_map_offload_map_alloc 1 170d 170d 0/3 auto-obsoleted due to no activity on 2024/09/11 23:59

Sample crash report:
INFO: task syz-executor.4:5064 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.4  state:D stack:24512 pid:5064  ppid:4418   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_map_offload_map_alloc+0x12d/0x690 kernel/bpf/offload.c:378
 find_and_alloc_map kernel/bpf/syscall.c:131 [inline]
 map_create+0x4c0/0xd20 kernel/bpf/syscall.c:1128
 __sys_bpf+0x2d3/0x6c0 kernel/bpf/syscall.c:4987
 __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:0x7f257c27cf69
RSP: 002b:00007f257cfa80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f257c3b3f80 RCX: 00007f257c27cf69
RDX: 0000000000000048 RSI: 0000000020000280 RDI: 0000000000000000

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/11 07:04 linux-6.1.y 88690811da69 b7d9eb04 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in bpf_map_offload_map_alloc
* Struck through repros no longer work on HEAD.