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:   Wed, 13 Jun 2018 14:57:11 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Joel Fernandes <joelaf@...gle.com>
Cc:     linux-kernel@...r.kernel.org, kernel-team@...roid.com,
        "Joel Fernandes (Google)" <joel@...lfernandes.org>,
        Josh Triplett <josh@...htriplett.org>,
        Lai Jiangshan <jiangshanlai@...il.com>,
        Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
        mingo@...hat.com, "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
        Steven Rostedt <rostedt@...dmis.org>, tglx@...utronix.de,
        lkp@...org
Subject: [lkp-robot] [rcutorture]  46e26223e3:
 WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_stats_print


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

commit: 46e26223e39c64763e321f229e324be15179c505 ("rcutorture: Make boost test more robust")
url: https://github.com/0day-ci/linux/commits/Joel-Fernandes/rcutorture-Disable-RT-throttling-for-boost-tests/20180611-074731
base: https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git rcu/next

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-i386 -enable-kvm -smp 2 -m 320M

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


+--------------------------------------------------------------------+------------+------------+
|                                                                    | c71f2f97e9 | 46e26223e3 |
+--------------------------------------------------------------------+------------+------------+
| boot_successes                                                     | 0          | 0          |
| boot_failures                                                      | 16         | 12         |
| WARNING:suspicious_RCU_usage                                       | 16         | 12         |
| lib/test_rhashtable.c:#suspicious_rcu_dereference_protected()usage | 16         | 12         |
| BUG:workqueue_lockup-pool                                          | 5          |            |
| INFO:task_blocked_for_more_than#seconds                            | 5          | 3          |
| WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_stats_print        | 0          | 12         |
| EIP:rcu_torture_stats_print                                        | 0          | 12         |
+--------------------------------------------------------------------+------------+------------+



[   74.158185] WARNING: CPU: 0 PID: 41 at kernel/rcu/rcutorture.c:1324 rcu_torture_stats_print+0x443/0x520
[   74.160583] CPU: 0 PID: 41 Comm: rcu_torture_sta Not tainted 4.17.0-rc1-00151-g46e2622 #1
[   74.161981] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[   74.163331] EIP: rcu_torture_stats_print+0x443/0x520
[   74.164187] EFLAGS: 00010202 CPU: 0
[   74.164775] EAX: 7a8dcaa0 EBX: 00000000 ECX: 00000001 EDX: 00000000
[   74.165755] ESI: 8979df34 EDI: 7a607f32 EBP: 8979df6c ESP: 8979dee0
[   74.166780]  DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[   74.167668] CR0: 80050033 CR2: 0806e270 CR3: 0ecc6000 CR4: 00000690
[   74.168721] Call Trace:
[   74.169145]  ? schedule_timeout+0x286/0x6d0
[   74.169913]  rcu_torture_stats+0x34/0x80
[   74.170576]  kthread+0xe0/0x110
[   74.171105]  ? rcu_torture_stats_print+0x520/0x520
[   74.171900]  ? __kthread_bind_mask+0x40/0x40
[   74.172718]  ret_from_fork+0x2e/0x38
[   74.173313] Code: 04 c7 04 24 f9 1a 5f 7a e8 64 01 ff ff ff 05 28 bc 26 7b 31 c9 ba 01 00 00 00 b8 a0 ca 8d 7a c7 04 24 01 00 00 00 e8 fd 89 05 00 <0f> 0b 31 c9 ba 01 00 00 00 b8 88 ca 8d 7a c7 04 24 01 00 00 00 
[   74.176618] irq event stamp: 138
[   74.177169] hardirqs last  enabled at (137): [<790c173d>] console_unlock+0x49d/0x6a0
[   74.178459] hardirqs last disabled at (138): [<7a1a2a1c>] common_exception+0x46/0x66
[   74.179719] softirqs last  enabled at (120): [<7a1a4b60>] __do_softirq+0x4b0/0x57d
[   74.181013] softirqs last disabled at (89): [<7901e76c>] call_on_stack+0x4c/0x60
[   74.182450] ---[ end trace 834273b866f313c1 ]---


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,
Xiaolong

View attachment "config-4.17.0-rc1-00151-g46e2622" of type "text/plain" (110935 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ