bisecting fixing commit since 4010a528219e01dd02e768b22168f7f0e78365ce building syzkaller on 9a4781d43abfb86fe8521cb6fb084519e237454c testing commit 4010a528219e01dd02e768b22168f7f0e78365ce compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 030d6b6724621dc857b1d0db70c6342e74649bae266c754ace8ec11300ea81cf run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK reproducer seems to be flaky testing current HEAD 5472f14a37421d1bca3dddf33cabd3bd6dbefbbc testing commit 5472f14a37421d1bca3dddf33cabd3bd6dbefbbc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5ed79976aeebaec16d481d62a85f0a3a8ad3c877e7342aacc66b192ad4b2432d all runs: OK # git bisect start 5472f14a37421d1bca3dddf33cabd3bd6dbefbbc 4010a528219e01dd02e768b22168f7f0e78365ce Bisecting: 14716 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 [2b4731b153b4621064d9e899a92f6c03199630f1] Merge branch 'ethernet-more-netdev-dev_addr-write-removals' testing commit 2b4731b153b4621064d9e899a92f6c03199630f1 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0a2ba9fb7a195c43723f5dc1bbc8f26266387395e308c3682c6f792b805bbe51 all runs: OK # git bisect bad 2b4731b153b4621064d9e899a92f6c03199630f1 Bisecting: 8017 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 [1b4f3dfb4792f03b139edf10124fcbeb44e608e6] Merge tag 'usb-serial-5.15-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-next testing commit 1b4f3dfb4792f03b139edf10124fcbeb44e608e6 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 47dee8ef507b6e8c2a92d068db287bad7b4a2c98cf9c0508c1796387b7e5aad3 run #0: crashed: KFENCE: use-after-free in kvm_fastop_exception run #1: crashed: KFENCE: use-after-free in kvm_fastop_exception run #2: crashed: KFENCE: use-after-free in kvm_fastop_exception run #3: crashed: KFENCE: use-after-free in kvm_fastop_exception run #4: crashed: KFENCE: use-after-free in kvm_fastop_exception run #5: crashed: KFENCE: use-after-free in kvm_fastop_exception run #6: crashed: KFENCE: use-after-free in kvm_fastop_exception run #7: crashed: KFENCE: use-after-free in kvm_fastop_exception run #8: crashed: KFENCE: use-after-free in kvm_fastop_exception run #9: crashed: KFENCE: use-after-free in kvm_fastop_exception run #10: crashed: KFENCE: use-after-free in kvm_fastop_exception run #11: crashed: KFENCE: use-after-free in kvm_fastop_exception run #12: crashed: KFENCE: use-after-free in kvm_fastop_exception run #13: crashed: KFENCE: use-after-free in kvm_fastop_exception run #14: crashed: KFENCE: use-after-free in kvm_fastop_exception run #15: crashed: KFENCE: use-after-free in kvm_fastop_exception run #16: crashed: KFENCE: use-after-free in kvm_fastop_exception run #17: crashed: KFENCE: use-after-free in kvm_fastop_exception run #18: crashed: KFENCE: use-after-free in kvm_fastop_exception run #19: crashed: KASAN: use-after-free Read in __d_alloc # git bisect good 1b4f3dfb4792f03b139edf10124fcbeb44e608e6 Bisecting: 4024 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 [0319b848b155185815724e1b46103c550627a845] binfmt: a.out: Fix bogus semicolon testing commit 0319b848b155185815724e1b46103c550627a845 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b7e047ca42131964120313e81fbb6b00528ae6322b40d40d3327605ce15c6668 run #0: crashed: KFENCE: use-after-free in kvm_fastop_exception run #1: crashed: KFENCE: use-after-free in kvm_fastop_exception run #2: crashed: KFENCE: use-after-free in kvm_fastop_exception run #3: crashed: KFENCE: use-after-free in kvm_fastop_exception run #4: crashed: KFENCE: use-after-free in kvm_fastop_exception run #5: crashed: KFENCE: use-after-free in kvm_fastop_exception run #6: crashed: KFENCE: use-after-free in kvm_fastop_exception run #7: crashed: KFENCE: use-after-free in kvm_fastop_exception run #8: crashed: KFENCE: use-after-free in kvm_fastop_exception run #9: crashed: KFENCE: use-after-free in kvm_fastop_exception run #10: crashed: KFENCE: use-after-free in kvm_fastop_exception run #11: crashed: KFENCE: use-after-free in kvm_fastop_exception run #12: crashed: KFENCE: use-after-free in kvm_fastop_exception run #13: crashed: KFENCE: use-after-free in kvm_fastop_exception run #14: crashed: KFENCE: use-after-free in kvm_fastop_exception run #15: crashed: KFENCE: use-after-free in kvm_fastop_exception run #16: crashed: KFENCE: use-after-free in kvm_fastop_exception run #17: crashed: KFENCE: use-after-free in kvm_fastop_exception run #18: crashed: KASAN: use-after-free Read in __d_alloc run #19: crashed: KASAN: use-after-free Read in __d_alloc # git bisect good 0319b848b155185815724e1b46103c550627a845 Bisecting: 2010 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 [b9b11b133b4a0b4f8dc36ec04d81d630f763eaa6] Merge tag 'dma-mapping-5.15-1' of git://git.infradead.org/users/hch/dma-mapping testing commit b9b11b133b4a0b4f8dc36ec04d81d630f763eaa6 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9b70c30c6ef557990c3e5176ebe018cd01a81449e9001149aa1f38e899c9bdca all runs: OK # git bisect bad b9b11b133b4a0b4f8dc36ec04d81d630f763eaa6 Bisecting: 993 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 [2d338201d5311bcd79d42f66df4cecbcbc5f4f2c] Merge branch 'akpm' (patches from Andrew) testing commit 2d338201d5311bcd79d42f66df4cecbcbc5f4f2c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 66b1193e866a4fa87b165fb7eac4b30fc4736bfce17d6f2fd3c28cd582975b28 run #0: crashed: KFENCE: use-after-free in kvm_fastop_exception run #1: crashed: KFENCE: use-after-free in kvm_fastop_exception run #2: crashed: KFENCE: use-after-free in kvm_fastop_exception run #3: crashed: KFENCE: use-after-free in kvm_fastop_exception run #4: crashed: KFENCE: use-after-free in kvm_fastop_exception run #5: crashed: KFENCE: use-after-free in kvm_fastop_exception run #6: crashed: KFENCE: use-after-free in kvm_fastop_exception run #7: crashed: KFENCE: use-after-free in kvm_fastop_exception run #8: crashed: KFENCE: use-after-free in kvm_fastop_exception run #9: crashed: KFENCE: use-after-free in kvm_fastop_exception run #10: crashed: KFENCE: use-after-free in kvm_fastop_exception run #11: crashed: KFENCE: use-after-free in kvm_fastop_exception run #12: crashed: KFENCE: use-after-free in kvm_fastop_exception run #13: crashed: KFENCE: use-after-free in kvm_fastop_exception run #14: crashed: KFENCE: use-after-free in kvm_fastop_exception run #15: crashed: KFENCE: use-after-free in kvm_fastop_exception run #16: crashed: KFENCE: use-after-free in kvm_fastop_exception run #17: OK run #18: crashed: KFENCE: use-after-free in kvm_fastop_exception run #19: crashed: KFENCE: use-after-free in kvm_fastop_exception # git bisect good 2d338201d5311bcd79d42f66df4cecbcbc5f4f2c Bisecting: 496 revisions left to test after this (roughly 9 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [c2f4954c2d3fc4f77b46c67585e17a58df4ba8e4] Merge branch 'linus' into smp/urgent testing commit c2f4954c2d3fc4f77b46c67585e17a58df4ba8e4 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d92281de4cffa82f8d8f7238a97d94807d59acba6f88636741c3c462e757d363 all runs: crashed: KFENCE: use-after-free in kvm_fastop_exception # git bisect good c2f4954c2d3fc4f77b46c67585e17a58df4ba8e4 Bisecting: 248 revisions left to test after this (roughly 8 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [d41adc4e22c62640fa7de93f713a3c5b3638ab2e] Merge tag 'auxdisplay-for-linus-v5.15-rc1' of git://github.com/ojeda/linux testing commit d41adc4e22c62640fa7de93f713a3c5b3638ab2e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0be4fb5aeb97c9e5ee07aaec6983759dfc0364d48f7037ad4bcb93802bb89d97 all runs: OK # git bisect bad d41adc4e22c62640fa7de93f713a3c5b3638ab2e Bisecting: 122 revisions left to test after this (roughly 7 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [a1406e424253ba2121614377aaab274d403b08e0] Merge tag 'devicetree-fixes-for-5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux testing commit a1406e424253ba2121614377aaab274d403b08e0 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8efebb1c3d6308a5f7fa9f3fab9d207e358394dcc0c80bcdb295f8832e077633 all runs: crashed: KFENCE: use-after-free in kvm_fastop_exception # git bisect good a1406e424253ba2121614377aaab274d403b08e0 Bisecting: 78 revisions left to test after this (roughly 6 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [b79bd0d5102b4a3ea908018fda6b84a4c8fd6235] Merge tag 'riscv-for-linus-5.15-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux testing commit b79bd0d5102b4a3ea908018fda6b84a4c8fd6235 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cb140181d3f9020bef54f136ca2cb31c45c5946896e09a73503c1dd369b46c53 all runs: crashed: KFENCE: use-after-free in kvm_fastop_exception # git bisect good b79bd0d5102b4a3ea908018fda6b84a4c8fd6235 Bisecting: 39 revisions left to test after this (roughly 5 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [7bc7f61897b66bef78bb5952e3d1e9f3aaf9ccca] Documentation: Add documentation for VDUSE testing commit 7bc7f61897b66bef78bb5952e3d1e9f3aaf9ccca compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 29c41cf293ef2cb3a95f8614b9765d61be5697efcb63e4b53d2466d1eb56bfbe all runs: OK # git bisect bad 7bc7f61897b66bef78bb5952e3d1e9f3aaf9ccca Bisecting: 19 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 [41116599a0731f4cd451e9d191d879ab45e31945] virtio/vsock: add 'VIRTIO_VSOCK_SEQ_EOR' bit. testing commit 41116599a0731f4cd451e9d191d879ab45e31945 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cd7e8b5f9199453f0cefa19274fe1c1efdb3838ecbf1544e98a0bea720801a45 all runs: OK # git bisect bad 41116599a0731f4cd451e9d191d879ab45e31945 Bisecting: 9 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 [5262912ef3cfc5e518892c3d67fb36412cb813e2] vdpa/mlx5: Add support for control VQ and MAC setting testing commit 5262912ef3cfc5e518892c3d67fb36412cb813e2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ec89a8b943d0d71e7440cf8b77e01238a6bbac68f4ed0539b5fec748963b16af all runs: OK # git bisect bad 5262912ef3cfc5e518892c3d67fb36412cb813e2 Bisecting: 4 revisions left to test after this (roughly 2 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [90d1936681bc469824c6dfeda701efc884d3b448] vDPA/ifcvf: enable multiqueue and control vq testing commit 90d1936681bc469824c6dfeda701efc884d3b448 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ec89a8b943d0d71e7440cf8b77e01238a6bbac68f4ed0539b5fec748963b16af all runs: OK # git bisect bad 90d1936681bc469824c6dfeda701efc884d3b448 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 [6b5df347c6482f57b0d8f0569b86fb8fcd90d168] vDPA/ifcvf: implement management netlink framework for ifcvf testing commit 6b5df347c6482f57b0d8f0569b86fb8fcd90d168 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ec89a8b943d0d71e7440cf8b77e01238a6bbac68f4ed0539b5fec748963b16af all runs: OK # git bisect bad 6b5df347c6482f57b0d8f0569b86fb8fcd90d168 Bisecting: 0 revisions left to test after this (roughly 0 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [30326f9577342aac257ed9c036608de666b06389] vDPA/ifcvf: introduce get_dev_type() which returns virtio dev id testing commit 30326f9577342aac257ed9c036608de666b06389 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ec89a8b943d0d71e7440cf8b77e01238a6bbac68f4ed0539b5fec748963b16af all runs: OK # git bisect bad 30326f9577342aac257ed9c036608de666b06389 warning: unable to access '/syzkaller/.config/git/attributes': Permission denied 30326f9577342aac257ed9c036608de666b06389 is the first bad commit commit 30326f9577342aac257ed9c036608de666b06389 Author: Zhu Lingshan Date: Thu Aug 12 11:24:53 2021 +0800 vDPA/ifcvf: introduce get_dev_type() which returns virtio dev id This commit introduces a new function get_dev_type() which returns the virtio device id of a device, to avoid duplicated code. Signed-off-by: Zhu Lingshan Acked-by: Jason Wang Link: https://lore.kernel.org/r/20210812032454.24486-2-lingshan.zhu@intel.com Signed-off-by: Michael S. Tsirkin drivers/vdpa/ifcvf/ifcvf_main.c | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) parent commit 7d2a07b769330c34b4deabeed939325c77a7ec2f wasn't tested testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ec89a8b943d0d71e7440cf8b77e01238a6bbac68f4ed0539b5fec748963b16af culprit signature: ec89a8b943d0d71e7440cf8b77e01238a6bbac68f4ed0539b5fec748963b16af parent signature: ec89a8b943d0d71e7440cf8b77e01238a6bbac68f4ed0539b5fec748963b16af Reproducer flagged being flaky revisions tested: 17, total time: 4h52m54.18393779s (build: 1h58m14.926656643s, test: 2h52m37.084036579s) first good commit: 30326f9577342aac257ed9c036608de666b06389 vDPA/ifcvf: introduce get_dev_type() which returns virtio dev id recipients (to): ["jasowang@redhat.com" "lingshan.zhu@intel.com" "mst@redhat.com"] recipients (cc): []