bisecting cause commit starting from 04fe99a8d936d46a310ca61b8b63dc270962bf01 building syzkaller on 0230ba3e7ee638765ace8e2c3b436e703017b46c testing commit 04fe99a8d936d46a310ca61b8b63dc270962bf01 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4946ec11a50fb09ab6aee6c775693a1a2169abdb50baf07866d1756033451b6c all runs: crashed: possible deadlock in blkdev_put testing release v5.15 testing commit 8bb7eca972ad531c9b149c0a51ab43a417385813 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 40b6138c9eecbffa8b1478870eef79b1f8987b54c913f036e51773f6b6530f63 run #0: crashed: possible deadlock in __loop_clr_fd run #1: crashed: possible deadlock in __loop_clr_fd run #2: crashed: possible deadlock in __loop_clr_fd run #3: crashed: possible deadlock in __loop_clr_fd run #4: crashed: possible deadlock in __loop_clr_fd run #5: crashed: possible deadlock in __loop_clr_fd run #6: crashed: possible deadlock in loop_process_work run #7: crashed: possible deadlock in __loop_clr_fd run #8: crashed: possible deadlock in __loop_clr_fd run #9: crashed: possible deadlock in __loop_clr_fd testing release v5.14 testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 71738c3377733d3dda8550ad151fefec92990536cf3c289dfcca0d2bda8925bf all runs: crashed: possible deadlock in __loop_clr_fd testing release v5.13 testing commit 62fb9874f5da54fdb243003b386128037319b219 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a832ce7bdbb55a2ccfd0620743dea2f7049b9956da97a2cf2d6a41a2a9b6d4be run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: crashed: BUG: sleeping function called from invalid context in lock_sock_nested 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 testing release v5.12 testing commit 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0098de74954c4539e47e30ac2b47bd5762dccd5cdf6191d8657142f98730c486 all runs: OK # git bisect start 62fb9874f5da54fdb243003b386128037319b219 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 Bisecting: 8739 revisions left to test after this (roughly 13 steps) [85f3f17b5db2dd9f8a094a0ddc665555135afd22] Merge branch 'md-fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md into block-5.13 testing commit 85f3f17b5db2dd9f8a094a0ddc665555135afd22 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2de25109d28483d70a7c3d1586781554eb470e0e25101b3762eb4f63f73f29e0 all runs: OK # git bisect good 85f3f17b5db2dd9f8a094a0ddc665555135afd22 Bisecting: 4372 revisions left to test after this (roughly 12 steps) [77a88274dc1a2cf3a775161d9a3242bc798ee680] kbuild: replace LANG=C with LC_ALL=C testing commit 77a88274dc1a2cf3a775161d9a3242bc798ee680 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a921624aaa3b120c7cf1118744f2c5719eabfed0af6022e27cc3fbafbb6003e8 run #0: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #1: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #2: crashed: WARNING in __nf_unregister_net_hook run #3: crashed: WARNING in __nf_unregister_net_hook run #4: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #5: crashed: WARNING in __nf_unregister_net_hook run #6: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #7: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #8: crashed: WARNING in __nf_unregister_net_hook run #9: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #10: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #11: crashed: WARNING in __nf_unregister_net_hook run #12: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #13: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #14: crashed: WARNING in __nf_unregister_net_hook run #15: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #16: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #17: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #18: crashed: WARNING in __nf_unregister_net_hook run #19: crashed: WARNING in __nf_unregister_net_hook # git bisect bad 77a88274dc1a2cf3a775161d9a3242bc798ee680 Bisecting: 2184 revisions left to test after this (roughly 11 steps) [aeacb52a8de7046be5399ba311f49bce96e1b269] net/mlx5: DR, Add support for isolate_vl_tc QP testing commit aeacb52a8de7046be5399ba311f49bce96e1b269 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1c9fb4cfeac12d5e07ab259c77f3ae6f2572497ada9952848f49ec5d652d4047 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" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.3:./syz-fuzzer"]: exit status 1 ssh: connect to host 10.128.1.3 port 22: Connection 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" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.24:./syz-fuzzer"]: exit status 1 ssh: connect to host 10.128.10.24 port 22: Connection timed out lost connection 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" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.26:./syz-fuzzer"]: exit status 1 ssh: connect to host 10.128.10.26 port 22: Connection timed out lost connection run #3: 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" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.54:./syz-fuzzer"]: exit status 1 Connection timed out during banner exchange Connection to 10.128.10.54 port 22 timed out lost connection run #4: 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" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.0.95:./syz-fuzzer"]: exit status 1 Connection timed out during banner exchange Connection to 10.128.0.95 port 22 timed out lost connection run #5: basic kernel testing failed: failed to copy test binary to VM: timedout ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.0.242:./syz-fuzzer"] run #6: basic kernel testing failed: failed to copy test binary to VM: timedout ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.27:./syz-fuzzer"] run #7: basic kernel testing failed: failed to copy test binary to VM: timedout ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.29:./syz-fuzzer"] run #8: basic kernel testing failed: failed to copy test binary to VM: timedout ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.42:./syz-fuzzer"] run #9: boot failed: KASAN: slab-out-of-bounds Read in page_to_skb run #10: boot failed: KASAN: slab-out-of-bounds Read in page_to_skb run #11: boot failed: KASAN: use-after-free Read in page_to_skb run #12: boot failed: KASAN: use-after-free Read in page_to_skb run #13: boot failed: KASAN: use-after-free Read in page_to_skb run #14: boot failed: KASAN: use-after-free Read in page_to_skb run #15: boot failed: KASAN: use-after-free Read in page_to_skb run #16: boot failed: KASAN: slab-out-of-bounds Read in page_to_skb run #17: boot failed: KASAN: slab-out-of-bounds Read in page_to_skb run #18: boot failed: KASAN: use-after-free Read in page_to_skb run #19: boot failed: KASAN: use-after-free Read in page_to_skb # git bisect skip aeacb52a8de7046be5399ba311f49bce96e1b269 Bisecting: 2184 revisions left to test after this (roughly 11 steps) [b42446b9b37ba444ba12d89dd9d45c2b68768f24] stmmac: intel: add support for multi-vector msi and msi-x testing commit b42446b9b37ba444ba12d89dd9d45c2b68768f24 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c5bb3f7c0165a2c30f795d8a12eaa8fc6667cacab8e64e2f196946cf38a35567 all runs: OK # git bisect good b42446b9b37ba444ba12d89dd9d45c2b68768f24 Bisecting: 1734 revisions left to test after this (roughly 11 steps) [4b5baca0403e2b6308e68938dc4d94912f5b8e28] net: dsa: microchip: ksz8795: change drivers prefix to be generic testing commit 4b5baca0403e2b6308e68938dc4d94912f5b8e28 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a256e108249b4f4cda00cead77050425e8c9d8968227a9a1ab2996d70eddf7ec run #0: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #1: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #2: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #3: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #4: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #5: crashed: WARNING in __nf_unregister_net_hook run #6: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #7: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #8: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #9: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #10: crashed: WARNING in __nf_unregister_net_hook run #11: crashed: WARNING in __nf_unregister_net_hook run #12: crashed: WARNING in __nf_unregister_net_hook run #13: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #14: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #15: crashed: WARNING in __nf_unregister_net_hook run #16: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #17: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #18: crashed: WARNING in __nf_unregister_net_hook run #19: crashed: WARNING in __nf_unregister_net_hook # git bisect bad 4b5baca0403e2b6308e68938dc4d94912f5b8e28 Bisecting: 866 revisions left to test after this (roughly 10 steps) [1141bfef9c4700488619ef513772701635a6c80c] Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue testing commit 1141bfef9c4700488619ef513772701635a6c80c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c26019a1392f3db531ab46c385447a66a098c48d73c16e444feed3ce0808b511 all runs: OK # git bisect good 1141bfef9c4700488619ef513772701635a6c80c Bisecting: 432 revisions left to test after this (roughly 9 steps) [790aad0eccd206643f134bcf724b7078a04f63e0] korina: Fix build. testing commit 790aad0eccd206643f134bcf724b7078a04f63e0 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 356e21d7c93466742e426a1ad83257edf63ade56b5bba99504b085ba5ade08f4 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" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.46:./syz-fuzzer"]: exit status 1 ssh: connect to host 10.128.1.46 port 22: Connection 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" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.47:./syz-fuzzer"]: exit status 1 ssh: connect to host 10.128.1.47 port 22: Connection timed out lost connection 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" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.50:./syz-fuzzer"]: exit status 1 Connection timed out during banner exchange Connection to 10.128.1.50 port 22 timed out lost connection run #3: 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" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.0.28:./syz-fuzzer"]: exit status 1 Connection timed out during banner exchange Connection to 10.128.0.28 port 22 timed out lost connection run #4: 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" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.54:./syz-fuzzer"]: exit status 1 ssh: connect to host 10.128.1.54 port 22: Connection timed out lost connection run #5: basic kernel testing failed: failed to copy test binary to VM: timedout ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.2:./syz-fuzzer"] run #6: boot failed: KASAN: slab-out-of-bounds Read in page_to_skb run #7: boot failed: KASAN: slab-out-of-bounds Read in page_to_skb run #8: boot failed: KASAN: use-after-free Read in page_to_skb run #9: boot failed: KASAN: use-after-free Read in page_to_skb run #10: boot failed: KASAN: slab-out-of-bounds Read in page_to_skb run #11: boot failed: KASAN: use-after-free Read in page_to_skb run #12: boot failed: KASAN: use-after-free Read in page_to_skb run #13: boot failed: KASAN: use-after-free Read in page_to_skb run #14: boot failed: KASAN: use-after-free Read in page_to_skb run #15: boot failed: KASAN: slab-out-of-bounds Read in page_to_skb run #16: boot failed: KASAN: use-after-free Read in page_to_skb run #17: boot failed: KASAN: use-after-free Read in page_to_skb run #18: boot failed: KASAN: use-after-free Read in page_to_skb run #19: boot failed: KASAN: use-after-free Read in page_to_skb # git bisect skip 790aad0eccd206643f134bcf724b7078a04f63e0 Bisecting: 432 revisions left to test after this (roughly 9 steps) [ca4fb892579f110d3ab4865eb2aef36be7683a7c] mptcp: add MSG_PEEK support testing commit ca4fb892579f110d3ab4865eb2aef36be7683a7c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8f4e9f3af15cc7235f08cf9207334303c4b03d43ba59450f9ef1495060ff4dad all runs: OK # git bisect good ca4fb892579f110d3ab4865eb2aef36be7683a7c Bisecting: 96 revisions left to test after this (roughly 7 steps) [1e5e4acb66ed8f337e60bb1b15b46cc91361d181] Merge tag 'mlx5-updates-2021-04-21' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux testing commit 1e5e4acb66ed8f337e60bb1b15b46cc91361d181 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0f50884704501472f6419cecc0c7f503dbc16cfc9cc402d051c921caf65e58c7 all runs: OK # git bisect good 1e5e4acb66ed8f337e60bb1b15b46cc91361d181 Bisecting: 51 revisions left to test after this (roughly 6 steps) [6876a18d3361e1893187970e1881a1d88d894d3f] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 6876a18d3361e1893187970e1881a1d88d894d3f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3c4a95f54706827dc53e428d82b72daa2d64ccf8f6d53e846239634a1c871907 all runs: OK # git bisect good 6876a18d3361e1893187970e1881a1d88d894d3f Bisecting: 26 revisions left to test after this (roughly 5 steps) [9176e38027195346f50ab885498678ca7ae55a21] net: davicom: Remove redundant assignment to ret testing commit 9176e38027195346f50ab885498678ca7ae55a21 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e02cd805312b72d46987160b0e14fd4cf46a40d44f6074c400e5e58d47c3e50f all runs: basic kernel testing failed: WARNING in __nf_unregister_net_hook # git bisect skip 9176e38027195346f50ab885498678ca7ae55a21 Bisecting: 26 revisions left to test after this (roughly 5 steps) [2ad5692db72874f02b9ad551d26345437ea4f7f3] net: hso: fix NULL-deref on disconnect regression testing commit 2ad5692db72874f02b9ad551d26345437ea4f7f3 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b98458ca818ec53d7806e3e83dd6949622c38563d52eb485e4b6abed5abcc32a run #0: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #1: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #2: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #3: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #4: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #5: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #6: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #7: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #8: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #9: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #10: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #11: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #12: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #13: crashed: WARNING in __nf_unregister_net_hook run #14: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #15: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #16: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #17: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #18: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #19: crashed: WARNING in __nf_unregister_net_hook # git bisect bad 2ad5692db72874f02b9ad551d26345437ea4f7f3 Bisecting: 14 revisions left to test after this (roughly 4 steps) [593268ddf3887362ba8b8998cb85433596a3e8f5] netfilter: nf_log_syslog: Unset bridge logger in pernet exit testing commit 593268ddf3887362ba8b8998cb85433596a3e8f5 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b05b48e7acd44e02f46bc149b1a2724ed1d029a1569a9d9cd98564d99e46f080 run #0: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #1: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #2: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #3: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #4: crashed: WARNING in __nf_unregister_net_hook run #5: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #6: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #7: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #8: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #9: crashed: WARNING in __nf_unregister_net_hook run #10: crashed: WARNING in __nf_unregister_net_hook run #11: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #12: crashed: WARNING in __nf_unregister_net_hook run #13: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #14: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #15: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #16: crashed: WARNING in __nf_unregister_net_hook run #17: crashed: WARNING in __nf_unregister_net_hook run #18: crashed: WARNING in __nf_unregister_net_hook run #19: crashed: WARNING in __nf_unregister_net_hook # git bisect bad 593268ddf3887362ba8b8998cb85433596a3e8f5 Bisecting: 7 revisions left to test after this (roughly 3 steps) [6c0717545f2ca61c95f5f739da845e77cc8bd498] netfilter: ip6tables: unregister the tables by name testing commit 6c0717545f2ca61c95f5f739da845e77cc8bd498 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f2f6b28b72237cc5fc5d64ead859d06121430f77a8da5523306e9c6be1da51dc all runs: OK # git bisect good 6c0717545f2ca61c95f5f739da845e77cc8bd498 Bisecting: 3 revisions left to test after this (roughly 2 steps) [ae689334225ff0e4ef112459ecd24aea932c2b00] netfilter: ip_tables: pass table pointer via nf_hook_ops testing commit ae689334225ff0e4ef112459ecd24aea932c2b00 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1f94656290beee1495e0bc2b7f6208e351a94ff59f76255c3d24fcb19e923dcf all runs: OK # git bisect good ae689334225ff0e4ef112459ecd24aea932c2b00 Bisecting: 1 revision left to test after this (roughly 1 step) [ee177a54413a33fe474d55fabb5f8ff390bb27d7] netfilter: ip6_tables: pass table pointer via nf_hook_ops testing commit ee177a54413a33fe474d55fabb5f8ff390bb27d7 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ed4b3f6e2012ee7c38c105346c87a2e75bb0678835b9c9d1ebbedb5dddc1b98e run #0: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #1: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #2: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #3: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #4: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #5: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #6: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #7: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #8: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #9: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #10: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #11: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #12: crashed: WARNING in __nf_unregister_net_hook run #13: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #14: crashed: WARNING in __nf_unregister_net_hook run #15: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #16: crashed: WARNING in __nf_unregister_net_hook run #17: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #18: crashed: WARNING in __nf_unregister_net_hook run #19: crashed: WARNING in __nf_unregister_net_hook # git bisect bad ee177a54413a33fe474d55fabb5f8ff390bb27d7 Bisecting: 0 revisions left to test after this (roughly 0 steps) [f9006acc8dfe59e25aa75729728ac57a8d84fc32] netfilter: arp_tables: pass table pointer via nf_hook_ops testing commit f9006acc8dfe59e25aa75729728ac57a8d84fc32 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4aa1874c4ce0953a69dd33d50a7f7604cfea5ea29ec02ae908275c6528c2682c run #0: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #1: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #2: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #3: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #4: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #5: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #6: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #7: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #8: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #9: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #10: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #11: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #12: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #13: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #14: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #15: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #16: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #17: crashed: WARNING in __nf_unregister_net_hook run #18: crashed: WARNING in __nf_unregister_net_hook run #19: crashed: WARNING in __nf_unregister_net_hook # git bisect bad f9006acc8dfe59e25aa75729728ac57a8d84fc32 f9006acc8dfe59e25aa75729728ac57a8d84fc32 is the first bad commit commit f9006acc8dfe59e25aa75729728ac57a8d84fc32 Author: Florian Westphal Date: Wed Apr 21 09:51:08 2021 +0200 netfilter: arp_tables: pass table pointer via nf_hook_ops Same change as previous patch. Only difference: no need to handle NULL template_ops parameter, the only caller (arptable_filter) always passes non-NULL argument. This removes all remaining accesses to net->ipv4.arptable_filter. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso include/linux/netfilter_arp/arp_tables.h | 2 +- net/ipv4/netfilter/arp_tables.c | 43 +++++++++++++++++++++----------- net/ipv4/netfilter/arptable_filter.c | 6 ++--- 3 files changed, 32 insertions(+), 19 deletions(-) culprit signature: 4aa1874c4ce0953a69dd33d50a7f7604cfea5ea29ec02ae908275c6528c2682c parent signature: 1f94656290beee1495e0bc2b7f6208e351a94ff59f76255c3d24fcb19e923dcf Reproducer flagged being flaky revisions tested: 22, total time: 5h21m24.35999554s (build: 2h22m30.561253615s, test: 2h56m25.036959449s) first bad commit: f9006acc8dfe59e25aa75729728ac57a8d84fc32 netfilter: arp_tables: pass table pointer via nf_hook_ops recipients (to): ["coreteam@netfilter.org" "davem@davemloft.net" "dsahern@kernel.org" "fw@strlen.de" "fw@strlen.de" "kadlec@netfilter.org" "kuba@kernel.org" "netdev@vger.kernel.org" "netfilter-devel@vger.kernel.org" "pablo@netfilter.org" "pablo@netfilter.org" "yoshfuji@linux-ipv6.org"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: WARNING in __nf_unregister_net_hook ------------[ cut here ]------------ hook not found, pf 3 num 0 WARNING: CPU: 0 PID: 182 at net/netfilter/core.c:480 __nf_unregister_net_hook+0x17a/0x560 net/netfilter/core.c:480 Modules linked in: CPU: 0 PID: 182 Comm: kworker/u4:4 Not tainted 5.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:__nf_unregister_net_hook+0x17a/0x560 net/netfilter/core.c:480 Code: 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 a7 03 00 00 8b 53 1c 44 89 e6 48 c7 c7 e0 99 9e 89 4c 89 04 24 e8 6e 2f 62 01 <0f> 0b 4c 8b 04 24 e9 ba 00 00 00 48 89 ea 48 c1 e2 04 49 8d 7c 10 RSP: 0018:ffffc900016cfbf0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff888021ef2e00 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000004 RDI: fffff520002d9f70 RBP: 0000000000000001 R08: 0000000000000001 R09: ffff8880ba01fa1b R10: ffffed1017403f43 R11: 0000000000000001 R12: 0000000000000003 R13: ffff888027a50000 R14: ffff888021ef2e1c R15: ffff888027a50f60 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffc3e28df8 CR3: 000000000a68e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_unregister_net_hook net/netfilter/core.c:502 [inline] nf_unregister_net_hooks+0xb1/0xf0 net/netfilter/core.c:576 ops_pre_exit_list net/core/net_namespace.c:165 [inline] cleanup_net+0x3a4/0x990 net/core/net_namespace.c:583 process_one_work+0x84c/0x13b0 kernel/workqueue.c:2275 worker_thread+0x598/0xf80 kernel/workqueue.c:2421 kthread+0x36f/0x450 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294