kvm: pic: non byte write ============================= WARNING: suspicious RCU usage 5.15.152-syzkaller #0 Not tainted ----------------------------- include/linux/kvm_host.h:880 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz-executor.2/29841: #0: ffff8880840dc0c8 (&vcpu->mutex){+.+.}-{3:3}, at: kvm_vcpu_ioctl+0x1d4/0xcf0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3870 stack backtrace: CPU: 0 PID: 29841 Comm: syz-executor.2 Not tainted 5.15.152-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 __kvm_memslots include/linux/kvm_host.h:878 [inline] kvm_vcpu_memslots+0x1b7/0x200 include/linux/kvm_host.h:892 kvm_vcpu_gfn_to_memslot+0x2b/0x390 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2158 kvm_vcpu_unmap+0x5d/0x80 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2773 nested_vmx_vmexit+0x1476/0x2b70 arch/x86/kvm/vmx/nested.c:4662 vmx_check_nested_events+0x10c7/0x24b0 kvm_apic_accept_events+0x155/0x5e0 arch/x86/kvm/lapic.c:2911 kvm_arch_vcpu_ioctl_get_mpstate+0x54/0x1a0 arch/x86/kvm/x86.c:10563 kvm_vcpu_ioctl+0x48c/0xcf0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3955 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fd7f2828da9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd7f0da90c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd7f2956f80 RCX: 00007fd7f2828da9 RDX: 0000000000000000 RSI: 000000008004ae98 RDI: 0000000000000005 RBP: 00007fd7f287547a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd7f2956f80 R15: 00007ffd32648968