BUG: sleeping function called from invalid context at kernel/workqueue.c:3414 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 16166, name: syz.3.2745 preempt_count: 100, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz.3.2745/16166: #0: ffff88807e0227a0 (&mm->mmap_lock){++++}-{3:3}, at: __might_fault+0xaa/0x120 mm/memory.c:5968 #1: 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: 16166 Comm: syz.3.2745 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:lock_acquire+0x208/0x420 kernel/locking/lockdep.c:5794 Code: f7 84 24 80 00 00 00 00 02 00 00 43 c6 44 3c 04 f8 0f 85 f0 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 43 c7 44 3c 08 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc9000bd1f9e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 661a3d7dfffb1700 RDX: 0000000000000000 RSI: ffffffff8acade60 RDI: ffffffff8b1d4020 RBP: ffffc9000bd1faf0 R08: dffffc0000000000 R09: 1ffffffff223e0a6 R10: dffffc0000000000 R11: fffffbfff223e0a7 R12: 1ffff920017a3f48 R13: ffff88807e0227a0 R14: 0000000000000246 R15: dffffc0000000000 __might_fault+0xc6/0x120 mm/memory.c:5968 _copy_to_iter+0xea/0x1110 lib/iov_iter.c:315 copy_to_iter include/linux/uio.h:201 [inline] get_random_bytes_user+0x1d1/0x3d0 drivers/char/random.c:443 __do_sys_getrandom drivers/char/random.c:1381 [inline] __se_sys_getrandom drivers/char/random.c:1354 [inline] __x64_sys_getrandom+0x1a6/0x2b0 drivers/char/random.c:1354 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:0x7f0ab9f9e199 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:00007f0abae19028 EFLAGS: 00000246 ORIG_RAX: 000000000000013e RAX: ffffffffffffffda RBX: 00007f0aba225fa0 RCX: 00007f0ab9f9e199 RDX: 0000000000000000 RSI: 00000000ffffff9a RDI: 0000200000000240 RBP: 00007f0aba0358e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0aba226038 R14: 00007f0aba225fa0 R15: 00007fff12fb33b8 ODEBUG: object ffffc900000079c0 is NOT on stack ffffc9000bd18000, but annotated. ====================================================== ---------------- Code disassembly (best guess): 0: f7 84 24 80 00 00 00 testl $0x200,0x80(%rsp) 7: 00 02 00 00 b: 43 c6 44 3c 04 f8 movb $0xf8,0x4(%r12,%r15,1) 11: 0f 85 f0 00 00 00 jne 0x107 17: 41 f7 c6 00 02 00 00 test $0x200,%r14d 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp) 28: e0 45 * 2a: 4b c7 04 3c 00 00 00 movq $0x0,(%r12,%r15,1) <-- trapping instruction 31: 00 32: 43 c7 44 3c 08 00 00 movl $0x0,0x8(%r12,%r15,1) 39: 00 00 3b: 65 gs 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 04 25 add $0x25,%al