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]
Message-ID: <20170117025136.GG23197@yexl-desktop>
Date:   Tue, 17 Jan 2017 10:51:36 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     Ingo Molnar <mingo@...nel.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        LKML <linux-kernel@...r.kernel.org>,
        "H. Peter Anvin" <hpa@...or.com>, tipbuild@...or.com, lkp@...org
Subject: [lkp-robot] [locking/mutex]  e274795ea7:
 WARNING:at_arch/x86/include/asm/fpu/internal.h:#__switch_to


FYI, we noticed the following commit:

commit: e274795ea7b7caa0fd74ef651594382a69e2a951 ("locking/mutex: Fix mutex handoff")
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core

in testcase: boot

on test machine: qemu-system-i386 -enable-kvm -cpu Haswell,+smep,+smap -m 360M

caused below changes:


+------------------------------------------------------------------------+------------+------------+
|                                                                        | 52b94129f2 | e274795ea7 |
+------------------------------------------------------------------------+------------+------------+
| boot_successes                                                         | 840        | 87         |
| boot_failures                                                          | 4          | 132        |
| WARNING:at_arch/x86/include/asm/fpu/internal.h:#fpu__restore           | 2          | 1          |
| invoked_oom-killer:gfp_mask=0x                                         | 2          | 2          |
| Mem-Info                                                               | 2          | 2          |
| WARNING:at_arch/x86/include/asm/fpu/internal.h:#__switch_to            | 0          | 131        |
| WARNING:at_arch/x86/include/asm/fpu/internal.h:#copy_fpregs_to_fpstate | 0          | 131        |
| WARNING:at_arch/x86/include/asm/fpu/internal.h:#copy_kernel_to_fpregs  | 0          | 131        |
| kernel_BUG_at_include/linux/mm.h                                       | 0          | 1          |
| invalid_opcode:#[##]PREEMPT_DEBUG_PAGEALLOC                            | 0          | 1          |
| Kernel_panic-not_syncing:Fatal_exception                               | 0          | 1          |
+------------------------------------------------------------------------+------------+------------+



[    7.744273] Write protecting the kernel text: 21308k
[    7.745224] Write protecting the kernel read-only data: 7016k
[    7.747379] ------------[ cut here ]------------
[    7.748061] WARNING: CPU: 0 PID: 1 at arch/x86/include/asm/fpu/internal.h:348 __switch_to+0x102d/0x1670
[    7.749520] Modules linked in:
[    7.750018] CPU: 0 PID: 1 Comm: init Not tainted 4.10.0-rc3-00137-ge274795 #2
[    7.750923] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    7.752259] Call Trace:
[    7.752692] ---[ end trace 67461e5452e5849e ]---
[    7.774744] random: init: uninitialized urandom read (12 bytes read)
[    7.784423] ------------[ cut here ]------------
[    7.785523] WARNING: CPU: 0 PID: 7 at arch/x86/include/asm/fpu/internal.h:363 __switch_to+0x4bf/0x1670
[    7.787335] Modules linked in:
[    7.787892] CPU: 0 PID: 7 Comm: rcu_preempt Tainted: G        W       4.10.0-rc3-00137-ge274795 #2
[    7.789237] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    7.790671] Call Trace:
[    7.791114] ---[ end trace 67461e5452e5849f ]---
[    7.793802] ------------[ cut here ]------------
[    7.794519] WARNING: CPU: 0 PID: 91 at arch/x86/include/asm/fpu/internal.h:348 copy_fpregs_to_fpstate+0x1dc/0x450
[    7.797175] Modules linked in:
[    7.797758] CPU: 0 PID: 91 Comm: rc.local Tainted: G        W       4.10.0-rc3-00137-ge274795 #2
[    7.799328] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    7.801004] Call Trace:
[    7.801827]  dump_stack+0x32/0x4f
[    7.802789]  __warn+0x222/0x260
[    7.803734]  ? copy_fpregs_to_fpstate+0x1dc/0x450


To reproduce:

        git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/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.10.0-rc3-00137-ge274795" of type "text/plain" (102763 bytes)

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

Download attachment "dmesg.xz" of type "application/octet-stream" (14224 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ