BUG: workqueue leaked lock or atomic: kworker/u4:3/0x00000001/338
last function: fsnotify_connector_destroy_workfn
CPU: 0 PID: 338 Comm: kworker/u4:3 Tainted: G W 5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events_unbound fsnotify_connector_destroy_workfn
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/u4:3/0x00000001/338
last function: wb_update_bandwidth_workfn
CPU: 0 PID: 338 Comm: kworker/u4:3 Tainted: G W 5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: writeback wb_update_bandwidth_workfn
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/u4:3/338/0x00000002
Modules linked in:
Preemption disabled at:
[] do_wait_for_common kernel/sched/completion.c:86 [inline]
[] __wait_for_common kernel/sched/completion.c:106 [inline]
[] wait_for_common+0x290/0x420 kernel/sched/completion.c:117
CPU: 0 PID: 338 Comm: kworker/u4:3 Tainted: G W 5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events_unbound toggle_allocation_gate
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_timeout+0x18c/0x370 kernel/time/timer.c:1890
toggle_allocation_gate+0x22a/0x460 mm/kfence/core.c:736
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