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]
Message-ID: <20170917014058.GC30476@yexl-desktop>
Date:   Sun, 17 Sep 2017 09:40:58 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Andy Lutomirski <luto@...nel.org>
Cc:     Linus Torvalds <torvalds@...ux-foundation.org>,
        Dan Carpenter <dan.carpenter@...cle.com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...org
Subject: [lkp-robot] [x86/mm/64]  7898f79654:
 WARNING:at_arch/x86/mm/tlb.c:#initialize_tlbstate_and_flush


FYI, we noticed the following commit:

commit: 7898f79654698dcea5a0876785796de67d527ee7 ("x86/mm/64: Fix an incorrect warning with CONFIG_DEBUG_VM=y, !PCID")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: boot

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

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


+-------------------------------------------------------------+------------+------------+
|                                                             | 4dfc278803 | 7898f79654 |
+-------------------------------------------------------------+------------+------------+
| boot_successes                                              | 8          | 4          |
| boot_failures                                               | 0          | 4          |
| WARNING:at_arch/x86/mm/tlb.c:#initialize_tlbstate_and_flush | 0          | 4          |
| EIP:initialize_tlbstate_and_flush                           | 0          | 4          |
+-------------------------------------------------------------+------------+------------+



[    0.000000] WARNING: CPU: 0 PID: 0 at arch/x86/mm/tlb.c:245 initialize_tlbstate_and_flush+0x49/0xef
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.13.0-10313-g7898f79 #1
[    0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    0.000000] task: b243f600 task.stack: b2436000
[    0.000000] EIP: initialize_tlbstate_and_flush+0x49/0xef
[    0.000000] EFLAGS: 00210046 CPU: 0
[    0.000000] EAX: 00040690 EBX: b25a57e0 ECX: 00000080 EDX: 00000002
[    0.000000] ESI: 00000000 EDI: 00000000 EBP: b2437f60 ESP: b2437f50
[    0.000000]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[    0.000000] CR0: 80050033 CR2: 00000000 CR3: 0277a000 CR4: 00040690
[    0.000000] Call Trace:
[    0.000000]  cpu_init+0x98/0x17b
[    0.000000]  ? __native_set_fixmap+0x21/0x2a
[    0.000000]  trap_init+0x38/0x40
[    0.000000]  start_kernel+0x1f6/0x399
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x166
[    0.000000] Code: c5 42 b2 89 45 f0 8b 43 20 e8 3d fa ff ff 3b 45 f0 74 02 0f ff a1 a0 7d 6b b2 0f ba e0 11 73 0d a1 c8 3c 45 b2 0f ba e0 11 72 02 <0f> ff 8b 45 f0 ff 15 2c c5 42 b2 66 c7 05 c4 3c 45 b2 00 00 66
[    0.000000] ---[ end trace be658dd14e22cef1 ]---


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.13.0-10313-g7898f79" of type "text/plain" (112261 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ