syzbot


WARNING in kvm_apic_accept_events

Status: upstream: reported C repro on 2025/06/05 13:46
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+3fca9e42187b60fc6ede@syzkaller.appspotmail.com
First crash: 5d22h, last: 5d05h
Bug presence (2)
Date Name Commit Repro Result
2025/06/06 linux-5.15.y (ToT) 1c700860e8bc C [report] WARNING in kvm_apic_accept_events
2025/06/06 upstream (ToT) e271ed52b344 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in kvm_apic_accept_events kvm-x86 C error 15 5d21h 5d23h 0/28 upstream: reported C repro on 2025/06/05 13:08

Sample crash report:
L1TF CPU bug present and SMT on, data leak possible. See CVE-2018-3646 and https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html for details.
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4165 at arch/x86/kvm/lapic.c:2932 kvm_apic_accept_events+0x435/0x550 arch/x86/kvm/lapic.c:2932
Modules linked in:
CPU: 1 PID: 4165 Comm: syz-executor323 Not tainted 5.15.185-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:kvm_apic_accept_events+0x435/0x550 arch/x86/kvm/lapic.c:2932
Code: 00 00 00 65 48 8b 04 25 28 00 00 00 48 3b 44 24 60 75 1e 44 89 e0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 fb a9 61 00 <0f> 0b e9 9d fd ff ff e8 7f 54 8b 08 89 d9 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc90002eafb60 EFLAGS: 00010293
RAX: ffffffff81161825 RBX: 0000000000000002 RCX: ffff88807f6f9dc0
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000002
RBP: ffffc90002eafc20 R08: dffffc0000000000 R09: fffffbfff1ff3633
R10: fffffbfff1ff3633 R11: 1ffffffff1ff3632 R12: ffffc90002eafba0
R13: dffffc0000000000 R14: ffff88807d2d8304 R15: ffff8880786540e8
FS:  000055556b002380(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000002000 CR3: 000000006e076000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 vcpu_block arch/x86/kvm/x86.c:10116 [inline]
 vcpu_run arch/x86/kvm/x86.c:10164 [inline]
 kvm_arch_vcpu_ioctl_run+0xd46/0x1f40 arch/x86/kvm/x86.c:10399
 kvm_vcpu_ioctl+0x887/0xb80 virt/kvm/kvm_main.c:3894
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f8b47cb4bf9
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd7adef038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f8b47cb4bf9
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005
RBP: 0000200000bfe000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd7adef040
R13: 0000200000bff000 R14: 0000000000000004 R15: 0000000000000001
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/05 14:35 linux-5.15.y 1c700860e8bc 6b6b5f21 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_apic_accept_events
2025/06/05 13:45 linux-5.15.y 1c700860e8bc 6b6b5f21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_apic_accept_events
* Struck through repros no longer work on HEAD.