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, 17 Jul 2017 10:29:10 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>, lkp@...org
Subject: [lkp-robot] [rcu]  de8a3b1249:
 WARNING:at_kernel/rcu/tree_plugin.h:#rcu_read_unlock_special


FYI, we noticed the following commit:

commit: de8a3b1249d6d6eb910e271dc0d18bafd032172d ("rcu: Add assertions verifying blocked-tasks list")
https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git rcu/dev

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 Westmere -m 512M

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


+--------------------------------------------------------------+------------+------------+
|                                                              | a3755ad263 | de8a3b1249 |
+--------------------------------------------------------------+------------+------------+
| boot_successes                                               | 6          | 3          |
| boot_failures                                                | 45         | 13         |
| is_trying_to_release_lock(rcu_preempt_state)at               | 45         | 13         |
| WARNING:at_kernel/rcu/tree_plugin.h:#rcu_read_unlock_special | 0          | 13         |
+--------------------------------------------------------------+------------+------------+



[    3.957710] WARNING: CPU: 0 PID: 1 at kernel/rcu/tree_plugin.h:508 rcu_read_unlock_special+0x1ef/0x2a4
[    3.959690] Modules linked in:
[    3.960199] CPU: 0 PID: 1 Comm: swapper Not tainted 4.12.0-02191-gde8a3b1 #1
[    3.960199] task: ffff88000002c000 task.stack: ffff880000030000
[    3.960199] RIP: 0010:rcu_read_unlock_special+0x1ef/0x2a4
[    3.960199] RSP: 0000:ffff880000033d10 EFLAGS: 00010017
[    3.960199] RAX: ffff88000002c2d8 RBX: 0000000000000202 RCX: ffffffff81c060c8
[    3.960199] RDX: 0000000000000000 RSI: ffffffff81c060c8 RDI: ffffffff81c06020
[    3.960199] RBP: ffff880000033d40 R08: 00000001eff822d2 R09: 0000000000000000
[    3.960199] R10: 0000000000000001 R11: 0000000000000000 R12: ffff88000002c000
[    3.960199] R13: ffff88000002c000 R14: ffffffff81c06020 R15: 0000000000000000
[    3.960199] FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
[    3.960199] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.960199] CR2: 0000000000000000 CR3: 0000000001a17000 CR4: 00000000000006b0
[    3.960199] Call Trace:
[    3.960199]  __rcu_read_unlock+0x3e/0x5f
[    3.960199]  insert_retry+0x1fa/0x4cb
[    3.960199]  test_rhashtable+0x75/0x7ed
[    3.960199]  ? lockdep_init_map+0xbb/0x1bd
[    3.960199]  test_rht_init+0xdd/0x3d4
[    3.960199]  ? test_rhashtable+0x7ed/0x7ed
[    3.960199]  ? set_debug_rodata+0x12/0x12
[    3.960199]  do_one_initcall+0x89/0x132
[    3.960199]  ? set_debug_rodata+0x12/0x12
[    3.960199]  kernel_init_freeable+0x107/0x185
[    3.960199]  ? rest_init+0x221/0x221
[    3.960199]  kernel_init+0x9/0xe6
[    3.960199]  ret_from_fork+0x2a/0x40
[    3.960199] Code: 00 00 49 3b 86 c0 00 00 00 75 07 49 89 96 c0 00 00 00 4d 8b ae 28 01 00 00 49 83 e5 fe 4d 39 ec 75 0b 49 39 86 c8 00 00 00 74 02 <0f> ff 49 3b 86 c8 00 00 00 75 07 49 89 96 c8 00 00 00 4c 89 f7 
[    3.960199] ---[ end trace 88baba44f97303e0 ]---


To reproduce:

        git clone https://github.com/01org/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.12.0-02191-gde8a3b1" of type "text/plain" (116421 bytes)

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

Download attachment "dmesg.xz" of type "application/octet-stream" (12056 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ