=============================
[ BUG: Invalid wait context ]
6.16.0-rc2-syzkaller-00269-g11313e2f7812 #0 Not tainted
-----------------------------
kworker/0:1/10 is trying to lock:
ffffc90004a2a410 (&gpc->lock){....}-{3:3}, at: kvm_xen_set_evtchn_fast+0x254/0xeb0 arch/x86/kvm/xen.c:1820
other info that might help us debug this:
context-{2:2}
4 locks held by kworker/0:1/10:
#0: ffff88801b886d48 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc900000d7d10 ((work_completion)(&(&ssp->srcu_sup->work)->work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffffffff8e789f38 (&ssp->srcu_sup->srcu_gp_mutex){+.+.}-{4:4}, at: srcu_advance_state kernel/rcu/srcutree.c:1701 [inline]
#2: ffffffff8e789f38 (&ssp->srcu_sup->srcu_gp_mutex){+.+.}-{4:4}, at: process_srcu+0x73/0x1920 kernel/rcu/srcutree.c:1861
#3: ffffc90004a2a960 (&kvm->srcu){.?.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#3: ffffc90004a2a960 (&kvm->srcu){.?.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#3: ffffc90004a2a960 (&kvm->srcu){.?.+}-{0:0}, at: kvm_xen_set_evtchn_fast+0x23a/0xeb0 arch/x86/kvm/xen.c:1818
stack backtrace:
CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Not tainted 6.16.0-rc2-syzkaller-00269-g11313e2f7812 #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Workqueue: rcu_gp process_srcu
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_lock_invalid_wait_context kernel/locking/lockdep.c:4833 [inline]
check_wait_context kernel/locking/lockdep.c:4905 [inline]
__lock_acquire+0xa12/0x1c90 kernel/locking/lockdep.c:5190
lock_acquire kernel/locking/lockdep.c:5871 [inline]
lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5828
__raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
_raw_read_lock_irqsave+0x46/0x90 kernel/locking/spinlock.c:236
kvm_xen_set_evtchn_fast+0x254/0xeb0 arch/x86/kvm/xen.c:1820
xen_timer_callback+0x1db/0x2a0 arch/x86/kvm/xen.c:140
__run_hrtimer kernel/time/hrtimer.c:1761 [inline]
__hrtimer_run_queues+0x5ea/0xad0 kernel/time/hrtimer.c:1825
hrtimer_interrupt+0x397/0x8e0 kernel/time/hrtimer.c:1887
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1039 [inline]
__sysvec_apic_timer_interrupt+0x108/0x3f0 arch/x86/kernel/apic/apic.c:1056
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1050
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:delay_tsc+0x32/0xc0 arch/x86/lib/delay.c:79
Code: fd bf 01 00 00 00 41 54 55 53 e8 49 6c 0a f6 e8 14 2e 01 00 41 89 c4 0f 01 f9 66 90 48 c1 e2 20 48 09 c2 48 89 d5 eb 16 f3 90 01 00 00 00 e8 24 6c 0a f6 e8 ef 2d 01 00 44 39 e0 75 36 0f 01
RSP: 0018:ffffc900000d7ad8 EFLAGS: 00000286
RAX: 0000000080000000 RBX: 000000affdb48e28 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff8c1578e0 RDI: 0000000000000001
RBP: 000000affdb48b26 R08: 0000000000000001 R09: 00000000000002ff
R10: ffff88816dd34717 R11: 0000000000000010 R12: 0000000000000000
R13: 00000000000032c9 R14: 0000000000000000 R15: 000000008e789d01
udelay include/asm-generic/delay.h:64 [inline]
try_check_zero+0x3e9/0x6b0 kernel/rcu/srcutree.c:1116
srcu_advance_state kernel/rcu/srcutree.c:1752 [inline]
process_srcu+0x612/0x1920 kernel/rcu/srcutree.c:1861
process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3321 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x5d4/0x6f0 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
----------------
Code disassembly (best guess):
0: fd std
1: bf 01 00 00 00 mov $0x1,%edi
6: 41 54 push %r12
8: 55 push %rbp
9: 53 push %rbx
a: e8 49 6c 0a f6 call 0xf60a6c58
f: e8 14 2e 01 00 call 0x12e28
14: 41 89 c4 mov %eax,%r12d
17: 0f 01 f9 rdtscp
1a: 66 90 xchg %ax,%ax
1c: 48 c1 e2 20 shl $0x20,%rdx
20: 48 09 c2 or %rax,%rdx
23: 48 89 d5 mov %rdx,%rbp
26: eb 16 jmp 0x3e
28: f3 90 pause
* 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction
2f: e8 24 6c 0a f6 call 0xf60a6c58
34: e8 ef 2d 01 00 call 0x12e28
39: 44 39 e0 cmp %r12d,%eax
3c: 75 36 jne 0x74
3e: 0f .byte 0xf
3f: 01 .byte 0x1