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:   Thu, 07 Dec 2017 02:50:01 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     LKP <lkp@...org>, linux-kernel@...r.kernel.org,
        Ingo Molnar <mingo@...nel.org>, wfg@...ux.intel.com
Subject: 264d55b5c0 ("x86/fixmap: Add LDT entries to user-shared fixmap"): BUG: kernel hang in early-boot stage, last printk: early console in setup code

Greetings,

0day kernel testing robot got the below dmesg and the first bad commit is

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti

commit 264d55b5c0a75bd12486d5afd24922ae743ed4a2
Author:     Thomas Gleixner <tglx@...utronix.de>
AuthorDate: Mon Dec 4 15:07:51 2017 +0100
Commit:     Ingo Molnar <mingo@...nel.org>
CommitDate: Tue Dec 5 15:31:27 2017 +0100

    x86/fixmap: Add LDT entries to user-shared fixmap
    
    LDT entries need to be user visible. Add them to the user shared fixmaps so
    they can be mapped to the actual location of the LDT entries of a process
    on task switch.
    
    Populate the PTEs upfront so the PMD sharing works.
    
    Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
    Cc: Andy Lutomirski <luto@...nel.org>
    Cc: Boris Ostrovsky <boris.ostrovsky@...cle.com>
    Cc: Borislav Petkov <bp@...en8.de>
    Cc: Borislav Petkov <bpetkov@...e.de>
    Cc: Brian Gerst <brgerst@...il.com>
    Cc: Dave Hansen <dave.hansen@...el.com>
    Cc: Dave Hansen <dave.hansen@...ux.intel.com>
    Cc: David Laight <David.Laight@...lab.com>
    Cc: Denys Vlasenko <dvlasenk@...hat.com>
    Cc: Eduardo Valentin <eduval@...zon.com>
    Cc: Greg KH <gregkh@...uxfoundation.org>
    Cc: H. Peter Anvin <hpa@...or.com>
    Cc: Josh Poimboeuf <jpoimboe@...hat.com>
    Cc: Juergen Gross <jgross@...e.com>
    Cc: Linus Torvalds <torvalds@...ux-foundation.org>
    Cc: Peter Zijlstra <peterz@...radead.org>
    Cc: Rik van Riel <riel@...hat.com>
    Cc: Will Deacon <will.deacon@....com>
    Cc: aliguori@...zon.com
    Cc: daniel.gruss@...k.tugraz.at
    Cc: hughd@...gle.com
    Cc: keescook@...gle.com
    Link: https://lkml.kernel.org/r/20171204150608.517089374@linutronix.de
    Signed-off-by: Ingo Molnar <mingo@...nel.org>

90d2be4c25  x86/events/intel/ds: Map debug buffers in fixmap
264d55b5c0  x86/fixmap: Add LDT entries to user-shared fixmap
16db81a1bf  x86/pti: Add temporary workaround for the fixmap sizing bug
140ce6a343  Merge branch 'perf/core'
+-----------------------------------------------------------------------------+------------+------------+------------+------------+
|                                                                             | 90d2be4c25 | 264d55b5c0 | 16db81a1bf | 140ce6a343 |
+-----------------------------------------------------------------------------+------------+------------+------------+------------+
| boot_successes                                                              | 53         | 0          | 0          | 0          |
| boot_failures                                                               | 0          | 33         | 42         | 11         |
| BUG:kernel_hang_in_early-boot_stage,last_printk:early_console_in_setup_code | 0          | 33         | 42         | 11         |
+-----------------------------------------------------------------------------+------------+------------+------------+------------+

early console in setup code
BUG: kernel hang in early-boot stage, last printk: early console in setup code
Linux version 4.14.0-00111-g264d55b #73
Command line: root=/dev/ram0 hung_task_panic=1 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0 earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw link=/kbuild-tests/run-queue/kvm/x86_64-randconfig-i0-201749/tip:WIP.x86:pti.merge:264d55b5c0a75bd12486d5afd24922ae743ed4a2:bisect-linux-21/.vmlinuz-264d55b5c0a75bd12486d5afd24922ae743ed4a2-20171206231546-1:quantal-ivb41-20 branch=tip/WIP.x86/pti.merge BOOT_IMAGE=/pkg/linux/x86_64-randconfig-i0-201749/gcc-7/264d55b5c0a75bd12486d5afd24922ae743ed4a2/vmlinuz-4.14.0-00111-g264d55b drbd.minor_count=8


                                                          # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 071cfb3fcc193e07e722c82a12dfec42917aa55b 55d2d0ad2fb4325f615d1950486fbc5e6fba1769 --
git bisect good 5b06bbcfc2c621da3009da8decb7511500c293ed  # 21:44  G     10     0   10  18  x86/power: Fix some ordering bugs in __restore_processor_context()
git bisect good e0eb372a4f40ff7a39d427df659c7345b1f6c178  # 22:04  G     11     0   11  12  Merge branch 'linus' into WIP.x86/pti.merge, to merge in v4.15 changes
git bisect  bad cecf6d11c26824409816cd34b106141664b7df73  # 22:27  B      0     2   16   0  Merge branch 'WIP.x86/pti' into WIP.x86/pti.merge
git bisect good 8b680f8c6b286f50426f2f8b3032ab8539feb2e5  # 22:55  G     11     0    0   0  x86/mm/pti: Add infrastructure for page table isolation
git bisect  bad 264d55b5c0a75bd12486d5afd24922ae743ed4a2  # 23:26  B      0     3   23   6  x86/fixmap: Add LDT entries to user-shared fixmap
git bisect good 979afcdb4bbf77e76f15c26cf74985e3982235cf  # 23:54  G     11     0    0   0  x86/mm/pti: Force entry through trampoline when PTI active
git bisect good 22978db78a2775a3e1559ef684b027ccd46f8a0d  # 00:27  G     11     0    0   0  x86/mm/pti: Share entry text PMD
git bisect good 2ffe493f94b7163a987fc6252e53d64b7aac9373  # 00:49  G     10     0    0   0  x86/fixmap: Add debugstore entries to cpu_entry_area
git bisect good 90d2be4c258456ec1784e92afee9de013c2ac566  # 01:05  G     11     0    0   0  x86/events/intel/ds: Map debug buffers in fixmap
# first bad commit: [264d55b5c0a75bd12486d5afd24922ae743ed4a2] x86/fixmap: Add LDT entries to user-shared fixmap
git bisect good 90d2be4c258456ec1784e92afee9de013c2ac566  # 01:13  G     31     0    0   0  x86/events/intel/ds: Map debug buffers in fixmap
# extra tests with debug options
git bisect  bad 264d55b5c0a75bd12486d5afd24922ae743ed4a2  # 01:28  B      0     9   23   0  x86/fixmap: Add LDT entries to user-shared fixmap
# extra tests on HEAD of tip/WIP.x86/pti.merge
git bisect  bad 071cfb3fcc193e07e722c82a12dfec42917aa55b  # 01:28  B      0    13   30   0  x86/pti: Remove GFP_NOTRACK use
# extra tests on tree/branch tip/WIP.x86/pti
git bisect  bad 16db81a1bfe0974b6ed3ed102150e23449ab0c7f  # 01:55  B      0     2   19   3  x86/pti: Add temporary workaround for the fixmap sizing bug
# extra tests with first bad commit reverted
git bisect good 3ee67d141104a7a387abfabbb8840cd020c1bd9a  # 02:22  G     11     0    0   0  Revert "x86/fixmap: Add LDT entries to user-shared fixmap"
# extra tests on tree/branch tip/master
git bisect  bad 140ce6a343f6b5fff01f1fcc4984598390e49571  # 02:43  B      0     4   18   0  Merge branch 'perf/core'

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/lkp                          Intel Corporation

Download attachment "dmesg-quantal-ivb41-20:20171206232558:x86_64-randconfig-i0-201749:4.14.0-00111-g264d55b:73.gz" of type "application/gzip" (1044 bytes)

View attachment "reproduce-quantal-ivb41-20:20171206232558:x86_64-randconfig-i0-201749:4.14.0-00111-g264d55b:73" of type "text/plain" (745 bytes)

View attachment "config-4.14.0-00111-g264d55b" of type "text/plain" (118487 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ