bisecting fixing commit since 2c8a3fceddf0dd87f278e7a5e01350f86f844b1c building syzkaller on 98682e5e2aefc9aad61354f4f3ac93be96002a2a testing commit 2c8a3fceddf0dd87f278e7a5e01350f86f844b1c with gcc (GCC) 8.4.1 20210217 kernel signature: b58cb2f1f077058dc2f8d7a932029599d53af219166a380b4e77c6778ca22100 all runs: crashed: general protection fault in nl802154_add_llsec_key testing current HEAD 7d7d1c0ab3eb7c8d8f63a126535018007823b207 testing commit 7d7d1c0ab3eb7c8d8f63a126535018007823b207 with gcc (GCC) 8.4.1 20210217 kernel signature: a85d6099df275ed4afc053e8afe37c89b18641f097ea11864d92b82836e6b742 all runs: OK # git bisect start 7d7d1c0ab3eb7c8d8f63a126535018007823b207 2c8a3fceddf0dd87f278e7a5e01350f86f844b1c Bisecting: 381 revisions left to test after this (roughly 9 steps) [ca4e8562c52aac6fd75ad6bf8f2234e91a631837] can: skb: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership testing commit ca4e8562c52aac6fd75ad6bf8f2234e91a631837 with gcc (GCC) 8.4.1 20210217 kernel signature: 1245e410653e474ffc54617e317023d386d03a29023eeea350f23fa03eb7a222 all runs: crashed: general protection fault in nl802154_add_llsec_key # git bisect good ca4e8562c52aac6fd75ad6bf8f2234e91a631837 Bisecting: 190 revisions left to test after this (roughly 8 steps) [db108b67d81397cdbaf3f91aeca6e5eb5f71de1d] xen-blkback: don't leak persistent grants from xen_blkbk_map() testing commit db108b67d81397cdbaf3f91aeca6e5eb5f71de1d with gcc (GCC) 8.4.1 20210217 kernel signature: 348b82275f1bfdb3e68301342d33c3edb2589d277ccf147051a5ff4fa2c5961c all runs: crashed: general protection fault in nl802154_add_llsec_key # git bisect good db108b67d81397cdbaf3f91aeca6e5eb5f71de1d Bisecting: 95 revisions left to test after this (roughly 7 steps) [a4173e6b7ba3b6cc712ed422bb16a1bd8773d8c4] sch_red: fix off-by-one checks in red_check_params() testing commit a4173e6b7ba3b6cc712ed422bb16a1bd8773d8c4 with gcc (GCC) 8.4.1 20210217 kernel signature: 0a5eceee601cd5e2a73309475a2a6ebdc61ee2d6ffad5c1457c0a80f2cc127ce all runs: crashed: general protection fault in nl802154_add_llsec_key # git bisect good a4173e6b7ba3b6cc712ed422bb16a1bd8773d8c4 Bisecting: 47 revisions left to test after this (roughly 6 steps) [d0a2b1d290cd429867e480f8d61a1e27f3b69f2e] ARM: dts: Fix moving mmc devices with aliases for omap4 & 5 testing commit d0a2b1d290cd429867e480f8d61a1e27f3b69f2e with gcc (GCC) 8.4.1 20210217 kernel signature: 7b7a4e7c4ed91aa38a2665ebf0512c54874c6dede6736e7e9f7ee5354e93fc63 all runs: OK # git bisect bad d0a2b1d290cd429867e480f8d61a1e27f3b69f2e Bisecting: 23 revisions left to test after this (roughly 5 steps) [87f225abe010d78965f95411f3a206a287994c40] drivers: net: fix memory leak in peak_usb_create_dev testing commit 87f225abe010d78965f95411f3a206a287994c40 with gcc (GCC) 8.4.1 20210217 kernel signature: 6a2514f980e1d9fc5111489cd9f7bbead24ca4ab9c79f35ef6afc25624f783e9 all runs: crashed: general protection fault in nl802154_add_llsec_key # git bisect good 87f225abe010d78965f95411f3a206a287994c40 Bisecting: 11 revisions left to test after this (roughly 4 steps) [67c9beda84973f5962efd27007a56e42b0d1d750] KVM: arm64: Disable guest access to trace filter controls testing commit 67c9beda84973f5962efd27007a56e42b0d1d750 with gcc (GCC) 8.4.1 20210217 kernel signature: 0e61f3c80793801fdda38b0c1f8f817740fe2b968ed3c60f68679525ad4fe514 all runs: OK # git bisect bad 67c9beda84973f5962efd27007a56e42b0d1d750 Bisecting: 5 revisions left to test after this (roughly 3 steps) [266e3f2ef0d10efe2d74bac5b0d4e4dd20320e60] net: ieee802154: fix nl802154 del llsec devkey testing commit 266e3f2ef0d10efe2d74bac5b0d4e4dd20320e60 with gcc (GCC) 8.4.1 20210217 kernel signature: 8899dfcbfca756a0c1787278de06fb0ee109863eedaba026c2405a68ce3d2425 all runs: OK # git bisect bad 266e3f2ef0d10efe2d74bac5b0d4e4dd20320e60 Bisecting: 2 revisions left to test after this (roughly 2 steps) [1804bf103e735f49f650e27c3ec1ec30654b72a1] net: ieee802154: fix nl802154 del llsec key testing commit 1804bf103e735f49f650e27c3ec1ec30654b72a1 with gcc (GCC) 8.4.1 20210217 kernel signature: e8d73fb3b613abd470a1ab6a725014292c97d7c7bda7e329b182c1cd4350e39a all runs: crashed: general protection fault in nl802154_add_llsec_key # git bisect good 1804bf103e735f49f650e27c3ec1ec30654b72a1 Bisecting: 0 revisions left to test after this (roughly 1 step) [3a94a5b2e0baffc421052771413e9ce37fb6ac51] net: ieee802154: fix nl802154 add llsec key testing commit 3a94a5b2e0baffc421052771413e9ce37fb6ac51 with gcc (GCC) 8.4.1 20210217 kernel signature: cd0e00b8f20996a9aa40acb461df4526cea876479f1a3a372c0dc328168d9372 all runs: OK # git bisect bad 3a94a5b2e0baffc421052771413e9ce37fb6ac51 Bisecting: 0 revisions left to test after this (roughly 0 steps) [3ee9f1bafd068c480ee9c458c9f74a83e9dfbb12] net: ieee802154: fix nl802154 del llsec dev testing commit 3ee9f1bafd068c480ee9c458c9f74a83e9dfbb12 with gcc (GCC) 8.4.1 20210217 kernel signature: 60efefb126a285faa1376f25e4106ec9fc19533bf8104d07e85e0fb7612a7525 all runs: crashed: general protection fault in nl802154_add_llsec_key # git bisect good 3ee9f1bafd068c480ee9c458c9f74a83e9dfbb12 3a94a5b2e0baffc421052771413e9ce37fb6ac51 is the first bad commit commit 3a94a5b2e0baffc421052771413e9ce37fb6ac51 Author: Alexander Aring Date: Sun Feb 21 12:43:20 2021 -0500 net: ieee802154: fix nl802154 add llsec key commit 20d5fe2d7103f5c43ad11a3d6d259e9d61165c35 upstream. This patch fixes a nullpointer dereference if NL802154_ATTR_SEC_KEY is not set by the user. If this is the case nl802154 will return -EINVAL. Reported-by: syzbot+ce4e062c2d51977ddc50@syzkaller.appspotmail.com Signed-off-by: Alexander Aring Link: https://lore.kernel.org/r/20210221174321.14210-3-aahringo@redhat.com Signed-off-by: Stefan Schmidt Signed-off-by: Greg Kroah-Hartman net/ieee802154/nl802154.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) culprit signature: cd0e00b8f20996a9aa40acb461df4526cea876479f1a3a372c0dc328168d9372 parent signature: 60efefb126a285faa1376f25e4106ec9fc19533bf8104d07e85e0fb7612a7525 revisions tested: 12, total time: 2h57m53.325329031s (build: 1h52m13.95372062s, test: 1h4m6.968809491s) first good commit: 3a94a5b2e0baffc421052771413e9ce37fb6ac51 net: ieee802154: fix nl802154 add llsec key recipients (to): ["aahringo@redhat.com" "gregkh@linuxfoundation.org" "stefan@datenfreihafen.org"] recipients (cc): []