syzbot


BUG: workqueue leaked lock or atomic in bpf_map_free_deferred

Status: premoderation: reported on 2024/04/05 16:00
Reported-by: syzbot+b02910dd3070b70541e6@syzkaller.appspotmail.com
First crash: 76d, last: 42d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: workqueue leaked lock or atomic in bpf_map_free_deferred 4 32d 77d 0/2 premoderation: reported on 2024/04/04 10:54

Sample crash report:
BUG: workqueue leaked lock or atomic: kworker/u4:3/0x00000001/341
     last function: bpf_map_free_deferred
CPU: 1 PID: 341 Comm: kworker/u4:3 Tainted: G        W          6.1.75-syzkaller-00002-gcf685d2b0273 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events_unbound bpf_map_free_deferred
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
 dump_stack+0x15/0x1b lib/dump_stack.c:113
 process_one_work+0x94e/0xcb0 kernel/workqueue.c:2314
 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
 kthread+0x26d/0x300 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
BUG: scheduling while atomic: kworker/u4:3/341/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff81500225>] try_to_wake_up+0x85/0x1220 kernel/sched/core.c:4225
CPU: 1 PID: 341 Comm: kworker/u4:3 Tainted: G        W          6.1.75-syzkaller-00002-gcf685d2b0273 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue:  0x0 (events_unbound)
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
 dump_stack+0x15/0x1b lib/dump_stack.c:113
 __schedule_bug+0x195/0x260 kernel/sched/core.c:5964
 schedule_debug kernel/sched/core.c:5991 [inline]
 __schedule+0xcf7/0x1550 kernel/sched/core.c:6626
 schedule+0xc3/0x180 kernel/sched/core.c:6809
 worker_thread+0xefa/0x1260 kernel/workqueue.c:2467
 kthread+0x26d/0x300 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/09 07:14 android14-6.1 cf685d2b0273 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: workqueue leaked lock or atomic in bpf_map_free_deferred
2024/04/22 17:09 android14-6.1 dcb09569bbff 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: workqueue leaked lock or atomic in bpf_map_free_deferred
2024/04/15 04:33 android14-6.1 b76ed1185975 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: workqueue leaked lock or atomic in bpf_map_free_deferred
2024/04/07 23:47 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: workqueue leaked lock or atomic in bpf_map_free_deferred
2024/04/05 15:59 android14-6.1 60534eef4739 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: workqueue leaked lock or atomic in bpf_map_free_deferred
* Struck through repros no longer work on HEAD.