BUG: sleeping function called from invalid context at kernel/workqueue.c:3414 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 17846, name: syz.1.3503 preempt_count: 101, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz.1.3503/17846: #0: ffff888025c03d98 (&u->iolock){+.+.}-{3:3}, at: __unix_dgram_recvmsg+0x1fd/0xd90 net/unix/af_unix.c:2419 #1: ffffc90000007be0 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: call_timer_fn+0xd2/0x540 kernel/time/timer.c:1698 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 17846 Comm: syz.1.3503 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/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/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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xc0/0x120 kernel/locking/spinlock.c:194 Code: c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 41 c6 04 07 f8 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 ab 35 c0 f6 65 8b 05 1c f3 66 75 85 c0 74 3c 48 c7 04 24 0e 36 RSP: 0018:ffffc9000cf47580 EFLAGS: 00000206 RAX: dffffc0000000004 RBX: 0000000000000a02 RCX: 0818ead1c1e47500 RDX: dffffc0000000000 RSI: ffffffff8acacfe0 RDI: 0000000000000001 RBP: ffffc9000cf47610 R08: ffffffff91ff15af R09: 1ffffffff23fe2b5 R10: dffffc0000000000 R11: fffffbfff23fe2b6 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888025c03ec0 R15: 1ffff920019e8eb0 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x12c/0x1a0 kernel/sched/wait.c:213 __unix_dgram_recvmsg+0x4bb/0xd90 net/unix/af_unix.c:2449 sock_recvmsg_nosec+0x82/0xd0 net/socket.c:1047 ____sys_recvmsg+0x4d7/0x5d0 net/socket.c:2812 ___sys_recvmsg+0x214/0x590 net/socket.c:2856 do_recvmmsg+0x377/0x810 net/socket.c:2950 __sys_recvmmsg net/socket.c:3029 [inline] __do_sys_recvmmsg net/socket.c:3052 [inline] __se_sys_recvmmsg net/socket.c:3045 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3045 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:0x7fa5c839e559 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:00007fa5c92ca028 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fa5c8626090 RCX: 00007fa5c839e559 RDX: 0000000000010106 RSI: 0000200000000c40 RDI: 0000000000000004 RBP: 00007fa5c84358b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa5c8626128 R14: 00007fa5c8626090 R15: 00007fff28dd0e78 ODEBUG: object ffffc900000079c0 is NOT on stack ffffc9000cf40000, but annotated. ====================================================== ---------------- Code disassembly (best guess): 0: c7 44 24 20 00 00 00 movl $0x0,0x20(%rsp) 7: 00 8: 9c pushf 9: 8f 44 24 20 pop 0x20(%rsp) d: f7 44 24 20 00 02 00 testl $0x200,0x20(%rsp) 14: 00 15: 41 c6 04 07 f8 movb $0xf8,(%r15,%rax,1) 1a: 75 4b jne 0x67 1c: f7 c3 00 02 00 00 test $0x200,%ebx 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 ab 35 c0 f6 call 0xf6c035da <-- trapping instruction 2f: 65 8b 05 1c f3 66 75 mov %gs:0x7566f31c(%rip),%eax # 0x7566f352 36: 85 c0 test %eax,%eax 38: 74 3c je 0x76 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss