bisecting fixing commit since f40ddce88593482919761f74910f42f4b84c004b building syzkaller on 98682e5e2aefc9aad61354f4f3ac93be96002a2a testing commit f40ddce88593482919761f74910f42f4b84c004b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: bf4f85e28aa1576008c78cf0b56ae7377546e77e072e0e55b4041356efff78ab run #0: crashed: INFO: task hung in cfg80211_event_work run #1: crashed: INFO: task hung in addrconf_dad_work run #2: crashed: INFO: task hung in addrconf_dad_work run #3: crashed: INFO: task hung in addrconf_dad_work run #4: crashed: INFO: task hung in disconnect_work run #5: crashed: INFO: task hung in linkwatch_event run #6: crashed: INFO: task hung in disconnect_work run #7: crashed: INFO: task hung in linkwatch_event run #8: crashed: INFO: task hung in disconnect_work run #9: crashed: INFO: task hung in disconnect_work run #10: crashed: INFO: task hung in addrconf_dad_work run #11: crashed: INFO: task hung in cfg80211_event_work run #12: crashed: INFO: task hung in linkwatch_event run #13: crashed: INFO: task hung in linkwatch_event run #14: crashed: INFO: task hung in linkwatch_event run #15: crashed: INFO: task hung in linkwatch_event run #16: crashed: INFO: task hung in addrconf_dad_work run #17: crashed: INFO: task hung in addrconf_dad_work run #18: crashed: INFO: task hung in disconnect_work run #19: crashed: INFO: task hung in addrconf_dad_work testing current HEAD 9eaa88c7036eda3f6c215f87ca693594cf90559b testing commit 9eaa88c7036eda3f6c215f87ca693594cf90559b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 57a7e151fd4f85156997b3aaecf5e56163cf890b5b1230a9dadea745edad9b79 all runs: OK # git bisect start 9eaa88c7036eda3f6c215f87ca693594cf90559b f40ddce88593482919761f74910f42f4b84c004b Bisecting: 37128 revisions left to test after this (roughly 15 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [e058a84bfddc42ba356a2316f2cf1141974625c9] Merge tag 'drm-next-2021-07-01' of git://anongit.freedesktop.org/drm/drm testing commit e058a84bfddc42ba356a2316f2cf1141974625c9 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 365466505c78565126c0f9a9e78d47fd794c0f53b9e26654d8db010c43f988f6 run #0: crashed: INFO: task hung in addrconf_dad_work run #1: crashed: INFO: task hung in disconnect_work run #2: crashed: INFO: task hung in disconnect_work run #3: crashed: INFO: task hung in linkwatch_event run #4: crashed: INFO: task hung in addrconf_dad_work run #5: crashed: INFO: task hung in disconnect_work run #6: crashed: INFO: task hung in __netlink_dump_start run #7: crashed: INFO: task hung in disconnect_work run #8: crashed: INFO: task hung in addrconf_dad_work run #9: crashed: INFO: task hung in linkwatch_event # git bisect good e058a84bfddc42ba356a2316f2cf1141974625c9 Bisecting: 18575 revisions left to test after this (roughly 14 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [86406a9e733347f877a2bd5269ce7429d3748c6a] Merge tag 'mfd-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd testing commit 86406a9e733347f877a2bd5269ce7429d3748c6a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 18949cf064774620e456b53562d1f1610a3a4cee18dbf3dbab6dffd95c846af4 run #0: crashed: INFO: task hung in disconnect_work run #1: crashed: INFO: task hung in linkwatch_event run #2: crashed: INFO: task hung in addrconf_dad_work run #3: crashed: INFO: task hung in addrconf_dad_work run #4: crashed: INFO: task hung in rtnetlink_rcv_msg run #5: crashed: INFO: task hung in linkwatch_event run #6: crashed: INFO: task hung in addrconf_dad_work run #7: crashed: INFO: task hung in disconnect_work run #8: crashed: INFO: task hung in addrconf_dad_work run #9: crashed: INFO: task hung in rtnetlink_rcv_msg # git bisect good 86406a9e733347f877a2bd5269ce7429d3748c6a Bisecting: 9771 revisions left to test after this (roughly 13 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [61988e0a624400fe79f124914ecc4b19a8803f7f] Merge branch 'thermal-int340x' testing commit 61988e0a624400fe79f124914ecc4b19a8803f7f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3f338f87b68d6dd3c10c2bfe701d7a1c7ad5bc1ce5ebb532578b9808fd295340 all runs: crashed: INFO: rcu detected stall in netlink_sendmsg # git bisect good 61988e0a624400fe79f124914ecc4b19a8803f7f Bisecting: 4912 revisions left to test after this (roughly 12 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [95faf6ba654dd334617f347023e65b06d791c4a6] Merge tag 'driver-core-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core testing commit 95faf6ba654dd334617f347023e65b06d791c4a6 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 32b453af2a3d045f8c21cb0765e0532b47e2992fb0e763f65981cb6a3a87beaf all runs: crashed: INFO: rcu detected stall in netlink_sendmsg # git bisect good 95faf6ba654dd334617f347023e65b06d791c4a6 Bisecting: 2457 revisions left to test after this (roughly 11 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [c4a11bf423ec84a16f7df0773041c29f2f305cc1] dt-bindings: Rename Ingenic CGU headers to ingenic,*.h testing commit c4a11bf423ec84a16f7df0773041c29f2f305cc1 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 60897dac1b8fb92a4c4d3aeb644b2e0240cf8f68686cf061a823959311e390b8 all runs: crashed: INFO: rcu detected stall in netlink_sendmsg # git bisect good c4a11bf423ec84a16f7df0773041c29f2f305cc1 Bisecting: 1221 revisions left to test after this (roughly 10 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [a4849f6000e29235a2707f22e39da6b897bb9543] Merge tag 'drm-fixes-2021-11-26' of git://anongit.freedesktop.org/drm/drm testing commit a4849f6000e29235a2707f22e39da6b897bb9543 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0037ff48913124fe73f6e3014e752a3bba02da78e384532cbf02a276ff856680 run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect bad a4849f6000e29235a2707f22e39da6b897bb9543 Bisecting: 615 revisions left to test after this (roughly 9 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [1654e95ee30a82bec843e73a591f9ea3db8da8db] Merge tag 'x86_urgent_for_v5.16_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 1654e95ee30a82bec843e73a591f9ea3db8da8db compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b100c3eb20a6d1482488f380d6bf8757b29f9d317a0902fcbe8e6b20e1f0b848 all runs: crashed: INFO: rcu detected stall in netlink_sendmsg # git bisect good 1654e95ee30a82bec843e73a591f9ea3db8da8db Bisecting: 314 revisions left to test after this (roughly 8 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [0dc636b3b757a6b747a156de613275f9d74a4a66] x86: Pin task-stack in __get_wchan() testing commit 0dc636b3b757a6b747a156de613275f9d74a4a66 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a6e7e83b4e674e89309dcd99d9b80bdc1931a2baf03b8f269de0c0d516d5ffc8 all runs: OK # git bisect bad 0dc636b3b757a6b747a156de613275f9d74a4a66 Bisecting: 147 revisions left to test after this (roughly 7 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [a6a6d227facf8024e3356f8eafcd8155453cd2e2] Merge tag 'for-5.16/parisc-4' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux testing commit a6a6d227facf8024e3356f8eafcd8155453cd2e2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d7fe72a71a1c8bee82c43e816c6a54a9830e0f7f24a16cb88bb848bb3c388891 run #0: crashed: INFO: task hung in addrconf_dad_work run #1: crashed: INFO: task hung in addrconf_dad_work run #2: crashed: INFO: task hung in disconnect_work run #3: crashed: INFO: task hung in rtnetlink_rcv_msg run #4: crashed: INFO: task hung in addrconf_dad_work run #5: crashed: INFO: task hung in rtnetlink_rcv_msg run #6: crashed: INFO: task hung in disconnect_work run #7: crashed: INFO: task hung in addrconf_dad_work run #8: crashed: INFO: task hung in cfg80211_dfs_channels_update_work run #9: crashed: INFO: task hung in addrconf_dad_work # git bisect good a6a6d227facf8024e3356f8eafcd8155453cd2e2 Bisecting: 67 revisions left to test after this (roughly 6 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [9311ccef2782488ab58676c8282f9f71d01cebf5] Merge tag 'mlx5-fixes-2021-11-16' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux testing commit 9311ccef2782488ab58676c8282f9f71d01cebf5 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 92e84830209d0a7431707d68860cc892992b48c2d0ffbe3fc2e897280d9f549d all runs: OK # git bisect bad 9311ccef2782488ab58676c8282f9f71d01cebf5 Bisecting: 39 revisions left to test after this (roughly 5 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [d7751d6476185ff754b9dad2cba0c0a6e43ecadc] net/mlx5: E-Switch, Fix resetting of encap mode when entering switchdev testing commit d7751d6476185ff754b9dad2cba0c0a6e43ecadc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9d7f1389816ce44cfba90ccf81f158d47c34a6a1c40f74d6497391f05e5866e2 all runs: crashed: INFO: rcu detected stall in netlink_sendmsg # git bisect good d7751d6476185ff754b9dad2cba0c0a6e43ecadc Bisecting: 17 revisions left to test after this (roughly 4 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [f5c741608b8cfad66d57881de5ca22652f8253cb] Merge tag 'mac80211-for-net-2021-11-16' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211 testing commit f5c741608b8cfad66d57881de5ca22652f8253cb compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 007aa78bac116a4d42ea00d7cfd5619b0ceb3b7048e08950314324f794bc43af all runs: OK # git bisect bad f5c741608b8cfad66d57881de5ca22652f8253cb Bisecting: 10 revisions left to test after this (roughly 4 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [6060a6cb05e3223146a3c30a1977f136da6c85e7] samples/bpf: Fix build error due to -isystem removal testing commit 6060a6cb05e3223146a3c30a1977f136da6c85e7 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 92352b24565b54892756e72bf1404d158110b8060072d57792919ec5c1265da3 all runs: crashed: INFO: rcu detected stall in netlink_sendmsg # git bisect good 6060a6cb05e3223146a3c30a1977f136da6c85e7 Bisecting: 5 revisions left to test after this (roughly 3 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [f6ab25d41b18f3d26883cb9c20875e1a85c4f05b] mac80211: drop check for DONT_REORDER in __ieee80211_select_queue testing commit f6ab25d41b18f3d26883cb9c20875e1a85c4f05b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cb4d401175efb129c3c5fdf6e324d2485716566642ded3a4dc2ee06723dcffe1 all runs: OK # git bisect bad f6ab25d41b18f3d26883cb9c20875e1a85c4f05b Bisecting: 2 revisions left to test after this (roughly 1 step) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [ce6b69749961426c6d822215ded9e67154e1ad4f] nl80211: fix radio statistics in survey dump testing commit ce6b69749961426c6d822215ded9e67154e1ad4f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a0a7d669cd070ba2ae175549be5c7148adc752dbaffdde3f106ce65dd9ebe8b1 all runs: OK # git bisect bad ce6b69749961426c6d822215ded9e67154e1ad4f Bisecting: 0 revisions left to test after this (roughly 0 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [563fbefed46ae4c1f70cffb8eb54c02df480b2c2] cfg80211: call cfg80211_stop_ap when switch from P2P_GO type testing commit 563fbefed46ae4c1f70cffb8eb54c02df480b2c2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 98b9ff074bfddf1698467fb0d266e8e6c55bc83e446d1670043908c1268e3407 all runs: OK # git bisect bad 563fbefed46ae4c1f70cffb8eb54c02df480b2c2 warning: unable to access '/syzkaller/.config/git/attributes': Permission denied 563fbefed46ae4c1f70cffb8eb54c02df480b2c2 is the first bad commit commit 563fbefed46ae4c1f70cffb8eb54c02df480b2c2 Author: Nguyen Dinh Phi Date: Thu Oct 28 01:37:22 2021 +0800 cfg80211: call cfg80211_stop_ap when switch from P2P_GO type If the userspace tools switch from NL80211_IFTYPE_P2P_GO to NL80211_IFTYPE_ADHOC via send_msg(NL80211_CMD_SET_INTERFACE), it does not call the cleanup cfg80211_stop_ap(), this leads to the initialization of in-use data. For example, this path re-init the sdata->assigned_chanctx_list while it is still an element of assigned_vifs list, and makes that linked list corrupt. Signed-off-by: Nguyen Dinh Phi Reported-by: syzbot+bbf402b783eeb6d908db@syzkaller.appspotmail.com Link: https://lore.kernel.org/r/20211027173722.777287-1-phind.uet@gmail.com Cc: stable@vger.kernel.org Fixes: ac800140c20e ("cfg80211: .stop_ap when interface is going down") Signed-off-by: Johannes Berg net/wireless/util.c | 1 + 1 file changed, 1 insertion(+) parent commit 1aa3b2207e889a948049c9a8016cedb0218c2389 wasn't tested testing commit 1aa3b2207e889a948049c9a8016cedb0218c2389 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 141d7b7284568aa03a7b61776693c1320f50a6f10765fd1c051273c697ab5071 culprit signature: 98b9ff074bfddf1698467fb0d266e8e6c55bc83e446d1670043908c1268e3407 parent signature: 141d7b7284568aa03a7b61776693c1320f50a6f10765fd1c051273c697ab5071 revisions tested: 18, total time: 4h26m27.503086676s (build: 2h3m49.959184547s, test: 2h20m14.09692922s) first good commit: 563fbefed46ae4c1f70cffb8eb54c02df480b2c2 cfg80211: call cfg80211_stop_ap when switch from P2P_GO type recipients (to): ["davem@davemloft.net" "johannes.berg@intel.com" "kuba@kernel.org" "netdev@vger.kernel.org" "phind.uet@gmail.com"] recipients (cc): ["johannes@sipsolutions.net" "linux-kernel@vger.kernel.org" "linux-wireless@vger.kernel.org"]