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:   Mon, 18 Dec 2017 13:11:45 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     Ingo Molnar <mingo@...nel.org>, Andy Lutomirski <luto@...nel.org>,
        Boris Ostrovsky <boris.ostrovsky@...cle.com>,
        Borislav Petkov <bp@...en8.de>,
        Brian Gerst <brgerst@...il.com>,
        Dave Hansen <dave.hansen@...ux.intel.com>,
        David Laight <David.Laight@...lab.com>,
        Denys Vlasenko <dvlasenk@...hat.com>,
        Eduardo Valentin <eduval@...zon.com>,
        Greg KH <gregkh@...uxfoundation.org>,
        "H. Peter Anvin" <hpa@...or.com>,
        Josh Poimboeuf <jpoimboe@...hat.com>,
        Juergen Gross <jgross@...e.com>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Peter Zijlstra <peterz@...radead.org>,
        Will Deacon <will.deacon@....com>,
        LKML <linux-kernel@...r.kernel.org>,
        Thomas Gleixner <tglx@...utronix.de>, tipbuild@...or.com,
        lkp@...org
Subject: [lkp-robot] [x86/fixmap]  db49bdebb1: BUG:unable_to_handle_kernel


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

commit: db49bdebb1f313fae0c264fe28751cb1a5a49800 ("x86/fixmap: Add debugstore entries to cpu_entry_area")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git WIP.x86/pti-upstream

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M

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


+-------------------------------------------------+------------+------------+
|                                                 | 6c753ea812 | db49bdebb1 |
+-------------------------------------------------+------------+------------+
| boot_successes                                  | 15         | 0          |
| boot_failures                                   | 2          | 22         |
| BUG:kernel_reboot-without-warning_in_test_stage | 2          |            |
| BUG:unable_to_handle_kernel                     | 0          | 22         |
| Oops:#[##]                                      | 0          | 22         |
| RIP:acpi_find_root_pointer                      | 0          | 22         |
| Kernel_panic-not_syncing:Fatal_exception        | 0          | 22         |
+-------------------------------------------------+------------+------------+



[    0.000000] BUG: unable to handle kernel paging request at ffffffff9d00040e
[    0.000000] IP: acpi_find_root_pointer+0xbe/0x2f3
[    0.000000] PGD 5214067 P4D 5214067 PUD 5215063 PMD 0 
[    0.000000] Oops: 0000 [#1] SMP KASAN
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.15.0-rc3-00195-gdb49bde #1
[    0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.000000] RIP: 0010:acpi_find_root_pointer+0xbe/0x2f3
[    0.000000] RSP: 0000:ffffffff85207c00 EFLAGS: 00010046
[    0.000000] RAX: 0000000000000007 RBX: ffffffff85207c48 RCX: ffffffff86526a00
[    0.000000] RDX: 1ffffffff3a00000 RSI: 8000000000000163 RDI: ffffffff86624b40
[    0.000000] RBP: 1ffffffff0a40f85 R08: fffffbfff0cc63a4 R09: 0000000000000000
[    0.000000] R10: ffffffff86630d20 R11: fffffbfff0cc63a3 R12: ffffffff9d00040e
[    0.000000] R13: 000000001ffe0000 R14: ffffffff8711a1a0 R15: 000000000ffbf000
[    0.000000] FS:  0000000000000000(0000) GS:ffffffff86469000(0000) knlGS:0000000000000000
[    0.000000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.000000] CR2: ffffffff9d00040e CR3: 0000000005213000 CR4: 00000000000006b0
[    0.000000] Call Trace:
[    0.000000]  ? acpi_os_get_root_pointer+0x146/0x199
[    0.000000]  ? acpi_enforce_resources_setup+0xda/0xda
[    0.000000]  ? memset+0x1f/0x40
[    0.000000]  ? acpi_initialize_tables+0x15c/0x1ce
[    0.000000]  ? acpi_table_init+0xed/0x21c
[    0.000000]  ? acpi_table_parse+0x1c1/0x1c1
[    0.000000]  ? dmi_check_system+0xc0/0xd0
[    0.000000]  ? acpi_boot_table_init+0x28/0xc7
[    0.000000]  ? setup_arch+0x114f/0x1a6a
[    0.000000]  ? reserve_standard_io_resources+0x34/0x34
[    0.000000]  ? vprintk_func+0x9a/0xa0
[    0.000000]  ? printk+0xaa/0xca
[    0.000000]  ? cpumask_weight+0x48/0x48
[    0.000000]  ? cgroup_init_subsys+0x5e3/0x5e3
[    0.000000]  ? cpumask_set_cpu+0x52/0x60
[    0.000000]  ? start_kernel+0x9c/0x6a7
[    0.000000]  ? thread_stack_cache_init+0x5/0x5
[    0.000000]  ? memcpy_orig+0x16/0x110
[    0.000000]  ? secondary_startup_64+0xa5/0xb0
[    0.000000] Code: 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 8a 14 02 4c 89 e0 83 e0 07 ff c0 38 d0 7c 0c 84 d2 74 08 4c 89 e7 e8 f4 a0 00 fb <41> 0f b7 2c 24 be 02 00 00 00 4c 89 e7 e8 42 63 bd fd c1 e5 04 
[    0.000000] RIP: acpi_find_root_pointer+0xbe/0x2f3 RSP: ffffffff85207c00
[    0.000000] CR2: ffffffff9d00040e
[    0.000000] ---[ end trace 2507864299958132 ]---


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.15.0-rc3-00195-gdb49bde" of type "text/plain" (112053 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ