[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190605004113.bflqjvu4laketi5a@inn2.lkp.intel.com>
Date: Wed, 5 Jun 2019 08:41:13 +0800
From: kernel test robot <lkp@...el.com>
To: Florian Westphal <fw@...len.de>
Cc: netdev@...r.kernel.org, Florian Westphal <fw@...len.de>,
Eric Dumazet <edumazet@...gle.com>, lkp@...org
Subject: [net] c55ca5814f: WARNING:suspicious_RCU_usage
FYI, we noticed the following commit (built with gcc-7):
commit: c55ca5814f22bb1d618275f2b46d40049bb7809f ("[PATCH net-next v3 7/7] net: ipv4: provide __rcu annotation for ifa_list")
url: https://github.com/0day-ci/linux/commits/Florian-Westphal/afs-do-not-send-list-of-client-addresses/20190602-075708
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------------------------------+------------+------------+
| | 3b1728410f | c55ca5814f |
+------------------------------------------------------------------+------------+------------+
| boot_successes | 6 | 0 |
| boot_failures | 2 | 10 |
| kernel_BUG_at_mm/usercopy.c | 1 | 3 |
| invalid_opcode:#[##] | 1 | 3 |
| RIP:usercopy_abort | 1 | 3 |
| Kernel_panic-not_syncing:Fatal_exception | 1 | 3 |
| BUG:workqueue_lockup-pool | 1 | |
| WARNING:suspicious_RCU_usage | 0 | 9 |
| drivers/net/plip/plip.c:#suspicious_rcu_dereference_check()usage | 0 | 9 |
| BUG:kernel_hang_in_boot_stage | 0 | 1 |
+------------------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>
[ 77.391183] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest0/status
[ 77.408020] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest1/status
[ 77.411511] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest2/status
[ 77.415507] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest3/status
[ 77.421560] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest5/status
[ 77.429409] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest6/status
[ 77.434178] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest7/status
[ 77.441290] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest8/status
[ 77.446688] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/test-unittest8/property-foo
[ 77.448323] OF: overlay: node_overlaps_later_cs: #6 overlaps with #7 @/testcase-data/overlay-node/test-bus/test-unittest8
[ 77.449596] OF: overlay: overlay #6 is not topmost
[ 77.557568] i2c i2c-1: Added multiplexed i2c bus 2
[ 77.559468] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest12/status
[ 77.563749] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest13/status
[ 77.574358] i2c i2c-1: Added multiplexed i2c bus 3
[ 77.591050] ### dt-test ### FAIL of_unittest_overlay_high_level():2380 overlay_base_root not initialized
[ 77.592529] ### dt-test ### end of unittest - 219 passed, 1 failed
[ 77.597478] 8021q: adding VLAN 0 to HW filter on device bond0
[ 77.603753] IP-Config: Failed to open ipddp0
[ 77.615261] 8021q: adding VLAN 0 to HW filter on device eth0
[ 77.618741]
[ 77.619082] =============================
[ 77.619838] WARNING: suspicious RCU usage
[ 77.620585] 5.2.0-rc2-00578-gc55ca58 #1 Tainted: G T
[ 77.621514] -----------------------------
[ 77.622222] drivers/net/plip/plip.c:1110 suspicious rcu_dereference_check() usage!
[ 77.623580]
[ 77.623580] other info that might help us debug this:
[ 77.623580]
[ 77.624783]
[ 77.624783] rcu_scheduler_active = 2, debug_locks = 1
[ 77.625837] 1 lock held by swapper/0/1:
[ 77.626759] #0: (____ptrval____) (rtnl_mutex){+.+.}, at: rtnl_lock+0x23/0x2c
[ 77.628367]
[ 77.628367] stack backtrace:
[ 77.629334] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G T 5.2.0-rc2-00578-gc55ca58 #1
[ 77.630936] Call Trace:
[ 77.631610] dump_stack+0x195/0x25f
[ 77.632435] ? eth_change_mtu+0x49/0x49
[ 77.633327] lockdep_rcu_suspicious+0x166/0x176
[ 77.634317] plip_open+0x37c/0x423
[ 77.635116] __dev_open+0x37c/0x463
[ 77.635940] __dev_change_flags+0x3a1/0x5b0
[ 77.636789] ? _get_random_bytes+0x387/0x3b1
[ 77.636983] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 77.637598] dev_change_flags+0x49/0xdb
[ 77.637720] ic_open_devs+0x507/0xbdd
[ 77.640368] ip_auto_config+0x82c/0x19ab
[ 77.641263] ? add_device_randomness+0x615/0x63f
[ 77.642229] ? root_nfs_parse_addr+0x502/0x502
[ 77.643201] do_one_initcall+0x41f/0x9f8
[ 77.644102] ? ip_auto_config+0x5/0x19ab
[ 77.644981] ? do_one_initcall+0x41f/0x9f8
[ 77.645877] kernel_init_freeable+0xae4/0xd0f
[ 77.646811] ? rest_init+0x420/0x420
[ 77.647648] kernel_init+0x1d/0x33f
[ 77.648475] ? rest_init+0x420/0x420
[ 77.649353] ret_from_fork+0x3a/0x50
[ 77.653793] IP-Config: Failed to open gretap0
[ 77.654685] IP-Config: Failed to open erspan0
[ 77.659786] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 77.686496] Sending DHCP requests ., OK
[ 77.689060] IP-Config: Got DHCP answer from 10.0.2.2, my address is 10.0.2.15
[ 77.690350] IP-Config: Complete:
[ 77.690976] device=eth0, hwaddr=52:54:00:12:34:56, ipaddr=10.0.2.15, mask=255.255.255.0, gw=10.0.2.2
[ 77.692647] host=vm-snb-quantal-x86_64-522, domain=, nis-domain=(none)
[ 77.693941] bootserver=10.0.2.2, rootserver=10.0.2.2, rootpath=
[ 77.693953] nameserver0=10.0.2.3
[ 77.705222] Bluetooth: Starting self testing
[ 77.706409] Bluetooth: Finished self testing
[ 77.707420] _warn_unseeded_randomness: 16 callbacks suppressed
[ 77.707453] random: get_random_bytes called from key_alloc+0x6ae/0xbad with crng_init=0
[ 77.710070] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 77.714257] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 77.716635] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 77.733315] Freeing unused kernel image memory: 5996K
[ 77.776451] Write protecting the kernel read-only data: 86016k
[ 77.831503] Freeing unused kernel image memory: 2032K
[ 77.837481] Freeing unused kernel image memory: 1872K
[ 77.838387] Run /init as init process
[ 77.840245] random: get_random_u64 called from arch_rnd+0x52/0x7a with crng_init=0
[ 77.841716] random: get_random_u64 called from load_elf_binary+0xadc/0x2279 with crng_init=0
[ 77.896320] random: init: uninitialized urandom read (12 bytes read)
[ 78.730499] _warn_unseeded_randomness: 75 callbacks suppressed
[ 78.730621] random: get_random_u64 called from load_elf_binary+0xadc/0x2279 with crng_init=0
[ 78.735823] random: get_random_u32 called from arch_setup_additional_pages+0xd3/0x108 with crng_init=0
[ 78.739747] random: get_random_u64 called from dup_task_struct+0x660/0x9ea with crng_init=0
[ 79.772164] _warn_unseeded_randomness: 97 callbacks suppressed
[ 79.772335] random: get_random_u64 called from dup_task_struct+0x660/0x9ea with crng_init=0
[ 79.859898] random: get_random_u64 called from arch_rnd+0x52/0x7a with crng_init=0
[ 79.861428] random: get_random_u64 called from load_elf_binary+0xadc/0x2279 with crng_init=0
[ 80.156549] random: mountall: uninitialized urandom read (12 bytes read)
[ 80.336808] Writes: Total: 1757652 Max/Min: 0/0 Fail: 0
[ 80.804248] _warn_unseeded_randomness: 47 callbacks suppressed
[ 80.804481] random: get_random_u64 called from arch_rnd+0x52/0x7a with crng_init=0
[ 80.806041] random: get_random_u64 called from load_elf_binary+0xadc/0x2279 with crng_init=0
[ 80.817631] random: get_random_u32 called from arch_setup_additional_pages+0xd3/0x108 with crng_init=0
LKP: HOSTNAME vm-snb-quantal-x86_64-522, MAC f2:0c:6a:d7:8a:de, kernel 5.2.0-rc2-00578-gc55ca58 1, serial console /dev/ttyS0
[ 81.292295] hostname: the specified hostname is invalid
[ 81.292394]
[ 81.735359] Kernel tests: Boot OK!
[ 81.735465]
[ 81.838429] _warn_unseeded_randomness: 70 callbacks suppressed
[ 81.838649] random: get_random_u64 called from arch_rnd+0x52/0x7a with crng_init=0
[ 81.841337] random: get_random_u64 called from load_elf_binary+0xadc/0x2279 with crng_init=0
[ 81.844409] random: get_random_u32 called from arch_setup_additional_pages+0xd3/0x108 with crng_init=0
[ 82.873819] _warn_unseeded_randomness: 56 callbacks suppressed
[ 82.873993] random: get_random_u64 called from arch_rnd+0x52/0x7a with crng_init=0
[ 82.880083] random: get_random_u64 called from load_elf_binary+0xadc/0x2279 with crng_init=0
[ 82.894258] random: get_random_u64 called from arch_rnd+0x52/0x7a with crng_init=0
[ 83.744830] /lkp/lkp/src/bin/run-lkp
[ 83.744951]
[ 83.939266] _warn_unseeded_randomness: 89 callbacks suppressed
[ 83.939478] random: get_random_u64 called from arch_rnd+0x52/0x7a with crng_init=0
[ 83.940509] random: get_random_u64 called from dup_task_struct+0x660/0x9ea with crng_init=0
[ 83.940709] random: get_random_u64 called from load_elf_binary+0xadc/0x2279 with crng_init=0
[ 84.826921] udevd[388]: starting version 175
[ 84.993862] _warn_unseeded_randomness: 57 callbacks suppressed
[ 84.993961] random: get_random_u64 called from arch_rnd+0x52/0x7a with crng_init=0
[ 84.996815] random: get_random_u64 called from load_elf_binary+0xadc/0x2279 with crng_init=0
[ 85.007440] random: get_random_u32 called from arch_setup_additional_pages+0xd3/0x108 with crng_init=0
[ 85.582308] RESULT_ROOT=/result/trinity/300s/vm-snb-quantal-x86_64/quantal-core-x86_64-2019-04-26.cgz/x86_64-randconfig-s2-06021328/gcc-7/c55ca5814f22bb1d618275f2b46d40049bb7809f/3
[ 85.582424]
To reproduce:
# build kernel
cd linux
cp config-5.2.0-rc2-00578-gc55ca58 .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.2.0-rc2-00578-gc55ca58" of type "text/plain" (139943 bytes)
View attachment "job-script" of type "text/plain" (4345 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (22920 bytes)
Powered by blists - more mailing lists