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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 23 Feb 2018 13:11:38 +0800
From:   kernel test robot <fengguang.wu@...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: [rcu]  355a64fb97: general_protection_fault:#[##]


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

commit: 355a64fb9780ef5737e77c36ba24b5b72ca7c185 ("rcu: Parallelize expedited grace-period initialization")
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 host -smp 2 -m 1G

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


+------------------------------------------+------------+------------+
|                                          | 28ea7ed1b3 | 355a64fb97 |
+------------------------------------------+------------+------------+
| boot_successes                           | 8          | 8          |
| boot_failures                            | 0          | 5          |
| general_protection_fault:#[##]           | 0          | 5          |
| RIP:sync_sched_exp_handler               | 0          | 5          |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 5          |
+------------------------------------------+------------+------------+



[    0.145388] smpboot: Max logical packages: 2
[    0.146768] ----------------
[    0.147766] | NMI testsuite:
[    0.148037] --------------------
[    0.149173]   remote IPI:
[    0.149298] general protection fault: 0000 [#1] SMP PTI
[    0.151852] Modules linked in:
[    0.152000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.16.0-rc1-00044-g355a64f #137
[    0.152000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.152000] RIP: 0010:sync_sched_exp_handler+0x14/0x96
[    0.152000] RSP: 0000:ffffbc71c031fda8 EFLAGS: 00010287
[    0.152000] RAX: deace9a5d4c00000 RBX: ffffffff8e6f4500 RCX: 0000000000000003
[    0.152000] RDX: 0000000000000003 RSI: ffffffff8e6e9580 RDI: ffffffff8e6f4908
[    0.152000] RBP: ffffffff8e6f4500 R08: 00000000e272d5c3 R09: 0000000000000004
[    0.152000] R10: ffffbc71c031fd18 R11: ffffffff8e6f4518 R12: 0000000000000001
[    0.152000] R13: ffffffff8b157074 R14: 0000000fffffffe0 R15: ffffffff8e6f4908
[    0.152000] FS:  0000000000000000(0000) GS:ffff9af8d4c00000(0000) knlGS:0000000000000000
[    0.152000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.152000] CR2: 00000000ffffffff CR3: 000000004a684000 CR4: 00000000000006f0
[    0.152000] Call Trace:
[    0.152000]  sync_rcu_exp_select_cpus+0x1d0/0x285
[    0.152000]  ? set_debug_rodata+0x11/0x11
[    0.152000]  _synchronize_rcu_expedited+0x277/0x3c1
[    0.152000]  ? finish_task_switch+0x1c1/0x20d
[    0.152000]  ? set_debug_rodata+0x11/0x11
[    0.152000]  ? lock_is_held_type+0x47/0x4f
[    0.152000]  ? ___might_sleep+0xc7/0x1d6
[    0.152000]  ? set_debug_rodata+0x11/0x11
[    0.152000]  test_nmi_ipi+0x81/0x93
[    0.152000]  dotest+0x7/0x65
[    0.152000]  nmi_selftest+0x59/0x152
[    0.152000]  native_smp_cpus_done+0x73/0x105
[    0.152000]  kernel_init_freeable+0x147/0x25c
[    0.152000]  ? rest_init+0xc4/0xc4
[    0.152000]  kernel_init+0xa/0xf5
[    0.152000]  ret_from_fork+0x3a/0x50
[    0.152000] Code: 74 05 e9 67 fe ff ff e9 cb db ff ff c3 66 66 66 66 90 e9 57 fe ff ff 66 66 66 66 90 48 8b 87 98 94 00 00 65 48 03 05 70 81 eb 74 <48> 8b 50 20 48 8b 52 70 48 85 50 28 74 73 65 8a 05 fc d6 08 75 
[    0.152000] RIP: sync_sched_exp_handler+0x14/0x96 RSP: ffffbc71c031fda8
[    0.152104] ---[ end trace 5e427d612885ad99 ]---
[    0.156051] Kernel panic - not syncing: Fatal exception

Elapsed time: 10

#!/bin/bash



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

View attachment "config-4.16.0-rc1-00044-g355a64f" of type "text/plain" (164818 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ