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, 19 Sep 2018 11:19:23 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Pu Wen <puwen@...on.cn>
Cc:     bp@...en8.de, tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
        x86@...nel.org, thomas.lendacky@....com, helgaas@...nel.org,
        linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
        linux-pci@...r.kernel.org, Pu Wen <puwen@...on.cn>, lkp@...org
Subject: [LKP] [x86/pci] 7ffb31888c: PANIC:early_exception

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

commit: 7ffb31888cbaab36ec464fc43ecf5ddecdbd55ac ("[PATCH v7 07/16] x86/pci: Add Hygon Dhyana support to PCI and north bridge")
url: https://github.com/0day-ci/linux/commits/Pu-Wen/Add-support-for-Hygon-Dhyana-Family-18h-processor/20180917-214606


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu kvm64,+ssse3 -smp 2 -m 8G

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


+-------------------------------------------------+------------+------------+
|                                                 | 89989434ce | 7ffb31888c |
+-------------------------------------------------+------------+------------+
| boot_successes                                  | 5          | 6          |
| boot_failures                                   | 1          | 4          |
| BUG:kernel_reboot-without-warning_in_boot_stage | 1          |            |
| PANIC:early_exception                           | 0          | 4          |
| RIP:early_is_amd_nb                             | 0          | 4          |
| BUG:kernel_hang_in_boot_stage                   | 0          | 4          |
+-------------------------------------------------+------------+------------+



[    0.009828] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.037528] tsc: Detected 2260.998 MHz processor
[    0.057832] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.069238] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.800215] AGP: No AGP bridge found
PANIC: early exception 0xe3 IP 10:ffffffff8294623f error 0 cr2 0x0
[    0.815262] CPU: 0 PID: 0 Comm: swapper Not tainted 4.19.0-rc2-00018-g7ffb318 #1
[    0.826860] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.839894] RIP: 0010:early_is_amd_nb+0x30/0x4b
[    0.846986] Code: 15 07 3e c8 ff 0f b7 cf 48 c7 c0 c0 6a 01 82 80 fa 02 74 13 80 fa 09 48 c7 c0 20 69 01 82 ba 00 00 00 00 48 0f 45 c2 c1 ef 10 <8b> 10 85 d2 74 0f 39 ca 75 05 39 78 04 74 09 48 83 c0 20 eb eb 31
[    0.876321] RSP: 0000:ffffffff82403e38 EFLAGS: 00010017 ORIG_RAX: 0000000000000000
[    0.888131] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000ffff
[    0.899187] RDX: 0000000000000000 RSI: 000000000000c000 RDI: 000000000000ffff
[    0.910233] RBP: 0000000000000018 R08: 0000000000000002 R09: 0000000000000000
[    0.921388] R10: ffffffff829ecc40 R11: ffffffff82aeed87 R12: 0000000000000000
[    0.932476] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[    0.943658] FS:  0000000000000000(0000) GS:ffffffff82909000(0000) knlGS:0000000000000000
[    0.956271] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.965216] CR2: 0000000000000000 CR3: 00000000029a2000 CR4: 00000000000006a0
[    0.976358] Call Trace:
[    0.980238]  ? early_gart_iommu_check+0xef/0x2c5
[    0.987493]  ? setup_arch+0x4fa/0xc67
[    0.993231]  ? printk+0x52/0x6e
[    0.998157]  ? start_kernel+0x6e/0x4dc
[    1.004044]  ? load_ucode_bsp+0x42/0x12e
[    1.010145]  ? secondary_startup_64+0xa4/0xb0
BUG: kernel hang in boot stage

Elapsed time: 700

#!/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,
Rong Chen

View attachment "config-4.19.0-rc2-00018-g7ffb318" of type "text/plain" (107933 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ