lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 5 Apr 2022 17:14:20 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Lee Jones <lee.jones@...aro.org>
Cc:     0day robot <lkp@...el.com>,
        Johannes Berg <johannes@...solutions.net>,
        "David S. Miller" <davem@...emloft.net>,
        Jakub Kicinski <kuba@...nel.org>,
        Paolo Abeni <pabeni@...hat.com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        lee.jones@...aro.org, stable@...r.kernel.org,
        linux-wireless@...r.kernel.org, netdev@...r.kernel.org
Subject: [nl80211]  584f2e43bb: hwsim.ap_country.fail



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 <oliver.sang@...el.com>


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



View attachment "config-5.17.0-rc8-02526-g584f2e43bbbe" of type "text/plain" (166214 bytes)

View attachment "job-script" of type "text/plain" (5705 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (143708 bytes)

View attachment "hwsim" of type "text/plain" (64264 bytes)

View attachment "job.yaml" of type "text/plain" (4580 bytes)

View attachment "reproduce" of type "text/plain" (3938 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ