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>] [day] [month] [year] [list]
Date:   Mon, 22 Apr 2019 21:46:48 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Sara Sharon <sara.sharon@...el.com>
Cc:     Johannes Berg <johannes.berg@...el.com>,
        Luca Coelho <luciano.coelho@...el.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [cfg80211] 30f2a38b6c: hwsim.scan_multi_bssid_check_ie.fail

FYI, we noticed the following commit (built with gcc-7):

commit: 30f2a38b6c0a12d5298519c55d56c0a49563e382 ("cfg80211: don't skip multi-bssid index element")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: hwsim
with following parameters:

	group: hwsim-13



on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 4G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+-------------------------------------------------+------------+------------+
|                                                 | c772f036eb | 30f2a38b6c |
+-------------------------------------------------+------------+------------+
| boot_successes                                  | 0          | 1          |
| boot_failures                                   | 4          | 7          |
| BUG:kernel_reboot-without-warning_in_test_stage | 4          | 7          |
| hwsim.scan_multi_bssid_check_ie.fail            | 0          | 7          |
+-------------------------------------------------+------------+------------+


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>

2019-04-20 20:07:06     ./run-tests.py scan_multi_bssid_check_ie
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 scan_multi_bssid_check_ie 1/1
Test: Scan and check if nontransmitting BSS inherits IE from transmitting BSS
Starting AP wlan3
trans_bss beacon_ie: [0, 1, 3, 5, 71, 42, 45, 61, 50, 59, 221, 127]
nontrans_bss1 beacon_ie: [0, 1, 3, 5, 42, 45, 61, 50, 85, 59, 221, 127]
check IE failed
Traceback (most recent call last):
  File "./run-tests.py", line 504, in main
      t(dev, apdev)
  File "/lkp/benchmarks/hwsim/tests/hwsim/test_scan.py", line 1704, in test_scan_multi_bssid_check_ie
      raise Exception("check IE failed")
Exception: check IE failed
FAIL scan_multi_bssid_check_ie 0.529016 2019-04-20 20:07:07.780295
passed 0 test case(s)
skipped 0 test case(s)
failed tests: scan_multi_bssid_check_ie


To reproduce:

        # build kernel
	cd linux
	cp config-5.1.0-rc3-00703-g30f2a38 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 bzImage


        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email



Thanks,
Rong Chen


View attachment "config-5.1.0-rc3-00703-g30f2a38" of type "text/plain" (188842 bytes)

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

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

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

Powered by blists - more mailing lists