bisecting fixing commit since 9c849ce86e0fa93a218614eac562ace44053d7ce building syzkaller on 7eb7e15259fddd67759f90feb2b016da878f76c7 testing commit 9c849ce86e0fa93a218614eac562ace44053d7ce compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b8f6f017228a5c0a159c67c983669bc642386d10bf536e7c3fadb6a46bda9cc6 all runs: crashed: general protection fault in io_issue_sqe testing current HEAD e7c124bd04631973a3cc0df19ab881b56d8a2d50 testing commit e7c124bd04631973a3cc0df19ab881b56d8a2d50 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 64cdcdf7121a96ac3e38f6858fd5d3a4645991e26d91c8bfe0c8f79bb64e13c2 all runs: OK # git bisect start e7c124bd04631973a3cc0df19ab881b56d8a2d50 9c849ce86e0fa93a218614eac562ace44053d7ce Bisecting: 13654 revisions left to test after this (roughly 14 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [a427aca0a931b8c65b47231bbf09e8873b29d554] Merge tag 'mt76-for-kvalo-2021-10-23' of https://github.com/nbd168/wireless testing commit a427aca0a931b8c65b47231bbf09e8873b29d554 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a8aaf05d49e48918ca0897b33f296bff6b686e97b4e6180701c616a65e298f16 all runs: crashed: WARNING in nsim_dev_reload_destroy # git bisect good a427aca0a931b8c65b47231bbf09e8873b29d554 Bisecting: 6885 revisions left to test after this (roughly 13 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [ae45d84fc36d01dcb1007f4298871eec37907904] Merge tag 'dt-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit ae45d84fc36d01dcb1007f4298871eec37907904 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0cce2ca11967e39c69ac19d0e4af10416add6b4ab567217042af8d113f2e68f0 all runs: OK # git bisect bad ae45d84fc36d01dcb1007f4298871eec37907904 Bisecting: 3379 revisions left to test after this (roughly 12 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [ab2e7f4b46bf8fccf088ec496b3bb26b43e91340] Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm testing commit ab2e7f4b46bf8fccf088ec496b3bb26b43e91340 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 07f61b919e72152051423b4c28857595a7dde16b86b5a4cfcfd1e4fff390bf51 all runs: OK # git bisect bad ab2e7f4b46bf8fccf088ec496b3bb26b43e91340 Bisecting: 1712 revisions left to test after this (roughly 11 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [6f2b76a4a384e05ac8d3349831f29dff5de1e1e2] Merge tag 'Smack-for-5.16' of https://github.com/cschaufler/smack-next testing commit 6f2b76a4a384e05ac8d3349831f29dff5de1e1e2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 268a13269154d608e7ca1657e239c0e1c97d69cd1ac53f5c9aed03d3201620c6 all runs: OK # git bisect bad 6f2b76a4a384e05ac8d3349831f29dff5de1e1e2 Bisecting: 830 revisions left to test after this (roughly 10 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [3f01727f750eae3e61b738b57355b2538ab179f4] Merge tag 'for-5.16/bdev-size-2021-10-29' of git://git.kernel.dk/linux-block testing commit 3f01727f750eae3e61b738b57355b2538ab179f4 compiler: gcc (GCC) 10.2.1 20210217 ./include/linux/page-flags.h:806:29: error: macro "PAGEFLAG_FALSE" requires 2 arguments, but only 1 given ./include/linux/page-flags.h:807:32: error: macro "TESTSCFLAG_FALSE" requires 2 arguments, but only 1 given ./include/linux/page-flags.h:806:1: error: unknown type name 'PAGEFLAG_FALSE' ./include/linux/page-flags.h:807:18: error: expected ';' before 'static' # git bisect skip 3f01727f750eae3e61b738b57355b2538ab179f4 Bisecting: 830 revisions left to test after this (roughly 10 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [847d9317b2b9c7ecc14b953e6ecf9c12bcdb42e9] x86/xen: Mark xen_force_evtchn_callback() noinstr testing commit 847d9317b2b9c7ecc14b953e6ecf9c12bcdb42e9 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fa76ba3baa5075adb02f9e49b6b953c8fef944e046dfaa06d6bedcd4a0377d75 all runs: OK # git bisect bad 847d9317b2b9c7ecc14b953e6ecf9c12bcdb42e9 Bisecting: 11 revisions left to test after this (roughly 4 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [2c36d87be49355931da5b29ef7621505e0e46ce9] x86/sev: Fix noinstr for vc_ghcb_invalidate() testing commit 2c36d87be49355931da5b29ef7621505e0e46ce9 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8fbae4cb5071ede7fb19d87502041b924ef4ad950d91f8176a069ebf1ce547b0 run #0: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/tmp/syz-executor875222660" "root@10.128.0.140:./syz-executor875222660"]: exit status 1 Connection timed out during banner exchange Connection to 10.128.0.140 port 22 timed out lost connection run #1: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/tmp/syz-executor676352172" "root@10.128.15.214:./syz-executor676352172"]: exit status 1 Connection timed out during banner exchange Connection to 10.128.15.214 port 22 timed out lost connection run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect bad 2c36d87be49355931da5b29ef7621505e0e46ce9 Bisecting: 5 revisions left to test after this (roughly 3 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [2b2f72d4d81936bc08c18c426f40b7df70e2f8e7] x86/kvm: Always inline sev_*guest() testing commit 2b2f72d4d81936bc08c18c426f40b7df70e2f8e7 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cefcfb87ccfea3cd06263f08c5c97c197db97d42e76a1b70c007b0d1e1d620a8 all runs: OK # git bisect bad 2b2f72d4d81936bc08c18c426f40b7df70e2f8e7 Bisecting: 1 revision left to test after this (roughly 1 step) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [8b946cc38e063f0f7bb67789478c38f6d7d457c9] objtool: Introduce CFI hash testing commit 8b946cc38e063f0f7bb67789478c38f6d7d457c9 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9040bad28fe9c648c2e18f8d328560c70811d9e20f50fbc1f8557dd33d63a4b5 all runs: OK # git bisect bad 8b946cc38e063f0f7bb67789478c38f6d7d457c9 Bisecting: 1 revision left to test after this (roughly 1 step) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [9af9dcf11bda3e2c0e24c1acaacb8685ad974e93] x86/xen: Mark cpu_bringup_and_idle() as dead_end_function testing commit 9af9dcf11bda3e2c0e24c1acaacb8685ad974e93 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9040bad28fe9c648c2e18f8d328560c70811d9e20f50fbc1f8557dd33d63a4b5 run #0: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/tmp/syz-executor243498890" "root@10.128.1.31:./syz-executor243498890"]: exit status 1 Connection timed out during banner exchange Connection to 10.128.1.31 port 22 timed out lost connection run #1: OK run #2: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/tmp/syz-executor528542814" "root@10.128.0.186:./syz-executor528542814"]: exit status 1 Connection timed out during banner exchange Connection to 10.128.0.186 port 22 timed out lost connection run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect bad 9af9dcf11bda3e2c0e24c1acaacb8685ad974e93 warning: unable to access '/syzkaller/.config/git/attributes': Permission denied 9af9dcf11bda3e2c0e24c1acaacb8685ad974e93 is the first bad commit commit 9af9dcf11bda3e2c0e24c1acaacb8685ad974e93 Author: Peter Zijlstra Date: Thu Jun 24 11:41:00 2021 +0200 x86/xen: Mark cpu_bringup_and_idle() as dead_end_function The asm_cpu_bringup_and_idle() function is required to push the return value on the stack in order to make ORC happy, but the only reason objtool doesn't complain is because of a happy accident. The thing is that asm_cpu_bringup_and_idle() doesn't return, so validate_branch() never terminates and falls through to the next function, which in the normal case is the hypercall_page. And that, as it happens, is 4095 NOPs and a RET. Make asm_cpu_bringup_and_idle() terminate on it's own, by making the function it calls as a dead-end. This way we no longer rely on what code happens to come after. Fixes: c3881eb58d56 ("x86/xen: Make the secondary CPU idle tasks reliable") Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Juergen Gross Reviewed-by: Miroslav Benes Link: https://lore.kernel.org/r/20210624095147.693801717@infradead.org tools/objtool/check.c | 1 + 1 file changed, 1 insertion(+) parent commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f wasn't tested testing commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9040bad28fe9c648c2e18f8d328560c70811d9e20f50fbc1f8557dd33d63a4b5 culprit signature: 9040bad28fe9c648c2e18f8d328560c70811d9e20f50fbc1f8557dd33d63a4b5 parent signature: 9040bad28fe9c648c2e18f8d328560c70811d9e20f50fbc1f8557dd33d63a4b5 revisions tested: 11, total time: 2h45m40.800037208s (build: 1h17m57.852239565s, test: 1h26m1.209795691s) first good commit: 9af9dcf11bda3e2c0e24c1acaacb8685ad974e93 x86/xen: Mark cpu_bringup_and_idle() as dead_end_function recipients (to): ["jgross@suse.com" "mbenes@suse.cz" "peterz@infradead.org"] recipients (cc): []