BUG: sleeping function called from invalid context at kernel/workqueue.c:3414
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 10264, name: syz.5.1224
preempt_count: 101, expected: 0
RCU nest depth: 0, expected: 0
5 locks held by syz.5.1224/10264:
#0: ffffffff8f1c5810 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x347/0x530 net/core/net_namespace.c:520
#1: ffffffff8f1d2888 (rtnl_mutex){+.+.}-{3:3}, at: caif_exit_net+0x6a/0x4b0 net/caif/caif_dev.c:527
#2: ffff88805b325680 (&caifn->caifdevs.lock){+.+.}-{3:3}, at: caif_exit_net+0x7d/0x4b0 net/caif/caif_dev.c:528
#3: ffffffff8df375d8 (&rnp->exp_lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline]
#3: ffffffff8df375d8 (&rnp->exp_lock){+.+.}-{2:2}, at: exp_funnel_lock kernel/rcu/tree_exp.h:307 [inline]
#3: ffffffff8df375d8 (&rnp->exp_lock){+.+.}-{2:2}, at: synchronize_rcu_expedited+0x340/0x880 kernel/rcu/tree_exp.h:1004
#4: 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: 10264 Comm: syz.5.1224 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:ffffc90004e271a0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: f5a57c4c294c0300
RDX: dffffc0000000000 RSI: ffffffff8acae160 RDI: ffffffff8b1d5160
RBP: ffffc90004e272b8 R08: dffffc0000000000 R09: 1ffffffff23fe2cf
R10: dffffc0000000000 R11: fffffbfff23fe2d0 R12: 1ffff920009c4e40
R13: ffffffff8df375d8 R14: 0000000000000246 R15: dffffc0000000000
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:351 [inline]
exp_funnel_lock kernel/rcu/tree_exp.h:307 [inline]
synchronize_rcu_expedited+0x340/0x880 kernel/rcu/tree_exp.h:1004
synchronize_rcu+0x142/0x3e0 kernel/rcu/tree.c:3627
cfcnfg_remove+0x3e/0xa0 net/caif/cfcnfg.c:121
caif_exit_net+0x48f/0x4b0 net/caif/caif_dev.c:548
ops_exit_list net/core/net_namespace.c:173 [inline]
setup_net+0x7e5/0xa20 net/core/net_namespace.c:375
copy_net_ns+0x361/0x530 net/core/net_namespace.c:524
create_new_namespaces+0x3ce/0x700 kernel/nsproxy.c:110
copy_namespaces+0x42a/0x4a0 kernel/nsproxy.c:179
copy_process+0x16f6/0x3da0 kernel/fork.c:2513
kernel_clone+0x24b/0x8a0 kernel/fork.c:2919
__do_sys_clone3 kernel/fork.c:3220 [inline]
__se_sys_clone3+0x334/0x350 kernel/fork.c:3204
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:0x7ff70d59e559
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:00007ff70e48aef8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3
RAX: ffffffffffffffda RBX: 0000000000000058 RCX: 00007ff70d59e559
RDX: 00007ff70e48af10 RSI: 0000000000000058 RDI: 00007ff70e48af10
RBP: 00007ff70d6358b0 R08: 0000000000000000 R09: 0000000000000058
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff70d826038 R14: 00007ff70d825fa0 R15: 00007ffd8b097128
vkms_vblank_simulate: vblank timer overrun
ODEBUG: object ffffc900000079c0 is NOT on stack ffffc90004e20000, 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