syzbot


WARNING in pend_sync_exception

Status: fixed on 2025/08/23 16:38
Subsystems: kvmarm
[Documentation on labels]
Reported-by: syzbot+4e09b1432de3774b86ae@syzkaller.appspotmail.com
Fix commit: efa1368ba9f4 KVM: arm64: Commit exceptions from KVM_SET_VCPU_EVENTS immediately
First crash: 51d, last: 44d
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] KVM: arm64: Clear pending exception state before injecting a new one 3 (3) 2025/07/15 08:31
[syzbot] [kvmarm?] WARNING in pend_sync_exception 1 (3) 2025/07/14 14:21
Last patch testing requests (1)
Created Duration User Patch Repo Result
2025/07/14 13:29 51m maz@kernel.org git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/df-2-fixes OK log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3595 at arch/arm64/kvm/inject_fault.c:63 pend_sync_exception+0x198/0x5ac arch/arm64/kvm/inject_fault.c:63
Modules linked in:
CPU: 0 UID: 0 PID: 3595 Comm: syz.2.16 Not tainted 6.16.0-rc3-syzkaller-g15724a984643 #0 PREEMPT 
Hardware name: linux,dummy-virt (DT)
pstate: 81402009 (Nzcv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
pc : pend_sync_exception+0x198/0x5ac arch/arm64/kvm/inject_fault.c:63
lr : pend_sync_exception+0x198/0x5ac arch/arm64/kvm/inject_fault.c:63
sp : ffff80008e7378c0
x29: ffff80008e7378c0 x28: 0000000000000063 x27: 63f000001d7702a8
x26: 0000000000000063 x25: 0000000000000000 x24: 0000000000000000
x23: 0000000000000000 x22: 0000000000000063 x21: 63f000001d770e81
x20: 0000000000000007 x19: efff800000000000 x18: 0000000000000000
x17: 0000000000000041 x16: ffff800080011d9c x15: 00000000200000c0
x14: ffffffffffffffff x13: 0000000000000028 x12: 00000000000000cc
x11: ccf000001d756de4 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : ccf000001d755880 x7 : ffff800080b08704 x6 : ffff80008e737a88
x5 : ffff80008e737a88 x4 : 0000000000000001 x3 : ffff8000801a2e80
x2 : 0000000000000000 x1 : 0000000000000002 x0 : 0000000000000000
Call trace:
 pend_sync_exception+0x198/0x5ac arch/arm64/kvm/inject_fault.c:63 (P)
 inject_abt64 arch/arm64/kvm/inject_fault.c:115 [inline]
 __kvm_inject_sea+0x268/0x96c arch/arm64/kvm/inject_fault.c:207
 kvm_inject_sea+0x98/0x72c arch/arm64/kvm/inject_fault.c:229
 kvm_inject_sea_dabt arch/arm64/include/asm/kvm_emulate.h:54 [inline]
 __kvm_arm_vcpu_set_events+0x134/0x238 arch/arm64/kvm/guest.c:847
 kvm_arm_vcpu_set_events arch/arm64/kvm/arm.c:1698 [inline]
 kvm_arch_vcpu_ioctl+0xed8/0x16b0 arch/arm64/kvm/arm.c:1810
 kvm_vcpu_ioctl+0x5c4/0xc2c virt/kvm/kvm_main.c:4632
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl fs/ioctl.c:893 [inline]
 __arm64_sys_ioctl+0x18c/0x244 fs/ioctl.c:893
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x90/0x2b4 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x180/0x2f4 arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x58/0x74 arch/arm64/kernel/syscall.c:151
 el0_svc+0x58/0x160 arch/arm64/kernel/entry-common.c:767
 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600
irq event stamp: 2626
hardirqs last  enabled at (2625): [<ffff80008653cb88>] __raw_read_unlock_irqrestore include/linux/rwlock_api_smp.h:241 [inline]
hardirqs last  enabled at (2625): [<ffff80008653cb88>] _raw_read_unlock_irqrestore+0x44/0xbc kernel/locking/spinlock.c:268
hardirqs last disabled at (2626): [<ffff800086517e08>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511
softirqs last  enabled at (2576): [<ffff8000800c988c>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (2574): [<ffff8000800c9858>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---

Crashes (100):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/10 05:46 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 956bd956 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/16 03:49 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 23:40 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 21:16 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 19:42 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 18:35 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 16:36 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 15:21 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 12:43 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 11:33 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 09:05 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 08:00 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 06:27 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 04:45 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 03:26 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/15 02:17 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 03fcfc4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/14 20:56 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 d8fc7335 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/14 19:26 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 d8fc7335 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/14 18:25 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 d8fc7335 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/14 15:37 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 d8fc7335 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/14 14:36 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 d8fc7335 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/14 13:06 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 d8fc7335 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/14 07:28 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/14 05:32 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/14 04:01 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/14 02:56 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/13 23:10 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/13 17:10 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/13 15:52 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/13 13:50 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/13 12:01 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/13 10:47 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/13 09:47 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/13 06:57 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/13 05:48 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/13 00:50 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/12 22:16 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/12 22:12 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/12 22:12 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/12 18:33 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/12 15:26 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/12 10:58 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/12 06:44 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/12 06:38 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/12 05:10 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/12 03:56 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
2025/07/12 00:57 git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next 15724a984643 3cda49cf .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-native-arm64-kvm WARNING in pend_sync_exception
* Struck through repros no longer work on HEAD.