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-next>] [day] [month] [year] [list]
Date:   Fri, 15 Feb 2019 13:41:26 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>, lkp@...org
Subject: [LKP] [rcutorture] 2397d072f7:
 WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_stats_print[rcutorture]

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

commit: 2397d072f76b552fc21cda19686d24a8066ced22 ("rcutorture: Handle extended read-side critical sections")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: rcutorture
with following parameters:

	runtime: 300s
	test: cpuhotplug
	torture_type: busted_srcud

test-description: rcutorture is rcutorture kernel module load/unload test.
test-url: https://www.kernel.org/doc/Documentation/RCU/torture.txt


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):


+-------------------------------------------------------------------------+------------+------------+
|                                                                         | 241b42522a | 2397d072f7 |
+-------------------------------------------------------------------------+------------+------------+
| boot_successes                                                          | 14         | 0          |
| boot_failures                                                           | 4          | 18         |
| BUG:kernel_hang_in_boot-around-mounting-root_stage                      | 4          | 7          |
| WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_stats_print[rcutorture] | 0          | 11         |
| RIP:rcu_torture_stats_print[rcutorture]                                 | 0          | 11         |
| End_of_test:FAILURE                                                     | 0          | 11         |
+-------------------------------------------------------------------------+------------+------------+



[  173.516335] WARNING: CPU: 0 PID: 582 at kernel/rcu/rcutorture.c:1411 rcu_torture_stats_print+0x23b/0x53c [rcutorture]
[  173.520405] Modules linked in: rcutorture torture morus640_sse2 morus640_glue aegis256_aesni aegis128_aesni crc32c_intel input_leds qemu_fw_cfg rtc_cmos parport_pc
[  173.524677] CPU: 0 PID: 582 Comm: rcu_torture_sta Tainted: G                T 4.18.0-rc1-00086-g2397d07 #1
[  173.527310] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[  173.529714] RIP: 0010:rcu_torture_stats_print+0x23b/0x53c [rcutorture]
[  173.531611] Code: 1e fa 0e e1 f0 ff 05 8e 97 00 00 b9 01 00 00 00 31 d2 be 01 00 00 00 48 c7 c7 fc ae 05 a0 e8 dd 78 18 e1 48 ff 05 7b 70 00 00 <0f> 0b b9 01 00 00 00 31 d2 be 01 00 00 00 48 c7 c7 cc ae 05 a0 e8 
[  173.537083] RSP: 0018:ffffc90000383e10 EFLAGS: 00010202
[  173.538535] RAX: 0000000000000004 RBX: 0000000000000001 RCX: 0000000000000001
[  173.540467] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffffa005aefc
[  173.542681] RBP: ffffc90000383ee8 R08: ffff880214210940 R09: 000000008dae0b10
[  173.544661] R10: 00000000ffffff00 R11: 0000000000000000 R12: ffff88021d671ec0
[  173.546613] R13: ffff880214210000 R14: 0000000000000000 R15: ffffffffa0052eea
[  173.548616] FS:  0000000000000000(0000) GS:ffff880237200000(0000) knlGS:0000000000000000
[  173.569165] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  173.570908] CR2: 000055be07d278b8 CR3: 000000020ed2a000 CR4: 00000000000006f0
[  173.572822] Call Trace:
[  173.573727]  rcu_torture_stats+0x5a/0x7c [rcutorture]
[  173.575260]  kthread+0x199/0x1a1
[  173.576282]  ? kthread_flush_work_fn+0xf/0xf
[  173.577533]  ret_from_fork+0x24/0x30
[  173.578694] ---[ end trace 2de5c9fc1ee990c5 ]---


To reproduce:

        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-4.18.0-rc1-00086-g2397d07" of type "text/plain" (116692 bytes)

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

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

View attachment "rcutorture" of type "text/plain" (144770 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ