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:   Sat, 18 Feb 2017 13:42:53 +0800
From:   Fengguang Wu <fengguang.wu@...el.com>
To:     LKML <linux-kernel@...r.kernel.org>
Cc:     Andy Lutomirski <luto@...nel.org>, Ingo Molnar <mingo@...nel.org>,
        LKP <lkp@...org>
Subject: [x86] a75a3f6fc9 Kernel panic - not syncing: Attempted to kill init!
 exitcode=0x0000000b

Greetings,

FYI here is an old bug, however is still active in mainline kernel.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

commit a75a3f6fc92888e4119744d8594ffdf748c3d444
Merge: d2bea73 3bd2951
Author:     Linus Torvalds <torvalds@...ux-foundation.org>
AuthorDate: Tue Nov 3 18:59:10 2015 -0800
Commit:     Linus Torvalds <torvalds@...ux-foundation.org>
CommitDate: Tue Nov 3 18:59:10 2015 -0800

     Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
     
     Pull x86 asm changes from Ingo Molnar:
      "The main change in this cycle is another step in the big x86 system
       call interface rework by Andy Lutomirski, which moves most of the low
       level x86 entry code from assembly to C, for all syscall entries
       except native 64-bit system calls:
     
         arch/x86/entry/entry_32.S        | 182 ++++------
         arch/x86/entry/entry_64_compat.S | 547 ++++++++-----------------------
         194 insertions(+), 535 deletions(-)
     
       ... our hope is that the final remaining step (converting native
       64-bit system calls) will be less painful as all the previous steps,
       given that most of the legacies and quirks are concentrated around
       native 32-bit and compat environments"
     
     * 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (47 commits)
       x86/entry/32: Fix FS and GS restore in opportunistic SYSEXIT
       x86/entry/32: Fix entry_INT80_32() to expect interrupts to be on
       um/x86: Fix build after x86 syscall changes
       x86/asm: Remove the xyz_cfi macros from dwarf2.h
       selftests/x86: Style fixes for the 'unwind_vdso' test
       x86/entry/64/compat: Document sysenter_fix_flags's reason for existence
       x86/entry: Split and inline syscall_return_slowpath()
       x86/entry: Split and inline prepare_exit_to_usermode()
       x86/entry: Use pt_regs_to_thread_info() in syscall entry tracing
       x86/entry: Hide two syscall entry assertions behind CONFIG_DEBUG_ENTRY
       x86/entry: Micro-optimize compat fast syscall arg fetch
       x86/entry: Force inlining of 32-bit syscall code
       x86/entry: Make irqs_disabled checks in exit code depend on lockdep
       x86/entry: Remove unnecessary IRQ twiddling in fast 32-bit syscalls
       x86/asm: Remove thread_info.sysenter_return
       x86/entry/32: Re-implement SYSENTER using the new C path
       x86/entry/32: Switch INT80 to the new C syscall path
       x86/entry/32: Open-code return tracking from fork and kthreads
       x86/entry/compat: Implement opportunistic SYSRETL for compat syscalls
       x86/vdso/compat: Wire up SYSENTER and SYSCSALL for compat userspace
       ...

+-----------------------------------------------------------+------------+------------+------------+-----------+
|                                                           | d2bea739f8 | 3bd29515d1 | a75a3f6fc9 | v4.10-rc8 |
+-----------------------------------------------------------+------------+------------+------------+-----------+
| boot_successes                                            | 118        | 69         | 13         | 46        |
| boot_failures                                             | 1          | 93         | 31         | 59        |
| invoked_oom-killer:gfp_mask=0x                            | 1          | 2          |            |           |
| Mem-Info                                                  | 1          | 2          |            |           |
| Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode= | 0          | 91         | 31         | 39        |
| BUG:kernel_hang_in_test_stage                             | 0          | 0          | 0          | 19        |
| BUG:kernel_reboot-without-warning_in_test_stage           | 0          | 0          | 0          | 1         |
+-----------------------------------------------------------+------------+------------+------------+-----------+

[    3.184390] init[1]: segfault at ffffffffff600400 ip ffffffffff600400 sp 00007ffe879003c8 error 15
[    3.185986] init[1] vsyscall attempted with vsyscall=none ip:ffffffffff600400 cs:33 sp:7ffe878ff8b8 ax:ffffffffff600400 si:7f2c3de62a4c di:7ffe878ff978
[    3.188322] init[1]: segfault at ffffffffff600400 ip ffffffffff600400 sp 00007ffe878ff8b8 error 15
[    3.189992] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    3.189992] 
[    3.190028] CPU: 0 PID: 1 Comm: init Not tainted 4.3.0-01035-ga75a3f6 #2
[    3.190028] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    3.190028]  ffffffff81c2ad00 ffff880000063c08 ffffffff81326a75 ffffffff810ceded
[    3.190028]  ffffffff81a45f78 ffff880000063c88 ffffffff8113ab51 ffff88000005c060
[    3.190028]  ffff880000000010 ffff880000063c98 ffff880000063c38 ffff88000005c000
[    3.190028] Call Trace:
[    3.190028]  [<ffffffff81326a75>] dump_stack+0x4c/0x67
[    3.190028]  [<ffffffff810ceded>] ? console_unlock+0x2ed/0x320
[    3.190028]  [<ffffffff8113ab51>] panic+0xbc/0x1f6
[    3.190028]  [<ffffffff8108b3f3>] find_child_reaper+0xa3/0xb0
[    3.190028]  [<ffffffff8108b50c>] forget_original_parent+0x3c/0x1e0
[    3.190028]  [<ffffffff8108ca18>] exit_notify+0x38/0x1a0
[    3.190028]  [<ffffffff8108d209>] do_exit+0x2a9/0x400
[    3.190028]  [<ffffffff8108d427>] do_group_exit+0x87/0xc0
[    3.190028]  [<ffffffff81095d1e>] get_signal+0x33e/0x3a0
[    3.190028]  [<ffffffff8113bade>] ? printk+0x41/0x43
[    3.190028]  [<ffffffff810038bb>] do_signal+0x1b/0xd0
[    3.190028]  [<ffffffff810c0000>] ? do_sched_rt_period_timer+0x190/0x2b0
[    3.190028]  [<ffffffff8113bade>] ? printk+0x41/0x43
[    3.190028]  [<ffffffff810b3063>] ? vtime_account_user+0x93/0xb0
[    3.190028]  [<ffffffff8108621f>] exit_to_usermode_loop+0x4a/0x85
[    3.190028]  [<ffffffff81001437>] prepare_exit_to_usermode+0x27/0x40
[    3.190028]  [<ffffffff810010e5>] ? enter_from_user_mode+0x45/0x50
[    3.190028]  [<ffffffff8163d727>] retint_user+0x8/0x10
[    3.190028] Kernel Offset: disabled

Elapsed time: 10

git bisect start v4.4 v4.3 --
git bisect  bad cd6caf550a2adc763c6301ecc0be01f422fb2aea  # 08:07      0-     29  Merge tag 'for-linus-4.4' of git://git.code.sf.net/p/openipmi/linux-ipmi
git bisect  bad 713009809681e5a7871e96e6992692c805b4480b  # 08:07      0-     26  Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
git bisect  bad ccf21b69a83afaee4d5499e0d03eacf23946e08c  # 08:07      0-     26  Merge branch 'for-4.4/reservations' of git://git.kernel.dk/linux-block
git bisect good b831ef2cad979912850e34f82415c0c5d59de8cb  # 08:07     43+      0  Merge branch 'ras-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad ccc9d4a6d640cbde05d519edeb727881646cf71b  # 08:07      0-     28  Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
git bisect  bad f323c49b300baf89e2cb4050b0def1856c0b1852  # 08:07      0-     28  Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad a75a3f6fc92888e4119744d8594ffdf748c3d444  # 08:07      0-     31  Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 53528695ff6d8b77011bc818407c13e30914a946  # 08:07     43+      0  Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good d2bea739f8b41d620c235d81e00289d01169dc3c  # 08:07     44+      0  Merge branch 'x86-apic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 034042cc1e2837a584cda0a5e4fc2b0a96b74543  # 08:42     39+     50  x86/entry/syscalls: Move syscall table declarations into asm/syscalls.h
git bisect good 460d12453e1afe20416ce9536cfecb31d17a9abd  # 09:07     38+     21  x86/entry: Make irqs_disabled checks in exit code depend on lockdep
git bisect good f5e6a9753ac2965564a14e6285a06f44043ed9c8  # 09:31     39+     26  x86/entry: Split and inline syscall_return_slowpath()
git bisect good af22aa7c766d50712b9afeca53e9e4208ce6284c  # 09:47     40+     23  x86/asm: Remove the xyz_cfi macros from dwarf2.h
git bisect good 657c1eea0019e80685a84cbb1919794243a187c9  # 10:10     39+     20  x86/entry/32: Fix entry_INT80_32() to expect interrupts to be on
git bisect good 3bd29515d1cad26fa85a1a9b442de8816c1f5c54  # 10:24     39+     21  x86/entry/32: Fix FS and GS restore in opportunistic SYSEXIT
# first bad commit: [a75a3f6fc92888e4119744d8594ffdf748c3d444] Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good d2bea739f8b41d620c235d81e00289d01169dc3c  # 10:36    114+      1  Merge branch 'x86-apic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 3bd29515d1cad26fa85a1a9b442de8816c1f5c54  # 11:12    115+     89  x86/entry/32: Fix FS and GS restore in opportunistic SYSEXIT
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect  bad a75a3f6fc92888e4119744d8594ffdf748c3d444  # 11:21      0-      8  Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
# extra tests on HEAD of linus/master
git bisect  bad 0722f57bfae9abbc673b9dbe495c7da2f64676ea  # 11:21      0-     73  Merge tag 'drm-fixes-for-v4.10-final' of git://people.freedesktop.org/~airlied/linux
# extra tests on tree/branch linus/master
git bisect  bad 6dc39c50e4aeb769c8ae06edf2b1a732f3490913  # 11:21      0-     67  Merge branch 'for-linus' of git://git.kernel.dk/linux-block
# extra tests on tree/branch linus/master
git bisect  bad 6dc39c50e4aeb769c8ae06edf2b1a732f3490913  # 11:21      0-     67  Merge branch 'for-linus' of git://git.kernel.dk/linux-block
# extra tests on tree/branch linux-next/master
git bisect good 4ce4a759a3e221b5265ebd03c2f8888b69a7cf3e  # 11:40    121+    255  Add linux-next specific files for 20170217


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

Download attachment "dmesg-yocto-vp-48:20170218024722:x86_64-randconfig-w0-02171423:4.3.0-01035-ga75a3f6:2.gz" of type "application/gzip" (12468 bytes)

View attachment "config-4.3.0-01035-ga75a3f6" of type "text/plain" (87562 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ