BUG: sleeping function called from invalid context at kernel/workqueue.c:3414 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5849, name: kworker/0:5 preempt_count: 100, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by kworker/0:5/5849: #0: ffff888018872538 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline] #0: ffff888018872538 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734 #1: ffffc90004a7fd00 ((work_completion)(&(&tbl->gc_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline] #1: ffffc90004a7fd00 ((work_completion)(&(&tbl->gc_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734 #2: ffffc90000007be0 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: call_timer_fn+0xd2/0x540 kernel/time/timer.c:1698 Preemption disabled at: [] softirq_handle_begin kernel/softirq.c:419 [inline] [] handle_softirqs+0x101/0x820 kernel/softirq.c:554 CPU: 0 PID: 5849 Comm: kworker/0:5 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Workqueue: events_power_efficient neigh_periodic_work Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 __might_resched+0x48d/0x5f0 kernel/sched/core.c:10212 start_flush_work kernel/workqueue.c:3414 [inline] __flush_work+0x10f/0xac0 kernel/workqueue.c:3474 __cancel_work_timer+0x3f8/0x560 kernel/workqueue.c:3562 mmc_free_host+0x19/0x40 drivers/mmc/core/host.c:694 call_timer_fn+0x189/0x540 kernel/time/timer.c:1701 expire_timers kernel/time/timer.c:1752 [inline] __run_timers+0x570/0x810 kernel/time/timer.c:2023 run_timer_softirq+0x67/0xf0 kernel/time/timer.c:2036 handle_softirqs+0x27d/0x820 kernel/softirq.c:578 __do_softirq kernel/softirq.c:612 [inline] invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:104 [inline] RIP: 0010:__local_bh_enable_ip+0x142/0x1c0 kernel/softirq.c:413 Code: 8a e8 e2 44 40 09 65 66 8b 05 5a db b0 7e 66 85 c0 75 54 bf 01 00 00 00 e8 bb 1d 0a 00 e8 56 25 3b 00 fb 65 8b 05 26 db b0 7e <85> c0 75 05 e8 15 c0 ad ff 48 c7 04 24 0e 36 e0 45 4b c7 04 37 00 RSP: 0018:ffffc90004a7fb20 EFLAGS: 00000282 RAX: 0000000080000000 RBX: 0000000000000201 RCX: 09d40c3224d44b00 RDX: dffffc0000000000 RSI: ffffffff8acacfe0 RDI: ffffffff8b1d5160 RBP: ffffc90004a7fbb0 R08: ffffffff91ff15b7 R09: 1ffffffff23fe2b6 R10: dffffc0000000000 R11: fffffbfff23fe2b7 R12: ffffffff815950e0 R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff9200094ff64 process_one_work kernel/workqueue.c:2657 [inline] process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 ODEBUG: object ffffc900000079c0 is NOT on stack ffffc90004a78000, but annotated. ====================================================== ---------------- Code disassembly (best guess): 0: 8a e8 mov %al,%ch 2: e2 44 loop 0x48 4: 40 09 65 66 rex or %esp,0x66(%rbp) 8: 8b 05 5a db b0 7e mov 0x7eb0db5a(%rip),%eax # 0x7eb0db68 e: 66 85 c0 test %ax,%ax 11: 75 54 jne 0x67 13: bf 01 00 00 00 mov $0x1,%edi 18: e8 bb 1d 0a 00 call 0xa1dd8 1d: e8 56 25 3b 00 call 0x3b2578 22: fb sti 23: 65 8b 05 26 db b0 7e mov %gs:0x7eb0db26(%rip),%eax # 0x7eb0db50 * 2a: 85 c0 test %eax,%eax <-- trapping instruction 2c: 75 05 jne 0x33 2e: e8 15 c0 ad ff call 0xffadc048 33: 48 c7 04 24 0e 36 e0 movq $0x45e0360e,(%rsp) 3a: 45 3b: 4b rex.WXB 3c: c7 .byte 0xc7 3d: 04 37 add $0x37,%al