bisecting cause commit starting from 1e1b28b936aed946122b4e0991e7144fdbbfd77e building syzkaller on 744a39e220cece33e207035facce6c5ae161b775 testing commit 1e1b28b936aed946122b4e0991e7144fdbbfd77e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2b188d02e195e3594d4eff59b54785c9cc837d250a364679aeecee33551394e1 run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #1: crashed: WARNING: still has locks held in io_ring_submit_lock run #2: crashed: WARNING: still has locks held in io_ring_submit_lock run #3: crashed: WARNING: still has locks held in io_ring_submit_lock run #4: crashed: WARNING: still has locks held in io_ring_submit_lock run #5: crashed: WARNING: still has locks held in io_ring_submit_lock run #6: crashed: WARNING: still has locks held in io_ring_submit_lock run #7: crashed: WARNING: still has locks held in io_ring_submit_lock run #8: crashed: WARNING: still has locks held in io_ring_submit_lock run #9: crashed: WARNING: still has locks held in io_ring_submit_lock run #10: crashed: WARNING: still has locks held in io_ring_submit_lock run #11: crashed: WARNING: still has locks held in io_ring_submit_lock run #12: crashed: WARNING: still has locks held in io_ring_submit_lock run #13: crashed: WARNING: still has locks held in io_ring_submit_lock run #14: crashed: WARNING: still has locks held in io_ring_submit_lock run #15: crashed: WARNING: still has locks held in io_ring_submit_lock run #16: crashed: WARNING: still has locks held in io_ring_submit_lock run #17: crashed: WARNING: still has locks held in io_ring_submit_lock run #18: crashed: WARNING: still has locks held in io_ring_submit_lock run #19: crashed: WARNING: still has locks held in io_ring_submit_lock testing release v5.17 testing commit f443e374ae131c168a065ea1748feac6b2e76613 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 89323cf5d9cc306be245a0c33a1c8b5ad28075930fb63ca9810a0f838314243c all runs: OK # git bisect start 1e1b28b936aed946122b4e0991e7144fdbbfd77e f443e374ae131c168a065ea1748feac6b2e76613 Bisecting: 13745 revisions left to test after this (roughly 14 steps) [6a34fdcca452457a530980be2561dab06da3627f] Merge tag 'rtc-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux testing commit 6a34fdcca452457a530980be2561dab06da3627f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: efd1bc9922479c88e5da37a250f92b2a5f8a00931999e4fbb9ea24b0a08d4427 run #0: crashed: SYZFATAL: executor failed NUM times: executor NUM: exit status NUM 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 reproducer seems to be flaky # git bisect bad 6a34fdcca452457a530980be2561dab06da3627f Bisecting: 6178 revisions left to test after this (roughly 13 steps) [169e77764adc041b1dacba84ea90516a895d43b2] Merge tag 'net-next-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next testing commit 169e77764adc041b1dacba84ea90516a895d43b2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 60294f5d64211ff669404a71d605d658182ba99eb5f5e75f6e181367bdf7a67b all runs: OK # git bisect good 169e77764adc041b1dacba84ea90516a895d43b2 Bisecting: 3065 revisions left to test after this (roughly 12 steps) [e35a4a4e13c35f500a8d38e836b5e335c7515494] Merge tag 'mtd/changes-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux testing commit e35a4a4e13c35f500a8d38e836b5e335c7515494 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: aff1f06d065f4ba666ba66691b40554523a27aa3966c6d37ef23d4b42442c68c all runs: OK # git bisect good e35a4a4e13c35f500a8d38e836b5e335c7515494 Bisecting: 1558 revisions left to test after this (roughly 11 steps) [02e2af20f4f9f2aa0c84e9a30a35c02f0fbb7daa] Merge tag 'char-misc-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc testing commit 02e2af20f4f9f2aa0c84e9a30a35c02f0fbb7daa compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ded2d71ef476d73361417888c7c7623a8f785c9d2705703be9063272d803c9e2 all runs: OK # git bisect good 02e2af20f4f9f2aa0c84e9a30a35c02f0fbb7daa Bisecting: 788 revisions left to test after this (roughly 10 steps) [1ec48f95519bd3e920536118e8ddd30e28cde4ab] Merge tag 'jfs-5.18' of https://github.com/kleikamp/linux-shaggy testing commit 1ec48f95519bd3e920536118e8ddd30e28cde4ab compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 17c2fca720180d14c5958eeb47b93e3a2a128c8b740205a305b5720acde6414e run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #1: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #2: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM run #3: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #4: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #5: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #6: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #7: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #8: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM run #9: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #10: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #11: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #12: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #13: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM run #14: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM run #15: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #16: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #17: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM run #18: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #19: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM # git bisect skip 1ec48f95519bd3e920536118e8ddd30e28cde4ab Bisecting: 788 revisions left to test after this (roughly 10 steps) [dbc04d2730f719a8c10bd2684ed53a9f6d8e794c] staging: r8188eu: ODM_BB_FA_CNT is always set testing commit dbc04d2730f719a8c10bd2684ed53a9f6d8e794c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 583ae9ea4e8ecb0f200283a9291b9b8b67b4d20dc11516ce0d85fb2de4672930 all runs: OK # git bisect good dbc04d2730f719a8c10bd2684ed53a9f6d8e794c Bisecting: 788 revisions left to test after this (roughly 10 steps) [fb0c4f9d72937670f38e7031d9aaf6589a00f454] clk: qcom: gcc: sm8150: Fix some identation issues testing commit fb0c4f9d72937670f38e7031d9aaf6589a00f454 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 70870d1816d24783d668c0265de8119509848446d81a4e8abf3bff3ea90e52b8 all runs: OK # git bisect good fb0c4f9d72937670f38e7031d9aaf6589a00f454 Bisecting: 733 revisions left to test after this (roughly 10 steps) [5265c43d40d04d57ac2108a8350e4e35e47dc518] staging: wfx: format code on 100 columns testing commit 5265c43d40d04d57ac2108a8350e4e35e47dc518 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1bdebd90ee86fa9bd888acfe04bb3a0c59e3077c89830d99040176cf2dfb7622 all runs: OK # git bisect good 5265c43d40d04d57ac2108a8350e4e35e47dc518 Bisecting: 625 revisions left to test after this (roughly 9 steps) [ee96dd9614f1c139e719dd2f296acbed7f1ab4b8] Merge tag 'libnvdimm-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm testing commit ee96dd9614f1c139e719dd2f296acbed7f1ab4b8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 17a4d8542305f9defd609b5321765c0b763a30a665e62a033f76fc4ee1ac0ae1 run #0: crashed: SYZFATAL: executor failed NUM times: executor NUM: failed to write control pipe: write |NUM: broken pipe run #1: crashed: WARNING: ODEBUG bug in netdev_run_todo 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 # git bisect bad ee96dd9614f1c139e719dd2f296acbed7f1ab4b8 Bisecting: 254 revisions left to test after this (roughly 8 steps) [7203062171db6669f746d14148c4af76af619e74] Merge tag 'tty-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty testing commit 7203062171db6669f746d14148c4af76af619e74 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4c31bf2a77237ef94d52befff9184e00b5f718a5b142720396571ca8b9f3fac3 all runs: OK # git bisect good 7203062171db6669f746d14148c4af76af619e74 Bisecting: 114 revisions left to test after this (roughly 7 steps) [1d59c3b669faddb91737f4e59c09305878a971d8] Merge tag 'pm-5.18-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm testing commit 1d59c3b669faddb91737f4e59c09305878a971d8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7e99bdc2525e183248c6bfb12899099d0d66d0e71f4c9a62261a942b9ddd14ff run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #1: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM run #2: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #3: crashed: SYZFATAL: executor failed NUM times: executor NUM: exit status NUM 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 # git bisect bad 1d59c3b669faddb91737f4e59c09305878a971d8 Bisecting: 69 revisions left to test after this (roughly 6 steps) [0a815d0135f1be20c1a04d07f7573a26272ef846] Merge tag 'ucount-rlimit-for-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace testing commit 0a815d0135f1be20c1a04d07f7573a26272ef846 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a6f44b6835ebdac9f30aabee0df29e2f6b1b36ea6b6acd8949bfd3f79ec693c5 run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM run #1: crashed: SYZFATAL: executor failed NUM times: executor NUM: exit status NUM 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 # git bisect bad 0a815d0135f1be20c1a04d07f7573a26272ef846 Bisecting: 35 revisions left to test after this (roughly 5 steps) [bcb74e132a76ce0502bb33d5b65533a4ed72d159] net/sched: act_ct: fix ref leak when switching zones testing commit bcb74e132a76ce0502bb33d5b65533a4ed72d159 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4dbde47c8b8396059c52551801bcfe1700a2b50b1ba5edc704996150f60ee2c5 all runs: OK # git bisect good bcb74e132a76ce0502bb33d5b65533a4ed72d159 Bisecting: 16 revisions left to test after this (roughly 4 steps) [b83d85a5c81c1f8227dc54636c779d3f20a4d731] Merge tag 'microblaze-v5.18' of git://git.monstr.eu/linux-2.6-microblaze testing commit b83d85a5c81c1f8227dc54636c779d3f20a4d731 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 658657e988d69fd0829332af98ff5c2d77aaa4bee2d4174f3d186fbdf82852df run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe 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 # git bisect good b83d85a5c81c1f8227dc54636c779d3f20a4d731 Bisecting: 7 revisions left to test after this (roughly 3 steps) [906b3d64913c19a50d5c553f21b54d2f4ce3ded7] net/smc: Send out the remaining data in sndbuf before close testing commit 906b3d64913c19a50d5c553f21b54d2f4ce3ded7 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 479e727330fe396f83913857eb5e53dbf69cb7b5a7a7879084176d211aa9311f run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM run #1: crashed: SYZFATAL: executor failed NUM times: executor NUM: failed to write control pipe: write |NUM: broken pipe 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 # git bisect bad 906b3d64913c19a50d5c553f21b54d2f4ce3ded7 Bisecting: 4 revisions left to test after this (roughly 2 steps) [2aa2f88c970783633da3d248ab3df7e15a416eca] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf testing commit 2aa2f88c970783633da3d248ab3df7e15a416eca compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 514c30152a7223dd0ee68cf843307a96383565671e4df1d542fef4c79db1eace run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe 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 # git bisect good 2aa2f88c970783633da3d248ab3df7e15a416eca Bisecting: 1 revision left to test after this (roughly 1 step) [6da69b1da130e7d96766042750cd9f902e890eba] net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator testing commit 6da69b1da130e7d96766042750cd9f902e890eba compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2c26d1ad9f4ccbe42358d71da2059cfd348eb23f71eed9ff1e1c1dfe36c6e912 run #0: crashed: SYZFATAL: executor failed NUM times: executor NUM: failed to write control pipe: write |NUM: broken pipe 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 # git bisect bad 6da69b1da130e7d96766042750cd9f902e890eba Bisecting: 1 revision left to test after this (roughly 1 step) [d9142e1cf3bbdaf21337767114ecab26fe702d47] selftests: net: Add tls config dependency for tls selftests testing commit d9142e1cf3bbdaf21337767114ecab26fe702d47 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7a30ef7c27e3be20ef3a1c3e71bc83889dfe654c783c9b2c5d5495a3ee071c04 run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe 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 # git bisect good d9142e1cf3bbdaf21337767114ecab26fe702d47 Bisecting: 0 revisions left to test after this (roughly 0 steps) [dcf500065fabe27676dfe7b4ba521a4f1e0fc8ac] net: bnxt_ptp: fix compilation error testing commit dcf500065fabe27676dfe7b4ba521a4f1e0fc8ac compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2f5847237abc8f77c6847ca128b9f2bfa2c992c574b1117bda22bcb51fbb72db run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe 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 # git bisect good dcf500065fabe27676dfe7b4ba521a4f1e0fc8ac 6da69b1da130e7d96766042750cd9f902e890eba is the first bad commit commit 6da69b1da130e7d96766042750cd9f902e890eba Author: Xiaomeng Tong Date: Mon Mar 28 11:24:31 2022 +0800 net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator The bug is here: return rule; The list iterator value 'rule' will *always* be set and non-NULL by list_for_each_entry(), so it is incorrect to assume that the iterator value will be NULL if the list is empty or no element is found. To fix the bug, return 'rule' when found, otherwise return NULL. Fixes: ae7a5aff783c7 ("net: dsa: bcm_sf2: Keep copy of inserted rules") Reviewed-by: Vladimir Oltean Reviewed-by: Florian Fainelli Signed-off-by: Xiaomeng Tong Link: https://lore.kernel.org/r/20220328032431.22538-1-xiam0nd.tong@gmail.com Signed-off-by: Jakub Kicinski drivers/net/dsa/bcm_sf2_cfp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) culprit signature: 2c26d1ad9f4ccbe42358d71da2059cfd348eb23f71eed9ff1e1c1dfe36c6e912 parent signature: 2f5847237abc8f77c6847ca128b9f2bfa2c992c574b1117bda22bcb51fbb72db Reproducer flagged being flaky revisions tested: 21, total time: 5h53m34.139430117s (build: 2h7m39.52084313s, test: 3h43m54.019535576s) first bad commit: 6da69b1da130e7d96766042750cd9f902e890eba net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator recipients (to): ["f.fainelli@gmail.com" "kuba@kernel.org" "olteanv@gmail.com" "xiam0nd.tong@gmail.com"] recipients (cc): [] crash: SYZFATAL: executor failed NUM times: executor NUM: failed to write control pipe: write |NUM: broken pipe 2022/05/15 06:19:49 SYZFATAL: executor failed 11 times: executor 3: failed to write control pipe: write |1: broken pipe SYZFAIL: wrong response packet (errno 16: Device or resource busy) loop exited with status 67