BUG: workqueue leaked lock or atomic: kworker/1:0/0x00000001/24
last function: bpf_prog_free_deferred
CPU: 1 PID: 24 Comm: kworker/1:0 Not tainted 6.1.68-syzkaller-00029-g8c0f9174731d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Workqueue: events bpf_prog_free_deferred
Call Trace:
__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:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
BUG: scheduling while atomic: kworker/1:0/24/0x00000002
Modules linked in:
Preemption disabled at:
[] spin_lock include/linux/spinlock.h:350 [inline]
[] free_vmap_area_noflush+0x226/0xa30 mm/vmalloc.c:1837
CPU: 1 PID: 24 Comm: kworker/1:0 Not tainted 6.1.68-syzkaller-00029-g8c0f9174731d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Workqueue: 0x0 (events)
Call Trace:
__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:5960
schedule_debug kernel/sched/core.c:5987 [inline]
__schedule+0xce9/0x1540 kernel/sched/core.c:6622
schedule+0xc3/0x180 kernel/sched/core.c:6805
worker_thread+0xefa/0x1260 kernel/workqueue.c:2467
kthread+0x26d/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306