============================= [ BUG: Invalid wait context ] syzkaller #0 Not tainted ----------------------------- syz-executor/5644 is trying to lock: ffff8880681edbc8 (&gpc->lock){....}-{3:3}, at: kvm_xen_set_evtchn_fast+0x208/0x8d0 arch/x86/kvm/xen.c:1872 other info that might help us debug this: context-{2:2} locks held by syz-executor/5644: 1, on CPU#0: #0: ffff8880681ee118 (&kvm->srcu){.?.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:249 [inline] #0: ffff8880681ee118 (&kvm->srcu){.?.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:356 [inline] #0: ffff8880681ee118 (&kvm->srcu){.?.+}-{0:0}, at: kvm_xen_set_evtchn_fast+0x1d2/0x8d0 arch/x86/kvm/xen.c:1870 stack backtrace: CPU: 0 UID: 0 PID: 5644 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_lock_invalid_wait_context kernel/locking/lockdep.c:4874 [inline] check_wait_context kernel/locking/lockdep.c:4946 [inline] __lock_acquire+0xf5b/0x2de0 kernel/locking/lockdep.c:5238 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:174 [inline] _raw_read_lock_irqsave+0x48/0x60 kernel/locking/spinlock.c:271 kvm_xen_set_evtchn_fast+0x208/0x8d0 arch/x86/kvm/xen.c:1872 xen_timer_callback+0x109/0x220 arch/x86/kvm/xen.c:139 __run_hrtimer kernel/time/hrtimer.c:2109 [inline] __hrtimer_run_queues+0x371/0xa10 kernel/time/hrtimer.c:2166 hrtimer_interrupt+0x4cd/0xaa0 kernel/time/hrtimer.c:2285 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] __sysvec_apic_timer_interrupt+0x102/0x430 arch/x86/kernel/apic/apic.c:1079 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1073 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1073 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:kasan_check_range+0x5/0x2c0 mm/kasan/generic.c:199 Code: 48 89 df 48 c7 c6 0d 1b cc 8e e8 16 44 de fe 90 0f 0b cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6 55 <41> 57 41 56 41 55 41 54 53 b0 01 48 85 f6 0f 84 ae 01 00 00 4c 8d RSP: 0018:ffffc900042e7d90 EFLAGS: 00000246 RAX: ffffffff8262767c RBX: 0000000000000010 RCX: ffffffff82627693 RDX: 0000000000000001 RSI: 0000000000000010 RDI: ffffc900042e7e20 RBP: 0000000000000000 R08: ffff88807d21ebbf R09: 1ffff1100fa43d77 R10: dffffc0000000000 R11: ffffed100fa43d78 R12: 0000000000000057 R13: dffffc0000000000 R14: ffffc900042e7e20 R15: ffffc900042e7e40 __asan_memset+0x22/0x50 mm/kasan/shadow.c:84 filename_unlinkat+0xa3/0x5c0 fs/namei.c:5789 __do_sys_unlink fs/namei.c:5862 [inline] __se_sys_unlink+0x2e/0x140 fs/namei.c:5859 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x00007f9e4a7a8647 Code: 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffec1135b88 EFLAGS: 00000202 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000058 RCX: 00007f9e4a7a8647 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffec1135c40 RBP: 00007ffec1135c40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffec1136d30 R13: 00007f9e4a83751b R14: 00005555894704e8 R15: 0000000000000007 ---------------- Code disassembly (best guess): 0: 48 89 df mov %rbx,%rdi 3: 48 c7 c6 0d 1b cc 8e mov $0xffffffff8ecc1b0d,%rsi a: e8 16 44 de fe call 0xfede4425 f: 90 nop 10: 0f 0b ud2 12: cc int3 13: cc int3 14: cc int3 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 90 nop 25: 0f 1f 40 d6 nopl -0x2a(%rax) 29: 55 push %rbp * 2a: 41 57 push %r15 <-- trapping instruction 2c: 41 56 push %r14 2e: 41 55 push %r13 30: 41 54 push %r12 32: 53 push %rbx 33: b0 01 mov $0x1,%al 35: 48 85 f6 test %rsi,%rsi 38: 0f 84 ae 01 00 00 je 0x1ec 3e: 4c rex.WR 3f: 8d .byte 0x8d