bisecting fixing commit since 2034d6f0838e465dd8f120c4e946d8444b4bb5df building syzkaller on 6a81331a1d4c744da9204d02ec88d558f7eea9c9 testing commit 2034d6f0838e465dd8f120c4e946d8444b4bb5df with gcc (GCC) 8.4.1 20210217 kernel signature: 43104907590cd68ac73fd24777136a3780810a5e530fc3ce8397aac5678f211e all runs: crashed: KASAN: null-ptr-deref Read in nla_get_hwaddr testing current HEAD 3c8c23092588a23bf1856a64f58c37f477a413be testing commit 3c8c23092588a23bf1856a64f58c37f477a413be with gcc (GCC) 8.4.1 20210217 kernel signature: f866ae7c1c089e7e7adf490ce2cd58962790a124bc36b39038b646290577d6f8 all runs: OK # git bisect start 3c8c23092588a23bf1856a64f58c37f477a413be 2034d6f0838e465dd8f120c4e946d8444b4bb5df Bisecting: 114 revisions left to test after this (roughly 7 steps) [3d0696f2efb51f5a86f8e2bd65ec9b1f2187c930] ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces testing commit 3d0696f2efb51f5a86f8e2bd65ec9b1f2187c930 with gcc (GCC) 8.4.1 20210217 kernel signature: 27733eab459158541f6d5cb6e947fbb5bd3e38167be19242dd04428abaea29b8 all runs: crashed: KASAN: null-ptr-deref Read in nla_get_hwaddr # git bisect good 3d0696f2efb51f5a86f8e2bd65ec9b1f2187c930 Bisecting: 57 revisions left to test after this (roughly 6 steps) [c23987a0a39282a85aa402c6135193966871fcbf] net: ieee802154: forbid monitor for add llsec dev testing commit c23987a0a39282a85aa402c6135193966871fcbf with gcc (GCC) 8.4.1 20210217 kernel signature: 586f99b9bc60b9b05e889f463616e6d0dbfa5c21ca00bdd45d94e5c3c8135e70 all runs: OK # git bisect bad c23987a0a39282a85aa402c6135193966871fcbf Bisecting: 28 revisions left to test after this (roughly 5 steps) [6e873559444f2c780757c87c5991720d0acca9e8] KVM: arm64: Hide system instruction access to Trace registers testing commit 6e873559444f2c780757c87c5991720d0acca9e8 with gcc (GCC) 8.4.1 20210217 kernel signature: e6458b84b5d3c668bf419ac726e5c0a0c59a4bc589f305fcb850c8480864d824 all runs: OK # git bisect bad 6e873559444f2c780757c87c5991720d0acca9e8 Bisecting: 13 revisions left to test after this (roughly 4 steps) [962bc99bf0a93dcf10afa342a0bebad3dec3327d] net: tun: set tun->dev->addr_len during TUNSETLINK processing testing commit 962bc99bf0a93dcf10afa342a0bebad3dec3327d with gcc (GCC) 8.4.1 20210217 kernel signature: 0bd56fd92ce6e17063f6c4282effb62fa6a10b5424aa0d0ad6e066c88ecbb329 all runs: crashed: KASAN: null-ptr-deref Read in nla_get_hwaddr # git bisect good 962bc99bf0a93dcf10afa342a0bebad3dec3327d Bisecting: 6 revisions left to test after this (roughly 3 steps) [bdd1d2784ad3e51698047f832f935a2389f3b4a6] net: ieee802154: fix nl802154 add llsec key testing commit bdd1d2784ad3e51698047f832f935a2389f3b4a6 with gcc (GCC) 8.4.1 20210217 kernel signature: 62f026d44f3e5c200f7bb08a6f884a99bfd35f7b12d6230650f9f4761eea360f all runs: OK # git bisect bad bdd1d2784ad3e51698047f832f935a2389f3b4a6 Bisecting: 3 revisions left to test after this (roughly 2 steps) [c166c0f5311dc9de687b8985574a5ee5166d367e] net: mac802154: Fix general protection fault testing commit c166c0f5311dc9de687b8985574a5ee5166d367e with gcc (GCC) 8.4.1 20210217 kernel signature: c34fe8739c7beb732b3e54b608f55e6699e334217ca4c2088d546f313196c06b all runs: crashed: KASAN: null-ptr-deref Read in nla_get_hwaddr # git bisect good c166c0f5311dc9de687b8985574a5ee5166d367e Bisecting: 1 revision left to test after this (roughly 1 step) [79ba55c0e7a7990537d36a470e3a2f0968408b7e] net: ieee802154: fix nl802154 del llsec key testing commit 79ba55c0e7a7990537d36a470e3a2f0968408b7e with gcc (GCC) 8.4.1 20210217 kernel signature: 4e0cb7ddfb85da9b34c22a199b9982609fdb0a99a92cde7a56886cde4e0bae58 all runs: OK # git bisect bad 79ba55c0e7a7990537d36a470e3a2f0968408b7e Bisecting: 0 revisions left to test after this (roughly 0 steps) [5983b9de012edaa1149c3114e56c82ec6e9dd957] net: ieee802154: nl-mac: fix check on panid testing commit 5983b9de012edaa1149c3114e56c82ec6e9dd957 with gcc (GCC) 8.4.1 20210217 kernel signature: 405b57f8e0452d1a76e34d357d4266f54aab9f82ff21a981fe75c9c5b0777472 all runs: OK # git bisect bad 5983b9de012edaa1149c3114e56c82ec6e9dd957 5983b9de012edaa1149c3114e56c82ec6e9dd957 is the first bad commit commit 5983b9de012edaa1149c3114e56c82ec6e9dd957 Author: Alexander Aring Date: Sun Feb 28 10:18:03 2021 -0500 net: ieee802154: nl-mac: fix check on panid commit 6f7f657f24405f426212c09260bf7fe8a52cef33 upstream. This patch fixes a null pointer derefence for panid handle by move the check for the netlink variable directly before accessing them. Reported-by: syzbot+d4c07de0144f6f63be3a@syzkaller.appspotmail.com Signed-off-by: Alexander Aring Link: https://lore.kernel.org/r/20210228151817.95700-4-aahringo@redhat.com Signed-off-by: Stefan Schmidt Signed-off-by: Greg Kroah-Hartman net/ieee802154/nl-mac.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) culprit signature: 405b57f8e0452d1a76e34d357d4266f54aab9f82ff21a981fe75c9c5b0777472 parent signature: c34fe8739c7beb732b3e54b608f55e6699e334217ca4c2088d546f313196c06b revisions tested: 10, total time: 2h34m42.874245239s (build: 1h27m32.589763347s, test: 1h6m3.76550376s) first good commit: 5983b9de012edaa1149c3114e56c82ec6e9dd957 net: ieee802154: nl-mac: fix check on panid recipients (to): ["aahringo@redhat.com" "gregkh@linuxfoundation.org" "stefan@datenfreihafen.org"] recipients (cc): []