syzbot


INFO: task hung in bpf_prog_dev_bound_destroy

Status: fixed on 2024/07/09 19:14
Subsystems: bpf
[Documentation on labels]
Reported-by: syzbot+638395cff1c05c4a0128@syzkaller.appspotmail.com
Fix commit: d864319871b0 net/sched: act_api: fix possible infinite loop in tcf_idr_check_alloc()
First crash: 286d, last: 169d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bpf?] INFO: task hung in bpf_prog_dev_bound_destroy 1 (2) 2024/06/23 22:22

Sample crash report:
INFO: task kworker/1:4:5178 blocked for more than 143 seconds.
      Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:4     state:D stack:22512 pid:5178  tgid:5178  ppid:2      flags:0x00004000
Workqueue: events bpf_prog_free_deferred
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5408 [inline]
 __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745
 __schedule_loop kernel/sched/core.c:6822 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6837
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894
 __mutex_lock_common kernel/locking/mutex.c:684 [inline]
 __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
 bpf_prog_dev_bound_destroy+0x76/0x590 kernel/bpf/offload.c:386
 bpf_prog_free_deferred+0x3c5/0x710 kernel/bpf/core.c:2784
 process_one_work kernel/workqueue.c:3231 [inline]
 process_scheduled_works+0xa2e/0x1830 kernel/workqueue.c:3312
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393
 kthread+0x2f2/0x390 kernel/kthread.c:389
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
INFO: task syz-executor.2:10060 blocked for more than 143 seconds.
      Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:26800 pid:10060 tgid:10054 ppid:5124   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5408 [inline]
 __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745
 __schedule_loop kernel/sched/core.c:6822 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6837
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894
 __mutex_lock_common kernel/locking/mutex.c:684 [inline]
 __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
 rtnl_lock net/core/rtnetlink.c:79 [inline]
 rtnetlink_rcv_msg+0x842/0x1180 net/core/rtnetlink.c:6632

Crashes (94):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/16 13:30 upstream 2ccbdf43d5e7 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/13 15:17 upstream 2ccbdf43d5e7 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/10 06:37 upstream 83a7eefedc9b 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/09 18:08 upstream 771ed66105de 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/07 19:27 upstream 8a92980606e3 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/07 02:51 upstream 8a92980606e3 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/06 12:54 upstream 2df0193e62cf 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/06 04:08 upstream 71d7b52cc33b 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/05 12:09 upstream 32f88d65f01b e1e2c66e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/05 12:06 upstream 32f88d65f01b e1e2c66e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/04 18:35 upstream 2ab795141095 a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/04 18:32 upstream 2ab795141095 a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/04 18:30 upstream 2ab795141095 a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/04 18:29 upstream 2ab795141095 a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/04 18:27 upstream 2ab795141095 a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/04 16:15 upstream f06ce441457d a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/01 01:22 upstream d8ec19857b09 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/15 00:12 net be27b8965297 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/14 03:39 net be27b8965297 a9616ff5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/13 13:14 net be27b8965297 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/12 21:25 net be27b8965297 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/12 14:42 net 144ba8580bcb 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/11 04:31 net 36534d3c5453 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/11 02:09 net 5add2f728846 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/01 13:00 net d8ec19857b09 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/20 10:22 net-next 3ec8d7572a69 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/19 16:40 net-next 3ec8d7572a69 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/18 07:29 net-next 3ec8d7572a69 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/18 06:13 net-next 3ec8d7572a69 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/18 04:13 net-next 3ec8d7572a69 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/18 02:46 net-next 3ec8d7572a69 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/18 02:28 net-next 3ec8d7572a69 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/18 01:21 net-next 3ec8d7572a69 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/18 00:19 net-next 3ec8d7572a69 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/17 01:45 net-next 3ec8d7572a69 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/16 07:32 net-next 3ec8d7572a69 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/14 10:50 net-next 3ec8d7572a69 a9616ff5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/11 10:41 net-next bb678f01804c c7d7d815 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/08 07:37 net-next a99997323654 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/07 11:03 net-next 62b5bf58b928 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/07 02:36 net-next 62b5bf58b928 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/05 05:54 net-next 2b438c5774cc e1e2c66e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/02 16:11 net-next b5c089880723 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/02 00:57 net-next 6d9e9c36e1a6 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/05/31 09:59 net-next 030fae30f059 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/05/30 23:56 net-next 782471db6c72 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/05/27 21:38 net-next 66ad4829ddd0 f550015e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/05/27 00:09 net-next 66ad4829ddd0 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/05/26 06:55 net-next 66ad4829ddd0 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/05/25 17:57 net-next 66ad4829ddd0 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/05/25 16:50 net-next 66ad4829ddd0 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/05/25 13:49 net-next 66ad4829ddd0 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/05/25 13:16 net-next 66ad4829ddd0 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in bpf_prog_dev_bound_destroy
2024/06/13 11:57 linux-next a957267fa7e9 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
2024/05/26 13:29 linux-next 3689b0ef08b7 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in bpf_prog_dev_bound_destroy
* Struck through repros no longer work on HEAD.