BUG: workqueue leaked lock or atomic: kworker/1:14/0x00000001/8350 last function: bpf_prog_free_deferred CPU: 1 PID: 8350 Comm: kworker/1:14 Not tainted 5.15.148-syzkaller-00718-g993bed180178 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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/0x17 lib/dump_stack.c:113 process_one_work+0x8d8/0xc10 kernel/workqueue.c:2340 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 BUG: workqueue leaked lock or atomic: kworker/1:14/0x00000001/8350 last function: bpf_prog_free_deferred CPU: 1 PID: 8350 Comm: kworker/1:14 Not tainted 5.15.148-syzkaller-00718-g993bed180178 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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/0x17 lib/dump_stack.c:113 process_one_work+0x8d8/0xc10 kernel/workqueue.c:2340 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 BUG: workqueue leaked lock or atomic: kworker/1:14/0x00000001/8350 last function: kfree_rcu_work CPU: 1 PID: 8350 Comm: kworker/1:14 Not tainted 5.15.148-syzkaller-00718-g993bed180178 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events kfree_rcu_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106 dump_stack+0x15/0x17 lib/dump_stack.c:113 process_one_work+0x8d8/0xc10 kernel/workqueue.c:2340 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 BUG: workqueue leaked lock or atomic: kworker/1:14/0x00000001/8350 last function: process_srcu CPU: 1 PID: 8350 Comm: kworker/1:14 Not tainted 5.15.148-syzkaller-00718-g993bed180178 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: rcu_gp process_srcu Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106 dump_stack+0x15/0x17 lib/dump_stack.c:113 process_one_work+0x8d8/0xc10 kernel/workqueue.c:2340 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 BUG: scheduling while atomic: kworker/1:14/8350/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock include/linux/spinlock.h:363 [inline] [] __purge_vmap_area_lazy+0x28d/0x1690 mm/vmalloc.c:1697 CPU: 1 PID: 8350 Comm: kworker/1:14 Not tainted 5.15.148-syzkaller-00718-g993bed180178 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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/0x17 lib/dump_stack.c:113 __schedule_bug+0x195/0x260 kernel/sched/core.c:5707 schedule_debug kernel/sched/core.c:5734 [inline] __schedule+0xd19/0x1590 kernel/sched/core.c:6402 schedule+0x11f/0x1e0 kernel/sched/core.c:6595 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6654 mutex_optimistic_spin kernel/locking/mutex.c:521 [inline] __mutex_lock_common kernel/locking/mutex.c:620 [inline] __mutex_lock+0x5b5/0x1870 kernel/locking/mutex.c:755 __mutex_lock_slowpath+0xe/0x10 kernel/locking/mutex.c:1006 mutex_lock+0x135/0x1e0 kernel/locking/mutex.c:288 _vm_unmap_aliases+0x328/0x3b0 mm/vmalloc.c:2116 vm_remove_mappings mm/vmalloc.c:2611 [inline] __vunmap+0x617/0x8f0 mm/vmalloc.c:2642 __vfree mm/vmalloc.c:2700 [inline] vfree+0x7f/0xb0 mm/vmalloc.c:2731 module_memfree+0x17/0x30 kernel/module.c:2150 bpf_jit_free_exec+0x15/0x20 kernel/bpf/core.c:867 bpf_jit_binary_free kernel/bpf/core.c:914 [inline] bpf_jit_free+0x98/0x240 kernel/bpf/core.c:927 bpf_prog_free_deferred+0x61e/0x730 kernel/bpf/core.c:2296 process_one_work+0x6bb/0xc10 kernel/workqueue.c:2325 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298