FYI, we noticed the following commit:
commit: 42ba3863926da95014682f985b9f41826e2f9989 ("UPSTREAM: ASoC: Intel: Skylake:
Increase loglevel of debug messages.")
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-3.18
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 -smp 2 -m 320M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------+------------+------------+
| | f729f15b70 | 42ba386392 |
+------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 6 | 7 |
| INFO:suspicious_RCU_usage | 6 | |
| calltrace:test_rht_init | 6 | |
| BUG:unable_to_handle_kernel | 0 | 7 |
| Oops | 0 | 7 |
| EIP_is_at_strlen | 0 | 7 |
| calltrace:dynamic_debug_init | 0 | 7 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 7 |
+------------------------------------------+------------+------------+
[ 0.111006] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 0.112005] **********************************************************
[ 0.112005] **********************************************************
[ 0.126357] BUG: unable to handle kernel
[ 0.126357] BUG: unable to handle kernel NULL pointer dereferenceNULL pointer
dereference at (null)
at (null)
[ 0.127000] IP:
[ 0.127000] IP: [<88c06ee0>] strlen+0x10/0x20
[<88c06ee0>] strlen+0x10/0x20
[ 0.127000] *pdpt = 0000000000000000
[ 0.127000] *pdpt = 0000000000000000 *pde = f000ff53f000ff53 *pde = f000ff53f000ff53
[ 0.127000] Oops: 0000 [#1]
[ 0.127000] Oops: 0000 [#1]
[ 0.127000] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.0-12613-g42ba386 #2
[ 0.127000] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.0-12613-g42ba386 #2
[ 0.127000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.9.3-20161025_171302-gandalf 04/01/2014
[ 0.127000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.9.3-20161025_171302-gandalf 04/01/2014
[ 0.127000] task: 80068000 ti: 80064000 task.ti: 80064000
[ 0.127000] task: 80068000 ti: 80064000 task.ti: 80064000
[ 0.127000] EIP: 0060:[<88c06ee0>] EFLAGS: 00010246 CPU: 0
[ 0.127000] EIP: 0060:[<88c06ee0>] EFLAGS: 00010246 CPU: 0
[ 0.127000] EIP is at strlen+0x10/0x20
[ 0.127000] EIP is at strlen+0x10/0x20
[ 0.127000] EAX: 00000000 EBX: 00000035 ECX: ffffffff EDX: 8972b902
[ 0.127000] EAX: 00000000 EBX: 00000035 ECX: ffffffff EDX: 8972b902
[ 0.127000] ESI: 00000004 EDI: 00000000 EBP: 80065eec ESP: 80065ee8
[ 0.127000] ESI: 00000004 EDI: 00000000 EBP: 80065eec ESP: 80065ee8
[ 0.127000] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[ 0.127000] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[ 0.127000] CR0: 8005003b CR2: 00000000 CR3: 09a76000 CR4: 000006b0
[ 0.127000] CR0: 8005003b CR2: 00000000 CR3: 09a76000 CR4: 000006b0
[ 0.127000] Stack:
[ 0.127000] Stack:
[ 0.127000] 899bbd40
[ 0.127000] 899bbd40 80065f18 80065f18 899e832e 899e832e 8972b902 8972b902 00000024
00000024 00001034 00001034 0006557f 0006557f 000001d0 000001d0
[ 0.127000] 899bbce0
[ 0.127000] 899bbce0 930bb4e0 930bb4e0 899e829f 899e829f 00000000 00000000 80065f78
80065f78 899c5b90 899c5b90 00000001 00000001 00000046 00000046
[ 0.127000] 89a0f800
[ 0.127000] 89a0f800 89a0f8a4 89a0f8a4 80065f38 80065f38 88a7de7b 88a7de7b 80065f44
80065f44 892eb977 892eb977 7fffffff 7fffffff 80065f7c 80065f7c
[ 0.127000] Call Trace:
[ 0.127000] Call Trace:
[ 0.127000] [<899e832e>] dynamic_debug_init+0x8f/0x207
[ 0.127000] [<899e832e>] dynamic_debug_init+0x8f/0x207
[ 0.127000] [<899e829f>] ? ddebug_setup_query+0x42/0x42
[ 0.127000] [<899e829f>] ? ddebug_setup_query+0x42/0x42
[ 0.127000] [<899c5b90>] do_one_initcall+0xe8/0x16a
[ 0.127000] [<899c5b90>] do_one_initcall+0xe8/0x16a
[ 0.127000] [<88a7de7b>] ? trace_hardirqs_on+0xb/0x10
[ 0.127000] [<88a7de7b>] ? trace_hardirqs_on+0xb/0x10
[ 0.127000] [<892eb977>] ? _raw_spin_unlock_irq+0x27/0x40
[ 0.127000] [<892eb977>] ? _raw_spin_unlock_irq+0x27/0x40
[ 0.127000] [<892e7f8e>] ? wait_for_common+0x4e/0x120
[ 0.127000] [<892e7f8e>] ? wait_for_common+0x4e/0x120
[ 0.127000] [<88a7de7b>] ? trace_hardirqs_on+0xb/0x10
[ 0.127000] [<88a7de7b>] ? trace_hardirqs_on+0xb/0x10
[ 0.127000] [<899c5c5d>] kernel_init_freeable+0x4b/0x166
[ 0.127000] [<899c5c5d>] kernel_init_freeable+0x4b/0x166
[ 0.127000] [<892e8157>] ? wait_for_completion+0x17/0x20
[ 0.127000] [<892e8157>] ? wait_for_completion+0x17/0x20
[ 0.127000] [<899c5c5d>] ? kernel_init_freeable+0x4b/0x166
[ 0.127000] [<899c5c5d>] ? kernel_init_freeable+0x4b/0x166
[ 0.127000] [<892d9c10>] kernel_init+0x10/0xe0
[ 0.127000] [<892d9c10>] kernel_init+0x10/0xe0
[ 0.127000] [<88a6a8c1>] ? schedule_tail+0x11/0x40
[ 0.127000] [<88a6a8c1>] ? schedule_tail+0x11/0x40
[ 0.127000] [<892ec400>] ret_from_kernel_thread+0x20/0x30
[ 0.127000] [<892ec400>] ret_from_kernel_thread+0x20/0x30
[ 0.127000] [<892d9c00>] ? rest_init+0x120/0x120
[ 0.127000] [<892d9c00>] ? rest_init+0x120/0x120
[ 0.127000] Code:
[ 0.127000] Code: c0 c0 75 75 f7 f7 be be 01 01 00 00 00 00 00 00 89 89 f0 f0 48 48 5e
5e 5d 5d c3 c3 8d 8d b6 b6 00 00 00 00 00 00 00 00 8d 8d bc bc 27 27 00 00 00 00 00 00 00
00 55 55 89 89 e5 e5 57 57 e8 e8 57 57 60 60 6e 6e 00 00 83 83 c9 c9 ff ff 89 89 c7 c7 31
31 c0 c0 <f2> <f2> ae ae b8 b8 fe fe ff ff ff ff ff ff 5f 5f 29 29 c8 c8 5d 5d
c3 c3 8d 8d 74 74 26 26 00 00 55 55 89 89 e5 e5 57 57 e8 e8
[ 0.127000] EIP: [<88c06ee0>]
[ 0.127000] EIP: [<88c06ee0>] strlen+0x10/0x20strlen+0x10/0x20 SS:ESP
0068:80065ee8
SS:ESP 0068:80065ee8
[ 0.127000] CR2: 0000000000000000
[ 0.127000] CR2: 0000000000000000
[ 0.127000] ---[ end trace d0bbc1ccede9fe14 ]---
[ 0.127000] ---[ end trace d0bbc1ccede9fe14 ]---
[ 0.127000] Kernel panic - not syncing: Fatal exception
[ 0.127000] Kernel panic - not syncing: Fatal exception
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