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-next>] [day] [month] [year] [list]
Date:   Tue, 27 Jun 2017 11:34:14 +0800
From:   Fengguang Wu <fengguang.wu@...el.com>
To:     "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc:     Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
        LKP <lkp@...org>
Subject: c88d71508e ("x86/boot/64: Rewrite startup_64() in C"): BUG: kernel
 reboot-without-warning in boot stage

Hi Kirill,

FYI this bug is still active in tip/master:

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

commit c88d71508e36b514413464bd2e01f96f34583a0e
Author:     Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
AuthorDate: Tue Jun 6 14:31:26 2017 +0300
Commit:     Ingo Molnar <mingo@...nel.org>
CommitDate: Tue Jun 13 08:56:54 2017 +0200

     x86/boot/64: Rewrite startup_64() in C
     
     The patch write most of startup_64 logic in C.
     
     This is preparation for 5-level paging enabling.
     
     Signed-off-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
     Cc: Andrew Morton <akpm@...ux-foundation.org>
     Cc: Andy Lutomirski <luto@...capital.net>
     Cc: Andy Lutomirski <luto@...nel.org>
     Cc: Borislav Petkov <bp@...en8.de>
     Cc: Brian Gerst <brgerst@...il.com>
     Cc: Dave Hansen <dave.hansen@...el.com>
     Cc: Denys Vlasenko <dvlasenk@...hat.com>
     Cc: H. Peter Anvin <hpa@...or.com>
     Cc: Josh Poimboeuf <jpoimboe@...hat.com>
     Cc: Linus Torvalds <torvalds@...ux-foundation.org>
     Cc: Peter Zijlstra <peterz@...radead.org>
     Cc: Thomas Gleixner <tglx@...utronix.de>
     Cc: linux-arch@...r.kernel.org
     Cc: linux-mm@...ck.org
     Link: http://lkml.kernel.org/r/20170606113133.22974-8-kirill.shutemov@linux.intel.com
     Signed-off-by: Ingo Molnar <mingo@...nel.org>

34bbb0009f  x86/boot/compressed: Enable 5-level paging during decompression stage
c88d71508e  x86/boot/64: Rewrite startup_64() in C
4a06370bcb  x86/mmap, ASLR: Do not treat unlimited-stack tasks as legacy mmap
db0a91afe9  Merge branch 'irq/core'
a73468728f  Add linux-next specific files for 20170623
+----------------------------------------------------+------------+------------+------------+------------+---------------+
|                                                    | 34bbb0009f | c88d71508e | 4a06370bcb | db0a91afe9 | next-20170623 |
+----------------------------------------------------+------------+------------+------------+------------+---------------+
| boot_successes                                     | 119        | 0          | 0          | 0          | 0             |
| boot_failures                                      | 1          | 26         | 41         | 25         | 83            |
| WARNING:at_mm/page_alloc.c:#__alloc_pages_slowpath | 1          |            |            |            |               |
| BUG:kernel_reboot-without-warning_in_boot_stage    | 0          | 26         | 41         | 25         | 83            |
+----------------------------------------------------+------------+------------+------------+------------+---------------+


Decompressing Linux... Parsing ELF... Performing relocations... done.
Booting the kernel.


                                                           # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 8b613ccb9d932ec8d5f72dd9a5b8e5616f3a0941 v4.11 --
git bisect good deac8429d62ca19c1571853e2a18f60e760ee04c  # 02:42  G     11     0    0   0  Merge tag 'sound-fix-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
git bisect good f56f88ee3fa1c3080f6ba122a597e75f0d5ab969  # 02:56  G     11     0    0   0  Merge branch 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 42211f6cb6d7c3a39fe9b2892a93e4c065149d5f  # 03:10  G     11     0    0   0  Merge branch 'for-linus' of git://git.kernel.dk/linux-block
git bisect good 6d53cefb18e4646fb4bf62ccb6098fb3808486df  # 03:30  G     11     0    0   0  compiler, clang: properly override 'inline' for clang
git bisect good f7f5712fcaba9543708804f01fa347fc3936c04a  # 03:35  G     10     0    0   0  Merge branch 'ras/core'
git bisect good a4a635ee9c874867a07154f0d21109612ee5592b  # 04:05  G     11     0    0   0  Merge branch 'timers/nohz'
git bisect good 514808e1b992ea2201e933b061bdb659957754eb  # 04:12  G     11     0    0   0  Merge branch 'x86/boot'
git bisect  bad d8c2c6b7e2506350646af1e4e8b1472f114fbc6c  # 04:20  B      0    11   81  36  Merge branch 'x86/mm'
git bisect good bbf79d21bd4627a01ca8721c9373752819f8e4cc  # 04:35  G     11     0    0   0  x86/ldt: Rename ldt_struct::size to ::nr_entries
git bisect good 919a02d1280a3845bac70e6b7891ca070f21a60a  # 04:45  G     11     0    0   0  x86/boot/efi: Define __KERNEL32_CS GDT on 64-bit configurations
git bisect  bad 032370b9c81f44b3aaadf3115d550f4b6b5fa2b9  # 04:51  B      0    11   78  30  x86/boot/64: Add support of additional page table level during early boot
git bisect  bad c88d71508e36b514413464bd2e01f96f34583a0e  # 04:51  B      0    26   67   0  x86/boot/64: Rewrite startup_64() in C
git bisect good 34bbb0009f3b7a5eef1ab34f14e5dbf7b8fc389c  # 05:07  G     16     0    0   2  x86/boot/compressed: Enable 5-level paging during decompression stage
# first bad commit: [c88d71508e36b514413464bd2e01f96f34583a0e] x86/boot/64: Rewrite startup_64() in C
git bisect good 34bbb0009f3b7a5eef1ab34f14e5dbf7b8fc389c  # 05:12  G     47     0    0   2  x86/boot/compressed: Enable 5-level paging during decompression stage
# extra tests on HEAD of linux-review/jglisse-redhat-com/x86-mm-hotplug-fix-BUG_ON-after-hotremove-by-not-freeing-pud-v3/20170626-012348
git bisect  bad 5bf715cc5f1a53ee61f1ac08eec750dc190bec79  # 05:12  B      0    25   51   0  x86/mm/hotplug: fix BUG_ON() after hotremove by not freeing pud v3
# extra tests on tree/branch tip/x86/mm
git bisect  bad 4a06370bcb674af88679a4f2c5c87c3e40688935  # 05:13  B      0    41   94   0  x86/mmap, ASLR: Do not treat unlimited-stack tasks as legacy mmap
# extra tests on tree/branch tip/master
git bisect  bad db0a91afe937a3001c4f177ba1c262fe7b9d0ab6  # 05:13  B      0    25   62   0  Merge branch 'irq/core'
# extra tests on tree/branch linux-next/master
git bisect  bad a73468728fd8f34ccbd7c60f0808024ae491f4d6  # 05:15  B      0    83  178   0  Add linux-next specific files for 20170623

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

Download attachment "dmesg-quantal-intel12-34:20170625121401:x86_64-randconfig-i0-201726:4.12.0-rc4-00359-gc88d715:1109.gz" of type "application/gzip" (1278 bytes)

View attachment "reproduce-quantal-intel12-34:20170625121401:x86_64-randconfig-i0-201726:4.12.0-rc4-00359-gc88d715:1109" of type "text/plain" (745 bytes)

View attachment "config-4.12.0-rc4-00359-gc88d715" of type "text/plain" (108180 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ