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, 20 Apr 2020 17:08:15 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Sumit Garg <sumit.garg@...aro.org>
Cc:     Johannes Berg <johannes.berg@...el.com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org
Subject: [mac80211] 52e04b4ce5:
 kmsg.debugfs:Directory'rc'with_parent'/'already_present

Greeting,

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

commit: 52e04b4ce5d03775b6a78f3ed1097480faacc9fd ("mac80211: fix race in ieee80211_register_hw()")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: hwsim
with following parameters:

	group: hwsim-03



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

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 <rong.a.chen@...el.com>


[  201.915091] 2020-04-17 16:13:22 ./start.sh
[  201.915095] 
[  202.119294] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  202.126867] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  202.131311] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[  202.136172] cfg80211: failed to load regulatory.db
[  202.239562] mac80211_hwsim: initializing netlink
[  202.246639] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  202.252463] ieee80211 phy0: hwaddr 02:00:00:00:00:00 registered
[  202.261499] debugfs: Directory 'rc' with parent '/' already present!
[  202.265630] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[  202.270582] ieee80211 phy1: hwaddr 02:00:00:00:01:00 registered
[  202.277282] debugfs: Directory 'rc' with parent '/' already present!
[  202.289536] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
[  202.296306] ieee80211 phy2: hwaddr 02:00:00:00:02:00 registered
[  202.301937] debugfs: Directory 'rc' with parent '/' already present!
[  202.304846] ieee80211 phy3: Selected rate control algorithm 'minstrel_ht'
[  202.308583] ieee80211 phy3: hwaddr 02:00:00:00:03:00 registered
[  202.313146] debugfs: Directory 'rc' with parent '/' already present!
[  202.318946] ieee80211 phy4: Selected rate control algorithm 'minstrel_ht'
[  202.325597] ieee80211 phy4: hwaddr 02:00:00:00:04:00 registered
[  202.331140] debugfs: Directory 'rc' with parent '/' already present!
[  202.335190] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht'
[  202.341891] ieee80211 phy5: hwaddr 02:00:00:00:05:00 registered
[  202.369359] debugfs: Directory 'rc' with parent '/' already present!
[  202.374185] ieee80211 phy6: Selected rate control algorithm 'minstrel_ht'
[  202.383266] ieee80211 phy6: hwaddr 02:00:00:00:06:00 registered
[  202.488605] ieee80211 phy0: mac80211_hwsim_start



To reproduce:

        # build kernel
	cd linux
	cp config-5.6.0-11929-g52e04b4ce5d03 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare 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.6.0-11929-g52e04b4ce5d03" of type "text/plain" (206075 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ