bisecting fixing commit since c3d8f220d01220a5b253e422be407d068dc65511 building syzkaller on 1da71ab086c5d9e6a32beae37b109efaa856b257 testing commit c3d8f220d01220a5b253e422be407d068dc65511 with gcc (GCC) 8.4.1 20210217 kernel signature: c26d560123b37f2c6c0e974419c7833ef12f1fbf1c744c7d9c54fe7f6810f175 all runs: crashed: WARNING: ODEBUG bug in cancel_delayed_work testing current HEAD 614124bea77e452aa6df7a8714e8bc820b489922 testing commit 614124bea77e452aa6df7a8714e8bc820b489922 with gcc (GCC) 10.2.1 20210217 kernel signature: 816d1d0b1974820aa800c7d841263ccb42abd2ae307eea142080708250545a66 all runs: OK # git bisect start 614124bea77e452aa6df7a8714e8bc820b489922 c3d8f220d01220a5b253e422be407d068dc65511 Bisecting: 32845 revisions left to test after this (roughly 15 steps) [7060377ce06f9cd3ed6274c0f2310463feb5baec] Merge branch 'for-joerg/mtk' into for-joerg/arm-smmu/updates testing commit 7060377ce06f9cd3ed6274c0f2310463feb5baec with gcc (GCC) 10.2.1 20210217 kernel signature: 27059f8ba76c0a509b0eadf68eb9d629cb4deaced6ac09944835a2a79226764e all runs: crashed: WARNING: ODEBUG bug in cancel_delayed_work # git bisect good 7060377ce06f9cd3ed6274c0f2310463feb5baec Bisecting: 16422 revisions left to test after this (roughly 14 steps) [172f6d3a031b5ecb22e7dd8c4462f4eeabde3d63] can: c_can: convert block comments to network style comments testing commit 172f6d3a031b5ecb22e7dd8c4462f4eeabde3d63 with gcc (GCC) 10.2.1 20210217 kernel signature: 00cc1d9b53ec4904d7de6e791b535817c5c5f4c26d9bb0d280282549799131cb all runs: basic kernel testing failed: unregister_netdevice: waiting for DEV to become free # git bisect skip 172f6d3a031b5ecb22e7dd8c4462f4eeabde3d63 Bisecting: 16422 revisions left to test after this (roughly 14 steps) [96d2bfb7948a96709ba57084d64ac56c1730557c] iwlwifi: mvm: clear IN_D3 after wowlan status cmd testing commit 96d2bfb7948a96709ba57084d64ac56c1730557c with gcc (GCC) 10.2.1 20210217 kernel signature: 1d33d23543f51527e2e9ed288246faf3989ee035758b1351dcaac6cb32b8e93d all runs: crashed: WARNING: ODEBUG bug in cancel_delayed_work # git bisect good 96d2bfb7948a96709ba57084d64ac56c1730557c Bisecting: 16249 revisions left to test after this (roughly 14 steps) [90e66ce9e817df307045abe40ff64ecf60e3c6ee] Merge tag 'x86_boot_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 90e66ce9e817df307045abe40ff64ecf60e3c6ee with gcc (GCC) 10.2.1 20210217 kernel signature: d2519cf60ffdd5d0c0c1c87197e014f49955a7f76e45a6ee51a02b0b80eec35c all runs: crashed: WARNING: ODEBUG bug in cancel_delayed_work # git bisect good 90e66ce9e817df307045abe40ff64ecf60e3c6ee Bisecting: 8124 revisions left to test after this (roughly 13 steps) [3651aaacd10b2f8cee3780c490fc2df55bd4f543] nvmet: demote discovery cmd parse err msg to debug testing commit 3651aaacd10b2f8cee3780c490fc2df55bd4f543 with gcc (GCC) 10.2.1 20210217 kernel signature: ae6337ec57cbbe7787702e8216d350093962b36ef1bf6c162924cc8103dba9eb all runs: crashed: WARNING: ODEBUG bug in cancel_delayed_work # git bisect good 3651aaacd10b2f8cee3780c490fc2df55bd4f543 Bisecting: 4025 revisions left to test after this (roughly 12 steps) [65ec0a7d24913b146cd1500d759b8c340319d55e] Merge tag 'pinctrl-v5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl testing commit 65ec0a7d24913b146cd1500d759b8c340319d55e with gcc (GCC) 10.2.1 20210217 kernel signature: e33d28bcdf4aee628b7d1b1558323b05d7ca026ca328a7e7fdbc3728136b8b62 run #0: crashed: WARNING in __nf_unregister_net_hook run #1: crashed: 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: crashed: WARNING in __nf_unregister_net_hook run #5: crashed: WARNING in __nf_unregister_net_hook run #6: crashed: WARNING in __nf_unregister_net_hook run #7: crashed: WARNING in __nf_unregister_net_hook run #8: crashed: WARNING in __nf_unregister_net_hook run #9: crashed: KASAN: use-after-free Read in hooks_validate # git bisect good 65ec0a7d24913b146cd1500d759b8c340319d55e Bisecting: 2008 revisions left to test after this (roughly 11 steps) [682a8e2b41effcaf2e80697e395d47f77c91273f] Merge tag 'ecryptfs-5.13-rc1-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs testing commit 682a8e2b41effcaf2e80697e395d47f77c91273f with gcc (GCC) 10.2.1 20210217 kernel signature: a39e45a6098d53d5c0b2841ff332507862f9725a3be8bd592124b97919667f81 all runs: crashed: WARNING in __nf_unregister_net_hook # git bisect good 682a8e2b41effcaf2e80697e395d47f77c91273f Bisecting: 1002 revisions left to test after this (roughly 10 steps) [a0d8b0eda3107f5dda4a56623164ced833574ead] Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi testing commit a0d8b0eda3107f5dda4a56623164ced833574ead with gcc (GCC) 10.2.1 20210217 kernel signature: bf688c79d0ab84e1d7d3383d16d2671b7d8e8ac3d1a7fc55458ec54bf20f6f32 all runs: boot failed: BUG: unable to handle kernel paging request in hgafb_open # git bisect skip a0d8b0eda3107f5dda4a56623164ced833574ead Bisecting: 1002 revisions left to test after this (roughly 10 steps) [f96d44743a44e3332f75d23d2075bb8270900e1d] btrfs: check error value from btrfs_update_inode in tree log testing commit f96d44743a44e3332f75d23d2075bb8270900e1d with gcc (GCC) 10.2.1 20210217 kernel signature: 8ac5aa460b5d858fd488a893e044c43636627559be39609f941237853e0c10ea all runs: crashed: WARNING: ODEBUG bug in cancel_delayed_work # git bisect good f96d44743a44e3332f75d23d2075bb8270900e1d Bisecting: 992 revisions left to test after this (roughly 10 steps) [ec347b7c319156c3b488681d1813d08d88499cc6] tools headers UAPI: Sync linux/fs.h with the kernel sources testing commit ec347b7c319156c3b488681d1813d08d88499cc6 with gcc (GCC) 10.2.1 20210217 kernel signature: 3c3a633f897a8292a060a626afeeccad1cf0882de88d5d6259b8a1f275e56357 all runs: boot failed: BUG: unable to handle kernel paging request in hgafb_open # git bisect skip ec347b7c319156c3b488681d1813d08d88499cc6 Bisecting: 992 revisions left to test after this (roughly 10 steps) [8bfbfb0ddd706b1ce2e89259ecc45f192c0ec2bf] f2fs: compress: fix to assign cc.cluster_idx correctly testing commit 8bfbfb0ddd706b1ce2e89259ecc45f192c0ec2bf with gcc (GCC) 10.2.1 20210217 kernel signature: 3d1e8a58217d1a1700f15add64093dfeff330493f2fa96d5d316af42ea01bfc1 all runs: OK # git bisect bad 8bfbfb0ddd706b1ce2e89259ecc45f192c0ec2bf Bisecting: 257 revisions left to test after this (roughly 8 steps) [a647034fe26b92702d5084b518c061e3cebefbaf] Merge tag 'nfs-for-5.13-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs testing commit a647034fe26b92702d5084b518c061e3cebefbaf with gcc (GCC) 10.2.1 20210217 kernel signature: ec64a2ebe01865fbf1d63c58a8081aaba834ae14bf317012863bb494c19e5362 all runs: crashed: WARNING in __nf_unregister_net_hook # git bisect good a647034fe26b92702d5084b518c061e3cebefbaf Bisecting: 121 revisions left to test after this (roughly 7 steps) [fc858a5231089b972076642a86cf62481d95d82e] Merge tag 'net-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit fc858a5231089b972076642a86cf62481d95d82e with gcc (GCC) 10.2.1 20210217 kernel signature: cd45e1642a78b759369ce4e2ef44098a59a34e8e81c7afe7d353f90f9a7d8a17 all runs: OK # git bisect bad fc858a5231089b972076642a86cf62481d95d82e Bisecting: 67 revisions left to test after this (roughly 6 steps) [61343e6da7810de81d6b826698946ae4f9070819] i40e: fix the restart auto-negotiation after FEC modified testing commit 61343e6da7810de81d6b826698946ae4f9070819 with gcc (GCC) 10.2.1 20210217 kernel signature: eaf341d0ad8a1359348e05493b0b69b2d2fecdab41c4af346c5715cb10c92875 all runs: crashed: WARNING in __nf_unregister_net_hook # git bisect good 61343e6da7810de81d6b826698946ae4f9070819 Bisecting: 29 revisions left to test after this (roughly 5 steps) [51595e3b4943b0079638b2657f603cf5c8ea3a66] Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux testing commit 51595e3b4943b0079638b2657f603cf5c8ea3a66 with gcc (GCC) 10.2.1 20210217 kernel signature: 507525d10008984c8dd689f7c484f0a73057e36228cc9010b53990e615fa99d8 all runs: crashed: WARNING in __nf_unregister_net_hook # git bisect good 51595e3b4943b0079638b2657f603cf5c8ea3a66 Bisecting: 14 revisions left to test after this (roughly 4 steps) [55bc1af3d9115d669570aa633e5428d6e2302e8f] Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf testing commit 55bc1af3d9115d669570aa633e5428d6e2302e8f with gcc (GCC) 10.2.1 20210217 kernel signature: bf0fd983e793dbc695b1848f93003ef399168398571b50a33f01db567b044311 all runs: OK # git bisect bad 55bc1af3d9115d669570aa633e5428d6e2302e8f Bisecting: 6 revisions left to test after this (roughly 3 steps) [6c8774a94e6ad26f29ef103c8671f55c255c6201] netfilter: nftables: avoid potential overflows on 32bit arches testing commit 6c8774a94e6ad26f29ef103c8671f55c255c6201 with gcc (GCC) 10.2.1 20210217 kernel signature: 50ed5ba166ac72848b670ef1a8511ad24612bcc54975fe0e9edf54bf7b8a0968 all runs: OK # git bisect bad 6c8774a94e6ad26f29ef103c8671f55c255c6201 Bisecting: 3 revisions left to test after this (roughly 2 steps) [5e024c325406470d1165a09c6feaf8ec897936be] netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check testing commit 5e024c325406470d1165a09c6feaf8ec897936be with gcc (GCC) 10.2.1 20210217 kernel signature: a79620dd6f3a64f0cfc331a7cde9ee3d0a95956864e832ae85d665cf4508a6f7 all runs: OK # git bisect bad 5e024c325406470d1165a09c6feaf8ec897936be Bisecting: 1 revision left to test after this (roughly 1 step) [43016d02cf6e46edfc4696452251d34bba0c0435] netfilter: arptables: use pernet ops struct during unregister testing commit 43016d02cf6e46edfc4696452251d34bba0c0435 with gcc (GCC) 10.2.1 20210217 kernel signature: be1905db69f72bafd1ab6ad9f71c8d21c4160e5c069bc55b248b8cd11fef6402 all runs: OK # git bisect bad 43016d02cf6e46edfc4696452251d34bba0c0435 Bisecting: 0 revisions left to test after this (roughly 0 steps) [c7d13358b6a2f49f81a34aa323a2d0878a0532a2] netfilter: xt_SECMARK: add new revision to fix structure layout testing commit c7d13358b6a2f49f81a34aa323a2d0878a0532a2 with gcc (GCC) 10.2.1 20210217 kernel signature: 60f20afa2c580a1e4f3e3c70aea3053b6fb936b5b29d336f078502c0bc3b373c all runs: crashed: WARNING in __nf_unregister_net_hook # git bisect good c7d13358b6a2f49f81a34aa323a2d0878a0532a2 43016d02cf6e46edfc4696452251d34bba0c0435 is the first bad commit commit 43016d02cf6e46edfc4696452251d34bba0c0435 Author: Florian Westphal Date: Mon May 3 13:51:15 2021 +0200 netfilter: arptables: use pernet ops struct during unregister Like with iptables and ebtables, hook unregistration has to use the pernet ops struct, not the template. This triggered following splat: hook not found, pf 3 num 0 WARNING: CPU: 0 PID: 224 at net/netfilter/core.c:480 __nf_unregister_net_hook+0x1eb/0x610 net/netfilter/core.c:480 [..] nf_unregister_net_hook net/netfilter/core.c:502 [inline] nf_unregister_net_hooks+0x117/0x160 net/netfilter/core.c:576 arpt_unregister_table_pre_exit+0x67/0x80 net/ipv4/netfilter/arp_tables.c:1565 Fixes: f9006acc8dfe5 ("netfilter: arp_tables: pass table pointer via nf_hook_ops") Reported-by: syzbot+dcccba8a1e41a38cb9df@syzkaller.appspotmail.com Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso include/linux/netfilter_arp/arp_tables.h | 3 +-- net/ipv4/netfilter/arp_tables.c | 5 ++--- net/ipv4/netfilter/arptable_filter.c | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) culprit signature: be1905db69f72bafd1ab6ad9f71c8d21c4160e5c069bc55b248b8cd11fef6402 parent signature: 60f20afa2c580a1e4f3e3c70aea3053b6fb936b5b29d336f078502c0bc3b373c revisions tested: 22, total time: 5h32m58.410018284s (build: 2h30m7.884505009s, test: 2h58m53.708490611s) first good commit: 43016d02cf6e46edfc4696452251d34bba0c0435 netfilter: arptables: use pernet ops struct during unregister 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"]