ci starts bisection 2022-07-23 22:05:02.721961909 +0000 UTC m=+127176.163567225 bisecting cause commit starting from 70664fc10c0d722ec79d746d8ac1db8546c94114 building syzkaller on 22343af4ef8625de38ebba6b7c1758a27dabde73 testing commit 70664fc10c0d722ec79d746d8ac1db8546c94114 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 25a63fe87fcc59ba399dce01210f13173890fbc85e29d208b4c1e0852a4f37cb all runs: crashed: WARNING: ODEBUG bug in kvm_xen_vcpu_set_attr testing release v5.18 testing commit 4b0986a3613c92f4ec1bdc7f60ec66fea135991f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 49f405cf3207fd515791c4d46ed88c6ac39981609095a879405d23f6d714a580 all runs: OK # git bisect start 70664fc10c0d722ec79d746d8ac1db8546c94114 4b0986a3613c92f4ec1bdc7f60ec66fea135991f Bisecting: 8300 revisions left to test after this (roughly 13 steps) [c011dd537ffe47462051930413fed07dbdc80313] Merge tag 'arm-soc-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit c011dd537ffe47462051930413fed07dbdc80313 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ea6fe8e6ebb098aad8ed4f7bd5247c2ce79e2a059679aa9d2cc999337056bd78 all runs: OK # git bisect good c011dd537ffe47462051930413fed07dbdc80313 Bisecting: 4190 revisions left to test after this (roughly 12 steps) [73503963b715a64a44aa2b1c486114b917a17c73] module: Fix prefix for module.sig_enforce module param testing commit 73503963b715a64a44aa2b1c486114b917a17c73 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2b85fa493715a0cb4bed4ec2d443f0fcf1d19415bf7d608939d189aac74733ec all runs: crashed: WARNING: ODEBUG bug in kvm_xen_vcpu_set_attr # git bisect bad 73503963b715a64a44aa2b1c486114b917a17c73 Bisecting: 2074 revisions left to test after this (roughly 11 steps) [090b39af591cdde897664dfa5d3d5b0c78a197fb] Merge tag 'hardening-v5.19-rc1-fix1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux testing commit 090b39af591cdde897664dfa5d3d5b0c78a197fb compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1394d803f26f324fc0e537965b5646f40b0b146c4ddc9dfadfd47c0829ac0af0 all runs: crashed: WARNING: ODEBUG bug in kvm_xen_vcpu_set_attr # git bisect bad 090b39af591cdde897664dfa5d3d5b0c78a197fb Bisecting: 1012 revisions left to test after this (roughly 10 steps) [cc3c470ae4ad758b8ddad825ab199f7eaa8b0a9e] Merge tag 'arm-drivers-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit cc3c470ae4ad758b8ddad825ab199f7eaa8b0a9e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 180e7bde72c2bad51098387fe7365c79b34a3a204dc3f80815c90c1f67da1c1d all runs: OK # git bisect good cc3c470ae4ad758b8ddad825ab199f7eaa8b0a9e Bisecting: 439 revisions left to test after this (roughly 9 steps) [98931dd95fd489fcbfa97da563505a6f071d7c77] Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm testing commit 98931dd95fd489fcbfa97da563505a6f071d7c77 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 15426eca4887d5c06ae5c586a9dd6f8d251eaca5624e0ce5672f98994baf8fba failed: failed to create VM pool: failed to create GCE image: create image operation failed: &{Code:PERMISSIONS_ERROR Location: Message:Required 'read' permission for 'disks/ci-upstream-kasan-gce-bisect-job-bisect-job-image.tar.gz' ForceSendFields:[] NullFields:[]}. # git bisect skip 98931dd95fd489fcbfa97da563505a6f071d7c77 Bisecting: 439 revisions left to test after this (roughly 9 steps) [75c96ccea2e1de1342996722ee505d2cadedc0dd] selftests/vm/pkeys: fix typo in comment testing commit 75c96ccea2e1de1342996722ee505d2cadedc0dd compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 73bdbd2c7a9acd5c32fbd32090620441c9c61633899b03814b0d3e1f7288aac0 all runs: OK # git bisect good 75c96ccea2e1de1342996722ee505d2cadedc0dd Bisecting: 222 revisions left to test after this (roughly 8 steps) [bf9095424d027e942e1d1ee74977e17b7df8e455] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm testing commit bf9095424d027e942e1d1ee74977e17b7df8e455 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7b48b7ae890eeb1c2454c3bb3ad95eba6d1e667872255ff0efe26fe220dd0d7b all runs: crashed: WARNING: ODEBUG bug in kvm_xen_vcpu_set_attr # git bisect bad bf9095424d027e942e1d1ee74977e17b7df8e455 Bisecting: 206 revisions left to test after this (roughly 8 steps) [eb3de2d8f78d893303891d879f941c47f2f2d13d] s390/uv_uapi: depend on CONFIG_S390 testing commit eb3de2d8f78d893303891d879f941c47f2f2d13d compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e16185da608d50e47ef4da518aad27ab1f446046aba053427f25c77da9a9a79a all runs: crashed: WARNING: ODEBUG bug in kvm_xen_vcpu_set_attr # git bisect bad eb3de2d8f78d893303891d879f941c47f2f2d13d Bisecting: 102 revisions left to test after this (roughly 7 steps) [c919e881ba83e2912354ffa035980f62c78cc2f3] KVM: x86/mmu: Rename reset_rsvds_bits_mask() testing commit c919e881ba83e2912354ffa035980f62c78cc2f3 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 33abe77b1404188e1a4adf62bf389f9628d85a68cdf4ebe7e1a30d909f38ff64 all runs: crashed: WARNING: ODEBUG bug in kvm_xen_vcpu_set_attr # git bisect bad c919e881ba83e2912354ffa035980f62c78cc2f3 Bisecting: 51 revisions left to test after this (roughly 6 steps) [c3634d25fbee88e2368a8e0903ae0d0670eb9e71] KVM: nVMX: Leave most VM-Exit info fields unmodified on failed VM-Entry testing commit c3634d25fbee88e2368a8e0903ae0d0670eb9e71 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 024b02d4c386c54f8b456bb240627a1de85445dacea2afb85fdc385ef61292e5 all runs: crashed: WARNING: ODEBUG bug in kvm_xen_vcpu_set_attr # git bisect bad c3634d25fbee88e2368a8e0903ae0d0670eb9e71 Bisecting: 25 revisions left to test after this (roughly 5 steps) [e467b0de82b260a4ee2c3ea53ef76ac40259498f] KVM: x86: Test case for TSC scaling and offset sync testing commit e467b0de82b260a4ee2c3ea53ef76ac40259498f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e1c13793791efdd94019aeadc29e829af4ee3f97b113292fc728ae5f1231084e all runs: crashed: WARNING: ODEBUG bug in kvm_xen_vcpu_set_attr # git bisect bad e467b0de82b260a4ee2c3ea53ef76ac40259498f Bisecting: 12 revisions left to test after this (roughly 4 steps) [0ec6c5c5bb6585320a2e51a316c2fd381fdec836] KVM: x86/xen: handle PV IPI vcpu yield testing commit 0ec6c5c5bb6585320a2e51a316c2fd381fdec836 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8eba3fef3751837495855bbb2f0515d7e658ce66e635a851dbf2782756104609 all runs: OK # git bisect good 0ec6c5c5bb6585320a2e51a316c2fd381fdec836 Bisecting: 6 revisions left to test after this (roughly 3 steps) [1a65105a5aba9f7c6ea68cf687e569d055a94685] KVM: x86/xen: handle PV spinlocks slowpath testing commit 1a65105a5aba9f7c6ea68cf687e569d055a94685 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9bcec03c7354a184c2e8888d3690b3730a07143dcff317e5bb2e52961a433520 all runs: crashed: WARNING: ODEBUG bug in kvm_xen_vcpu_set_attr # git bisect bad 1a65105a5aba9f7c6ea68cf687e569d055a94685 Bisecting: 2 revisions left to test after this (roughly 2 steps) [28d1629f751c4a5f9437fbaa0ee4ed81d1a8e587] KVM: x86/xen: Kernel acceleration for XENVER_version testing commit 28d1629f751c4a5f9437fbaa0ee4ed81d1a8e587 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3fabb5cde1809dc85f613f626a0959dcc4f71b4a267392383e3cf9f73b200f88 all runs: crashed: WARNING: ODEBUG bug in kvm_xen_vcpu_set_attr # git bisect bad 28d1629f751c4a5f9437fbaa0ee4ed81d1a8e587 Bisecting: 0 revisions left to test after this (roughly 1 step) [536395260582be7443b0b35b0bbb89ffe3947f62] KVM: x86/xen: handle PV timers oneshot mode testing commit 536395260582be7443b0b35b0bbb89ffe3947f62 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3a19e774a07a5c276543fe99d0dd6127c4ed0db0f789d0fdf23aa239d310d267 all runs: crashed: WARNING: ODEBUG bug in kvm_xen_vcpu_set_attr # git bisect bad 536395260582be7443b0b35b0bbb89ffe3947f62 Bisecting: 0 revisions left to test after this (roughly 0 steps) [942c2490c23f2800ad8143f5eb84a79b859aa743] KVM: x86/xen: Add KVM_XEN_VCPU_ATTR_TYPE_VCPU_ID testing commit 942c2490c23f2800ad8143f5eb84a79b859aa743 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 186005bbbe2174bc5fdaf45a1cbbd3d4ebc91a19478bfc0f1ea0d04a1355727f all runs: OK # git bisect good 942c2490c23f2800ad8143f5eb84a79b859aa743 536395260582be7443b0b35b0bbb89ffe3947f62 is the first bad commit commit 536395260582be7443b0b35b0bbb89ffe3947f62 Author: Joao Martins Date: Thu Mar 3 15:41:22 2022 +0000 KVM: x86/xen: handle PV timers oneshot mode If the guest has offloaded the timer virq, handle the following hypercalls for programming the timer: VCPUOP_set_singleshot_timer VCPUOP_stop_singleshot_timer set_timer_op(timestamp_ns) The event channel corresponding to the timer virq is then used to inject events once timer deadlines are met. For now we back the PV timer with hrtimer. [ dwmw2: Add save/restore, 32-bit compat mode, immediate delivery, don't check timer in kvm_vcpu_has_event() ] Signed-off-by: Joao Martins Signed-off-by: David Woodhouse Signed-off-by: Paolo Bonzini Message-Id: <20220303154127.202856-13-dwmw2@infradead.org> Signed-off-by: Paolo Bonzini arch/x86/include/asm/kvm_host.h | 4 + arch/x86/kvm/irq.c | 10 +- arch/x86/kvm/xen.c | 211 ++++++++++++++++++++++++++++++++++++++++ arch/x86/kvm/xen.h | 28 ++++++ include/uapi/linux/kvm.h | 6 ++ 5 files changed, 257 insertions(+), 2 deletions(-) culprit signature: 3a19e774a07a5c276543fe99d0dd6127c4ed0db0f789d0fdf23aa239d310d267 parent signature: 186005bbbe2174bc5fdaf45a1cbbd3d4ebc91a19478bfc0f1ea0d04a1355727f revisions tested: 18, total time: 3h37m2.212213643s (build: 2h8m53.460533827s, test: 1h25m49.296923766s) first bad commit: 536395260582be7443b0b35b0bbb89ffe3947f62 KVM: x86/xen: handle PV timers oneshot mode recipients (to): ["dwmw@amazon.co.uk" "joao.m.martins@oracle.com" "pbonzini@redhat.com"] recipients (cc): [] crash: WARNING: ODEBUG bug in kvm_xen_vcpu_set_attr 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 ]------------ ODEBUG: init active (active state 0) object type: hrtimer hint: xen_timer_callback+0x0/0x90 arch/x86/kvm/xen.c:903 WARNING: CPU: 1 PID: 4081 at lib/debugobjects.c:505 debug_print_object+0x16e/0x250 lib/debugobjects.c:505 Modules linked in: CPU: 0 PID: 4081 Comm: syz-executor.0 Not tainted 5.17.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:debug_print_object+0x16e/0x250 lib/debugobjects.c:505 Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 00 00 00 48 8b 14 dd c0 de 42 89 4c 89 ee 48 c7 c7 c0 d2 42 89 e8 ce 86 ac 04 <0f> 0b 83 05 25 85 0e 09 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3 RSP: 0018:ffffc9000264f788 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff8942ce60 RDI: fffff520004c9ee3 RBP: 0000000000000001 R08: 0000000000000001 R09: ffff8880b9d341c7 R10: ffffed10173a6838 R11: 0000000000000001 R12: ffffffff88ed95a0 R13: ffffffff8942d7c0 R14: ffffffff815e5690 R15: ffffffff90125040 FS: 00007fb7ab7ba700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000203c8000 CR3: 0000000073697000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __debug_object_init+0x524/0xd10 lib/debugobjects.c:593 debug_hrtimer_init kernel/time/hrtimer.c:414 [inline] debug_init kernel/time/hrtimer.c:468 [inline] hrtimer_init+0x1b/0x1e0 kernel/time/hrtimer.c:1592 kvm_xen_init_timer arch/x86/kvm/xen.c:167 [inline] kvm_xen_vcpu_set_attr+0x273/0x1310 arch/x86/kvm/xen.c:683 kvm_arch_vcpu_ioctl+0x1b4e/0x3100 arch/x86/kvm/x86.c:5666 kvm_vcpu_ioctl+0x71d/0xbb0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4072 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb7ac045209 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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:00007fb7ab7ba168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb7ac157f60 RCX: 00007fb7ac045209 RDX: 0000000020003680 RSI: 000000004048aecb RDI: 000000000000000b RBP: 00007fb7ac09f161 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffbe18690f R14: 00007fb7ab7ba300 R15: 0000000000022000