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]
Message-ID: <20180223013110.x5tb4ymvj6i5g5o3@inn>
Date:   Fri, 23 Feb 2018 09:31:10 +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]  11d88c8120: general_protection_fault:#[##]


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

commit: 11d88c812043b17c016b8dbe931244f74f082281 ("rcu: Parallelize expedited grace-period initialization")
https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git rcu/dev

in testcase: boot

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


+------------------------------------------+------------+------------+
|                                          | 4cad5591fc | 11d88c8120 |
+------------------------------------------+------------+------------+
| boot_successes                           | 6          | 0          |
| boot_failures                            | 0          | 6          |
| general_protection_fault:#[##]           | 0          | 6          |
| RIP:sync_sched_exp_handler               | 0          | 6          |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 6          |
+------------------------------------------+------------+------------+



[    0.062130] smpboot: Max logical packages: 2
[    0.063042] ----------------
[    0.064019] | NMI testsuite:
[    0.065100] --------------------
[    0.066020]   remote IPI:
[    0.066297] general protection fault: 0000 [#1] SMP PTI
[    0.067000] Modules linked in:
[    0.067000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.16.0-rc1-00044-g11d88c812 #153
[    0.067000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.067000] RIP: 0010:sync_sched_exp_handler+0x14/0x96
[    0.067000] RSP: 0000:ffffb08f40197d10 EFLAGS: 00010287
[    0.067000] RAX: deacd7b935400000 RBX: ffffffffb6a831c0 RCX: 0000000000000003
[    0.067000] RDX: 0000000000000000 RSI: ffffffffb6a7f2c0 RDI: ffffffffb6a835c8
[    0.067000] RBP: ffffffffb6a831c0 R08: 00000000e272d5c3 R09: 0000000000000004
[    0.067000] R10: ffff890c349c8040 R11: 0000000000000001 R12: 0000000fffffffe0
[    0.067000] R13: ffffffffb511fa14 R14: ffffffffb6a835c8 R15: 0000000000000000
[    0.067000] FS:  0000000000000000(0000) GS:ffff890c35400000(0000) knlGS:0000000000000000
[    0.067000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.067000] CR2: 00000000ffffffff CR3: 0000000031a24000 CR4: 00000000000006f0
[    0.067000] Call Trace:
[    0.067000]  sync_rcu_exp_select_cpus+0x3da/0x44c
[    0.067000]  _synchronize_rcu_expedited+0x6e2/0x83f
[    0.067000]  ? _raw_spin_unlock_irq+0x29/0x39
[    0.067000]  ? finish_task_switch+0x163/0x22d
[    0.067000]  ? finish_task_switch+0x1dc/0x22d
[    0.067000]  ? __schedule+0xa24/0xa8d
[    0.067000]  synchronize_sched+0xca/0x102
[    0.067000]  ? trace_hardirqs_on_caller+0x177/0x191
[    0.067000]  ? unregister_nmi_handler+0xac/0xbb
[    0.067000]  test_nmi_ipi+0x6e/0x7f
[    0.067000]  dotest+0x7/0x65
[    0.067000]  nmi_selftest+0x59/0x152
[    0.067000]  native_smp_cpus_done+0x65/0xfc
[    0.067000]  kernel_init_freeable+0x123/0x25a
[    0.067000]  ? rest_init+0x22e/0x22e
[    0.067000]  kernel_init+0xa/0xf0
[    0.067000]  ret_from_fork+0x3a/0x50
[    0.067000] Code: 4a 48 89 df e8 10 88 ce 00 66 c7 83 3a 17 00 00 06 00 e9 b1 ec ff ff 66 66 66 66 90 48 8b 87 98 16 00 00 65 48 03 05 10 f7 ee 4a <48> 8b 50 20 48 8b 52 70 48 85 50 28 74 73 65 8a 05 dc 36 0c 4b 
[    0.067000] RIP: sync_sched_exp_handler+0x14/0x96 RSP: ffffb08f40197d10
[    0.067040] ---[ end trace 52ba43a846e7343b ]---
[    0.068014] 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-g11d88c812" of type "text/plain" (119227 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ