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: <20200629003127.GB5535@shao2-debian>
Date:   Mon, 29 Jun 2020 08:31:27 +0800
From:   kernel test robot <lkp@...el.com>
To:     Steven Rostedt <rostedt@...dmis.org>
Cc:     Peter Zijlstra <peterz@...radead.org>,
        LKML <linux-kernel@...r.kernel.org>, x86@...nel.org,
        lkp@...ts.01.org
Subject: [sched] c3a340f7e7: invalid_opcode:#[##]

Greeting,

FYI, we noticed the following commit (built with gcc-4.9):

commit: c3a340f7e7eadac7662ab104ceb16432e5a4c6b2 ("sched: Have sched_class_highest define by vmlinux.lds.h")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git sched/core

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-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G

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


+------------------------------------------+------------+------------+
|                                          | 590d697963 | c3a340f7e7 |
+------------------------------------------+------------+------------+
| boot_successes                           | 4          | 0          |
| boot_failures                            | 0          | 4          |
| invalid_opcode:#[##]                     | 0          | 4          |
| EIP:sched_init                           | 0          | 4          |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 4          |
| kernel_BUG_at_kernel/sched/core.c        | 0          | 4          |
+------------------------------------------+------------+------------+


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>


[    1.813939] ** If you see this message and you are not debugging    **
[    1.814781] ** the kernel, report this immediately to your vendor!  **
[    1.815661] **                                                      **
[    1.816509] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
[    1.817362] **********************************************************
[    1.820914] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC
[    1.821634] CPU: 0 PID: 0 Comm: swapper Not tainted 5.8.0-rc1-00024-gc3a340f7e7ead #2
[    1.822630] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[    1.823710] EIP: sched_init+0x3d/0x2fb
[    1.824191] Code: 20 a6 e5 c1 3d 40 a6 e5 c1 0f 95 c0 08 c2 75 1a b8 a0 a6 e5 c1 3d c0 a6 e5 c1 75 0e b8 20 a7 e5 c1 3d 40 a7 e5 c1 74 04 0f 0b <0f> 0b 55 89 e5 57 56 53 83 ec 08 e8 67 04 00 00 8b 3d 80 ad ec c1
[    1.826607] EAX: c1e5a601 EBX: c1dac484 ECX: 00000000 EDX: 00000001
[    1.827434] ESI: 00000000 EDI: 000003f8 EBP: c1e93f9c ESP: c1e93f78
[    1.828241] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00210002
[    1.829112] CR0: 80050033 CR2: ffc70000 CR3: 021ce000 CR4: 00000690
[    1.829919] Call Trace:
[    1.830240]  ? start_kernel+0x43f/0x677
[    1.830738]  i386_start_kernel+0x48/0x4a
[    1.831261]  startup_32_smp+0x15f/0x164
[    1.831757] Modules linked in:
[    1.832165] ---[ end trace db9d28bea02c9e7f ]---
[    1.832761] EIP: sched_init+0x3d/0x2fb
[    1.833243] Code: 20 a6 e5 c1 3d 40 a6 e5 c1 0f 95 c0 08 c2 75 1a b8 a0 a6 e5 c1 3d c0 a6 e5 c1 75 0e b8 20 a7 e5 c1 3d 40 a7 e5 c1 74 04 0f 0b <0f> 0b 55 89 e5 57 56 53 83 ec 08 e8 67 04 00 00 8b 3d 80 ad ec c1
[    1.835656] EAX: c1e5a601 EBX: c1dac484 ECX: 00000000 EDX: 00000001
[    1.836463] ESI: 00000000 EDI: 000003f8 EBP: c1e93f9c ESP: c1e93f78
[    1.838603] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00210002
[    1.839496] CR0: 80050033 CR2: ffc70000 CR3: 021ce000 CR4: 00000690
[    1.840300] Kernel panic - not syncing: Fatal exception
[    1.840969] ------------[ cut here ]------------
[    1.840970] kernel BUG at kernel/sched/core.c:6652!

Elapsed time: 60

qemu-img create -f qcow2 disk-vm-snb-94-0 256G
qemu-img create -f qcow2 disk-vm-snb-94-1 256G


To reproduce:

        # build kernel
	cd linux
	cp config-5.8.0-rc1-00024-gc3a340f7e7ead .config
	make HOSTCC=gcc-4.9 CC=gcc-4.9 ARCH=i386 olddefconfig prepare modules_prepare bzImage

        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,
lkp


View attachment "config-5.8.0-rc1-00024-gc3a340f7e7ead" of type "text/plain" (143197 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ