Greeting, FYI, we noticed the following commit (built with gcc-11): commit: 584f2e43bbbe87aa4ae59672cde054162780641c ("[PATCH 1/1] nl80211: Prevent out-of-bounds read when processing NL80211_ATTR_REG_ALPHA2") url: https://github.com/intel-lab-lkp/linux/commits/Lee-Jones/nl80211-Prevent-out-of-bounds-read-when-processing-NL80211_ATTR_REG_ALPHA2/20220401-185341 base: https://git.kernel.org/cgit/linux/kernel/git/wireless/wireless-next.git main patch link: https://lore.kernel.org/lkml/20220401105046.1952815-1-lee.jones@linaro.org in testcase: hwsim version: hwsim-x86_64-717e5d7-1_20220325 with following parameters: test: group-11 ucode: 0xec on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G memory caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): If you fix the issue, kindly add following tag Reported-by: kernel test robot actually, besides ap_country, we also observed below tests failed upon this commit while pass on parent: e89600ebeeb14d18 584f2e43bbbe87aa4ae59672cde ---------------- --------------------------- fail:runs %reproduction fail:runs | | | :6 100% 6:6 hwsim.ap_country.fail :6 100% 6:6 hwsim.ap_ht_op_class_127.fail :6 100% 6:6 hwsim.ap_vht80b.fail :6 100% 6:6 hwsim.fst_ap_ack_response_with_session_not_set_up.fail :6 100% 6:6 hwsim.fst_ap_config_default.fail :6 100% 6:6 hwsim.fst_ap_start_session.fail :6 100% 6:6 hwsim.fst_sta_transfer_session_setup_skipped.fail :6 100% 6:6 hwsim.p2p_channel_avoid3.fail :6 100% 6:6 hwsim.p2p_go_move_scm_peer_supports.fail :6 100% 6:6 hwsim.wpa2_ocv_vht40.fail :6 100% 6:6 hwsim.wpas_ap_5ghz.fail 2022-04-04 07:48:19 ./start.sh 2022-04-04 07:48:20 ./run-tests.py ap_country DEV: wlan0: 02:00:00:00:00:00 DEV: wlan1: 02:00:00:00:01:00 DEV: wlan2: 02:00:00:00:02:00 APDEV: wlan3 APDEV: wlan4 START ap_country 1/1 Test: WPA2-PSK AP setting country code and using 5 GHz band Starting AP wlan3 Failed to enable hostapd interface wlan3 Traceback (most recent call last): File "./run-tests.py", line 533, in main t(dev, apdev) File "/lkp/benchmarks/hwsim/tests/hwsim/test_ap_params.py", line 128, in test_ap_country hapd = hostapd.add_ap(apdev[0], params) File "/lkp/benchmarks/hwsim/tests/hwsim/hostapd.py", line 629, in add_ap hapd.enable() File "/lkp/benchmarks/hwsim/tests/hwsim/hostapd.py", line 248, in enable raise Exception("Failed to enable hostapd interface " + self.ifname) Exception: Failed to enable hostapd interface wlan3 FAIL ap_country 1.378953 2022-04-04 07:48:22.697101 passed 0 test case(s) skipped 0 test case(s) failed tests: ap_country To reproduce: git clone https://github.com/intel/lkp-tests.git cd lkp-tests sudo bin/lkp install job.yaml # job file is attached in this email bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run sudo bin/lkp run generated-yaml-file # if come across any failure that blocks the test, # please remove ~/.lkp and /lkp dir to run from a clean state. -- 0-DAY CI Kernel Test Service https://01.org/lkp