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]
Message-ID: <20170926021536.GD17200@yexl-desktop>
Date:   Tue, 26 Sep 2017 10:15:36 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Eric Biggers <ebiggers3@...il.com>
Cc:     x86@...nel.org, linux-kernel@...r.kernel.org,
        kernel-hardening@...ts.openwall.com,
        Andy Lutomirski <luto@...nel.org>,
        Dave Hansen <dave.hansen@...ux.intel.com>,
        Dmitry Vyukov <dvyukov@...gle.com>,
        Fenghua Yu <fenghua.yu@...el.com>,
        Ingo Molnar <mingo@...nel.org>, Kevin Hao <haokexin@...il.com>,
        Oleg Nesterov <oleg@...hat.com>,
        Wanpeng Li <wanpeng.li@...mail.com>,
        Yu-cheng Yu <yu-cheng.yu@...el.com>,
        Michael Halcrow <mhalcrow@...gle.com>,
        Eric Biggers <ebiggers@...gle.com>, stable@...r.kernel.org,
        lkp@...org
Subject: [lkp-robot] [x86/fpu]  14e633085a:
 Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode=

FYI, we noticed the following commit:

commit: 14e633085ab2716f757f0c3d994efe14e5fe604e ("x86/fpu: don't let userspace set bogus xcomp_bv")
url: https://github.com/0day-ci/linux/commits/Eric-Biggers/x86-fpu-prevent-leaking-FPU-registers-via-invalid-FPU-state/20170922-225341


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -m 420M

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


+-----------------------------------------------------------+------------+------------+
|                                                           | dc1fb16d0a | 14e633085a |
+-----------------------------------------------------------+------------+------------+
| boot_successes                                            | 10         | 0          |
| boot_failures                                             | 0          | 4          |
| Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode= | 0          | 4          |
+-----------------------------------------------------------+------------+------------+



[    6.272786] init: Console is alive
[    6.273405] init: - watchdog -
[    6.275390] kmodloader (122) used greatest stack depth: 14352 bytes left
[    7.274437] init: - preinit -
[    7.286014] init[1] bad frame in 32bit sigreturn frame:00000000fff5eb2c ip:f7f369b5 sp:fff5f08c orax:ffffffffffffffff in libuClibc-0.9.33.2.so[f7f2c000+4f000]
[    7.288482] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    7.288482] 
[    7.289898] CPU: 0 PID: 1 Comm: init Not tainted 4.14.0-rc1-00021-g14e6330 #38
[    7.290988] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    7.292562] Call Trace:
[    7.292960]  dump_stack+0x61/0x7e
[    7.293485]  panic+0xd3/0x20f
[    7.293967]  do_exit+0x4f2/0x983
[    7.294440]  do_group_exit+0x45/0xb0
[    7.294966]  get_signal+0x4b8/0x4e4
[    7.295483]  do_signal+0x23/0x5bc
[    7.295964]  ? force_sig_info+0xc6/0xd5
[    7.296521]  ? force_sig+0x11/0x13
[    7.297027]  ? signal_fault+0xb8/0xc1
[    7.297557]  exit_to_usermode_loop+0x3a/0x72
[    7.298178]  do_int80_syscall_32+0xe9/0xfe
[    7.298784]  entry_INT80_compat+0x2a/0x40
[    7.299374] RIP: 0023:0xf7f369b5
[    7.299848] RSP: 002b:00000000fff5f08c EFLAGS: 00000246
[    7.300587] RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000f7fb670c
[    7.301609] RDX: 000000000000000a RSI: 0000000000000f9f RDI: 0000000000000fa0
[    7.302624] RBP: 00000000fff5f0f8 R08: 0000000000000000 R09: 0000000000000000
[    7.303631] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[    7.304666] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[    7.305677] Kernel Offset: 0x7000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)

Elapsed time: 10


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.14.0-rc1-00021-g14e6330" of type "text/plain" (125960 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ