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]
Date:   Sun, 10 Sep 2017 22:29:56 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Andy Lutomirski <luto@...nel.org>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Andy Lutomirski <luto@...capital.net>, lkp@...org
Subject: [lkp-robot] [x86/asm/64]  74cc41d3b6: BUG:unable_to_handle_kernel


FYI, we noticed the following commit:

commit: 74cc41d3b6a99fa2caa4e4edc82efea4d13b8d55 ("x86/asm/64: Remove all remaining direct thread_struct::sp0 reads")
https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git x86/entry_consolidation

in testcase: trinity
with following parameters:

	runtime: 300s

test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/


on test machine: qemu-system-i386 -enable-kvm -m 256M

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


+------------------------------------------+------------+------------+
|                                          | 09fc4173ee | 74cc41d3b6 |
+------------------------------------------+------------+------------+
| boot_successes                           | 6          | 2          |
| boot_failures                            | 0          | 8          |
| BUG:unable_to_handle_kernel              | 0          | 8          |
| Oops:#[##]                               | 0          | 8          |
| EIP:__switch_to                          | 0          | 8          |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 8          |
+------------------------------------------+------------+------------+



[    0.318080] BUG: unable to handle kernel paging request at 8f2b0258
[    0.318845] IP: __switch_to+0x202/0x483
[    0.319000] *pde = 0f7d2067 
[    0.319000] *pte = 0f2b0060 
[    0.319000] 
[    0.319000] Oops: 0000 [#1] DEBUG_PAGEALLOC
[    0.319000] Modules linked in:
[    0.319000] CPU: 0 PID: 19 Comm: watchdogd Not tainted 4.13.0-rc4-00146-g74cc41d #1
[    0.319000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    0.319000] task: 8f2a8040 task.stack: 8f29e000
[    0.319000] EIP: __switch_to+0x202/0x483
[    0.319000] EFLAGS: 00210046 CPU: 0
[    0.319000] EAX: 8f2aee40 EBX: 00000000 ECX: 00000000 EDX: 00000000
[    0.319000] ESI: 8f2aee40 EDI: 8f2a8a40 EBP: 8f2a5fa4 ESP: 8f2a5f80
[    0.319000]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[    0.319000] CR0: 80050033 CR2: 000000a0 CR3: 02007000 CR4: 00000690
[    0.319000] Call Trace:
[    0.319000] Code: 00 31 c9 b8 f8 4a ed 81 89 da e8 76 6a 09 00 85 db 58 74 0f 8b 45 ec b9 80 0e de 81 89 f2 e8 07 72 00 00 89 f0 8d b6 00 00 00 00 <8b> 86 18 14 00 00 e8 43 93 01 00 90 66 a1 90 0e de 81 0f b7 c0
[    0.319000] EIP: __switch_to+0x202/0x483 SS:ESP: 0068:8f2a5f80
[    0.319000] CR2: 000000008f2b0258
[    0.319000] ---[ end trace 69022ea50e23af3d ]---


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-rc4-00146-g74cc41d" of type "text/plain" (107632 bytes)

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

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

Powered by blists - more mailing lists