BUG: workqueue leaked lock or atomic: kworker/0:4/0x00000001/337 last function: bpf_prog_free_deferred CPU: 0 PID: 337 Comm: kworker/0:4 Not tainted 6.1.75-syzkaller-00012-g5dc2bc296647 #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/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 BUG: workqueue leaked lock or atomic: kworker/0:4/0x00000001/337 last function: srcu_invoke_callbacks CPU: 0 PID: 337 Comm: kworker/0:4 Not tainted 6.1.75-syzkaller-00012-g5dc2bc296647 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: rcu_gp srcu_invoke_callbacks 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:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 BUG: scheduling while atomic: kworker/0:4/337/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock include/linux/spinlock.h:350 [inline] [] __get_locked_pte+0x28f/0x340 mm/memory.c:1863 CPU: 0 PID: 337 Comm: kworker/0:4 Not tainted 6.1.75-syzkaller-00012-g5dc2bc296647 #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/0x1b lib/dump_stack.c:113 __schedule_bug+0x195/0x260 kernel/sched/core.c:5960 schedule_debug kernel/sched/core.c:5987 [inline] __schedule+0xcf7/0x1550 kernel/sched/core.c:6622 schedule+0xc3/0x180 kernel/sched/core.c:6805 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6864 mutex_optimistic_spin kernel/locking/mutex.c:529 [inline] __mutex_lock_common kernel/locking/mutex.c:629 [inline] __mutex_lock+0x5b6/0x1ca0 kernel/locking/mutex.c:774 __mutex_lock_slowpath+0xe/0x10 kernel/locking/mutex.c:1063 mutex_lock+0x130/0x1e0 kernel/locking/mutex.c:295 text_poke_set+0xac/0x170 arch/x86/kernel/alternative.c:1308 bpf_arch_text_invalidate+0x22/0x40 arch/x86/net/bpf_jit_comp.c:233 bpf_prog_pack_free+0x14b/0x3d0 kernel/bpf/core.c:943 bpf_jit_binary_pack_free+0x38/0x80 kernel/bpf/core.c:1143 bpf_jit_free+0x132/0x1e0 arch/x86/net/bpf_jit_comp.c:2538 bpf_prog_free_deferred+0x63e/0x750 kernel/bpf/core.c:2571 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299 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 IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready bridge0: port 1(bridge_slave_0) entered disabled state bridge0: port 2(bridge_slave_1) entered disabled state