BUG: sleeping function called from invalid context at kernel/workqueue.c:3414 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 23782, name: syz.3.5067 preempt_count: 101, expected: 0 RCU nest depth: 0, expected: 0 1 lock held by syz.3.5067/23782: #0: ffffc900001f0be0 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: call_timer_fn+0xd2/0x540 kernel/time/timer.c:1698 Preemption disabled at: [] schedule+0xb6/0x170 kernel/sched/core.c:6774 CPU: 1 PID: 23782 Comm: syz.3.5067 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 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/0x30 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:finish_task_switch+0x267/0x8f0 kernel/sched/core.c:5256 Code: 31 09 85 c0 0f 84 30 01 00 00 48 85 db 0f 85 4f 01 00 00 e9 d5 04 00 00 4c 89 e7 e8 23 f7 3a 09 e8 be 19 30 00 fb 4c 8b 65 b8 <49> 8d bc 24 00 16 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 RSP: 0000:ffffc900053772a0 EFLAGS: 00000286 RAX: 8111a309d8a63500 RBX: 0000000000000000 RCX: 8111a309d8a63500 RDX: dffffc0000000000 RSI: ffffffff8acacbe0 RDI: ffffffff8b1d32e0 RBP: ffffc900053772f0 R08: ffffffff8e8c772f R09: 1ffffffff1d18ee5 R10: dffffc0000000000 R11: fffffbfff1d18ee6 R12: ffff88802b7cbc00 R13: ffff8880b8f3cfc8 R14: dffffc0000000000 R15: ffff8880b8f3cd48 context_switch kernel/sched/core.c:5385 [inline] __schedule+0x15b6/0x4660 kernel/sched/core.c:6701 schedule+0xbd/0x170 kernel/sched/core.c:6775 schedule_timeout+0xc1/0x2d0 kernel/time/timer.c:2144 unix_wait_for_peer+0x1f6/0x2f0 net/unix/af_unix.c:1515 unix_dgram_sendmsg+0xee4/0x16e0 net/unix/af_unix.c:2107 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x61b/0x980 net/socket.c:2595 ___sys_sendmsg+0x2a6/0x360 net/socket.c:2649 __sys_sendmmsg+0x2ca/0x510 net/socket.c:2735 __do_sys_sendmmsg net/socket.c:2764 [inline] __se_sys_sendmmsg net/socket.c:2761 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2761 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7b3fb9e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7b409c1028 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f7b3fe25fa0 RCX: 00007f7b3fb9e0d9 RDX: 0000000000000651 RSI: 0000200000000000 RDI: 0000000000000004 RBP: 00007f7b3fc35024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b3fe26038 R14: 00007f7b3fe25fa0 R15: 00007ffc9766a5f8 ODEBUG: object ffffc900001f09c0 is NOT on stack ffffc90005370000, but annotated. ====================================================== ---------------- Code disassembly (best guess): 0: 31 09 xor %ecx,(%rcx) 2: 85 c0 test %eax,%eax 4: 0f 84 30 01 00 00 je 0x13a a: 48 85 db test %rbx,%rbx d: 0f 85 4f 01 00 00 jne 0x162 13: e9 d5 04 00 00 jmp 0x4ed 18: 4c 89 e7 mov %r12,%rdi 1b: e8 23 f7 3a 09 call 0x93af743 20: e8 be 19 30 00 call 0x3019e3 25: fb sti 26: 4c 8b 65 b8 mov -0x48(%rbp),%r12 * 2a: 49 8d bc 24 00 16 00 lea 0x1600(%r12),%rdi <-- trapping instruction 31: 00 32: 48 89 f8 mov %rdi,%rax 35: 48 c1 e8 03 shr $0x3,%rax 39: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 3e: 84 c0 test %al,%al