bisecting fixing commit since 255b58a2b3af0baa0ee11507390349217b8b73b0 building syzkaller on f689d40a08ae1c9d73d043e7a2e807bc4022931b testing commit 255b58a2b3af0baa0ee11507390349217b8b73b0 with gcc (GCC) 8.4.1 20210217 kernel signature: 5aa13542f336c67d947dfc316af661b35e8dd4f0a6e823c029250d81a8a788e0 run #0: basic kernel testing failed: BUG: program execution failed: executor 0: failed to write control pipe: write |1: broken pipe run #1: crashed: general protection fault in nl802154_del_llsec_key run #2: crashed: general protection fault in nl802154_del_llsec_key run #3: crashed: general protection fault in nl802154_del_llsec_key run #4: crashed: general protection fault in nl802154_del_llsec_key run #5: crashed: general protection fault in nl802154_del_llsec_key run #6: crashed: general protection fault in nl802154_del_llsec_key run #7: crashed: general protection fault in nl802154_del_llsec_key run #8: crashed: general protection fault in nl802154_del_llsec_key run #9: crashed: general protection fault in nl802154_del_llsec_key run #10: crashed: general protection fault in nl802154_del_llsec_key run #11: crashed: general protection fault in nl802154_del_llsec_key run #12: crashed: general protection fault in nl802154_del_llsec_key run #13: crashed: general protection fault in nl802154_del_llsec_key run #14: crashed: general protection fault in nl802154_del_llsec_key run #15: crashed: general protection fault in nl802154_del_llsec_key run #16: crashed: general protection fault in nl802154_del_llsec_key run #17: crashed: general protection fault in nl802154_del_llsec_key run #18: crashed: general protection fault in nl802154_del_llsec_key run #19: crashed: general protection fault in nl802154_del_llsec_key testing current HEAD 3c8c23092588a23bf1856a64f58c37f477a413be testing commit 3c8c23092588a23bf1856a64f58c37f477a413be with gcc (GCC) 8.4.1 20210217 kernel signature: f399b0232efb9c284324321000a89427a80adba790f41a38a2e1bcb051bb0433 all runs: OK # git bisect start 3c8c23092588a23bf1856a64f58c37f477a413be 255b58a2b3af0baa0ee11507390349217b8b73b0 Bisecting: 434 revisions left to test after this (roughly 9 steps) [c7c74e6fd6be6f543560caa5c14c244763212302] udf: fix silent AED tagLocation corruption testing commit c7c74e6fd6be6f543560caa5c14c244763212302 with gcc (GCC) 8.4.1 20210217 kernel signature: c10ff0577863f7ff7cf4f48ddd79d38a06577f4c8f21b8acfbb7905d751dc8f7 all runs: crashed: general protection fault in nl802154_del_llsec_key # git bisect good c7c74e6fd6be6f543560caa5c14c244763212302 Bisecting: 217 revisions left to test after this (roughly 8 steps) [9fe7e16afa26598e4a4f4bd5ee09f0220a7c878f] ASoC: cs42l42: Fix mixer volume control testing commit 9fe7e16afa26598e4a4f4bd5ee09f0220a7c878f with gcc (GCC) 8.4.1 20210217 kernel signature: b85b40cf0ba190f87343993ce5cf01d0e22e9dd856ee8c7809e9ef387d45abee all runs: crashed: general protection fault in nl802154_del_llsec_key # git bisect good 9fe7e16afa26598e4a4f4bd5ee09f0220a7c878f Bisecting: 108 revisions left to test after this (roughly 7 steps) [4d79ff4485792a13047a611606cea7d64a0bb7db] workqueue: Move the position of debug_work_activate() in __queue_work() testing commit 4d79ff4485792a13047a611606cea7d64a0bb7db with gcc (GCC) 8.4.1 20210217 kernel signature: 47ef03d2f042c6b1814a16bed31aba5d1bf697f51e21dd50809d31f10a97fd9f all runs: crashed: general protection fault in nl802154_del_llsec_key # git bisect good 4d79ff4485792a13047a611606cea7d64a0bb7db Bisecting: 54 revisions left to test after this (roughly 6 steps) [cbd7b37b4672921e7971bee696562bfe79b4251b] net: ieee802154: stop dump llsec seclevels for monitors testing commit cbd7b37b4672921e7971bee696562bfe79b4251b with gcc (GCC) 8.4.1 20210217 kernel signature: a28f21447a3162780cde76cc03319607ff910711ef3004d9fff96b45608b31e1 all runs: OK # git bisect bad cbd7b37b4672921e7971bee696562bfe79b4251b Bisecting: 26 revisions left to test after this (roughly 5 steps) [533ea843ed3cdeb77536ec3b86a4bbb807543ecb] block: only update parent bi_status when bio fail testing commit 533ea843ed3cdeb77536ec3b86a4bbb807543ecb with gcc (GCC) 8.4.1 20210217 kernel signature: 26c88978e688f6bb9117dafda3d5286c170a7cdafb153bd92037f9af9ebf37a7 all runs: OK # git bisect bad 533ea843ed3cdeb77536ec3b86a4bbb807543ecb Bisecting: 13 revisions left to test after this (roughly 4 steps) [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: 6 revisions left to test after this (roughly 3 steps) [b376516dbdac3657b1d4cb9d33ae368280377de2] net: sched: bump refcount for new action in ACT replace mode testing commit b376516dbdac3657b1d4cb9d33ae368280377de2 with gcc (GCC) 8.4.1 20210217 kernel signature: c5001a68bda258aa85861cef5640ba2299f316f41aa045f83988dd187dbf7fb2 all runs: crashed: general protection fault in nl802154_del_llsec_key # git bisect good b376516dbdac3657b1d4cb9d33ae368280377de2 Bisecting: 3 revisions left to test after this (roughly 2 steps) [e61043662d753055a743b7e3cddf5c8d98c08ddd] drivers: net: fix memory leak in atusb_probe testing commit e61043662d753055a743b7e3cddf5c8d98c08ddd with gcc (GCC) 8.4.1 20210217 kernel signature: f4c0940abdaafa5e29a4b3bb05c41027ed7e829df119873710293a093df74cb1 all runs: crashed: general protection fault in nl802154_del_llsec_key # git bisect good e61043662d753055a743b7e3cddf5c8d98c08ddd Bisecting: 1 revision left to test after this (roughly 1 step) [c166c0f5311dc9de687b8985574a5ee5166d367e] net: mac802154: Fix general protection fault testing commit c166c0f5311dc9de687b8985574a5ee5166d367e with gcc (GCC) 8.4.1 20210217 kernel signature: c34fe8739c7beb732b3e54b608f55e6699e334217ca4c2088d546f313196c06b all runs: crashed: general protection fault in nl802154_del_llsec_key # git bisect good c166c0f5311dc9de687b8985574a5ee5166d367e 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: crashed: general protection fault in nl802154_del_llsec_key # git bisect good 5983b9de012edaa1149c3114e56c82ec6e9dd957 79ba55c0e7a7990537d36a470e3a2f0968408b7e is the first bad commit commit 79ba55c0e7a7990537d36a470e3a2f0968408b7e Author: Alexander Aring Date: Sun Feb 21 12:43:18 2021 -0500 net: ieee802154: fix nl802154 del llsec key commit 37feaaf5ceb2245e474369312bb7b922ce7bce69 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+ac5c11d2959a8b3c4806@syzkaller.appspotmail.com Signed-off-by: Alexander Aring Link: https://lore.kernel.org/r/20210221174321.14210-1-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: 4e0cb7ddfb85da9b34c22a199b9982609fdb0a99a92cde7a56886cde4e0bae58 parent signature: 405b57f8e0452d1a76e34d357d4266f54aab9f82ff21a981fe75c9c5b0777472 revisions tested: 12, total time: 3h1m24.764913488s (build: 1h59m38.961650375s, test: 1h0m20.977663208s) first good commit: 79ba55c0e7a7990537d36a470e3a2f0968408b7e net: ieee802154: fix nl802154 del llsec key recipients (to): ["aahringo@redhat.com" "gregkh@linuxfoundation.org" "stefan@datenfreihafen.org"] recipients (cc): []