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  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]
Date:	Thu, 30 Jun 2016 09:57:39 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	Vedang Patel <vedang.patel@...el.com>
Cc:	Mark Brown <broonie@...nel.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [lkp] [ASoC]  91c1832579: BUG: unable to handle kernel NULL pointer
 dereference


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 91c1832579700891747820862633f9a8d0d81fa4 ("ASoC: Intel: Skylake: Increase loglevel of debug messages.")

in testcase: boot

on test machine: 1 threads qemu-system-i386 -enable-kvm with 360M memory

caused below changes:


+------------------------------------------------------------+------------+------------+
|                                                            | ef06b6f391 | 91c1832579 |
+------------------------------------------------------------+------------+------------+
| boot_successes                                             | 0          | 0          |
| boot_failures                                              | 14         | 14         |
| genirq:Flags_mismatch_irq##(serial)vs.#(goldfish_pdev_bus) | 14         |            |
| invoked_oom-killer:gfp_mask=0x                             | 1          |            |
| Mem-Info                                                   | 1          |            |
| Out_of_memory:Kill_process                                 | 1          |            |
| backtrace:do_writev                                        | 1          |            |
| backtrace:SyS_writev                                       | 1          |            |
| backtrace:vfs_write                                        | 1          |            |
| backtrace:SyS_write                                        | 1          |            |
| BUG:unable_to_handle_kernel                                | 0          | 14         |
| Oops:#[##]                                                 | 0          | 14         |
| EIP_is_at_strlen                                           | 0          | 14         |
| Kernel_panic-not_syncing:Fatal_exception                   | 0          | 14         |
| backtrace:dynamic_debug_init                               | 0          | 14         |
| backtrace:kernel_init_freeable                             | 0          | 14         |
+------------------------------------------------------------+------------+------------+



[    0.291679] Performance Events: 
[    0.291679] Performance Events: Broken PMU hardware detected, using software events only.
Broken PMU hardware detected, using software events only.
[    0.309122] BUG: unable to handle kernel 
[    0.309122] BUG: unable to handle kernel NULL pointer dereferenceNULL pointer dereference at   (null)
 at   (null)
[    0.310586] IP:
[    0.310586] IP: [<c131a701>] strlen+0xb/0x17
 [<c131a701>] strlen+0xb/0x17
[    0.311438] *pdpt = 0000000000000000 
[    0.311438] *pdpt = 0000000000000000 *pde = f000ff53f000ff53 *pde = f000ff53f000ff53 

[    0.312549] Oops: 0000 [#1]
[    0.312549] Oops: 0000 [#1]
[    0.313064] CPU: 0 PID: 1 Comm: swapper Not tainted 4.7.0-rc1-00046-g91c1832 #1
[    0.313064] CPU: 0 PID: 1 Comm: swapper Not tainted 4.7.0-rc1-00046-g91c1832 #1
[    0.314469] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[    0.314469] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[    0.316115] task: c0058040 ti: c004e000 task.ti: c004e000
[    0.316115] task: c0058040 ti: c004e000 task.ti: c004e000
[    0.317110] EIP: 0060:[<c131a701>] EFLAGS: 00210246 CPU: 0
[    0.317110] EIP: 0060:[<c131a701>] EFLAGS: 00210246 CPU: 0
[    0.318160] EIP is at strlen+0xb/0x17
[    0.318160] EIP is at strlen+0xb/0x17
[    0.318866] EAX: 00000000 EBX: c21facc0 ECX: ffffffff EDX: c20bc808
[    0.318866] EAX: 00000000 EBX: c21facc0 ECX: ffffffff EDX: c20bc808
[    0.320029] ESI: 00000004 EDI: 00000000 EBP: c004ff00 ESP: c004fefc
[    0.320029] ESI: 00000004 EDI: 00000000 EBP: c004ff00 ESP: c004fefc
[    0.321264]  DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[    0.321264]  DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[    0.322264] CR0: 80050033 CR2: 00000000 CR3: 022a1000 CR4: 000006b0
[    0.322264] CR0: 80050033 CR2: 00000000 CR3: 022a1000 CR4: 000006b0
[    0.323471] Stack:
[    0.323471] Stack:
[    0.323861]  0000003a
[    0.323861]  0000003a c004ff2c c004ff2c c2225b46 c2225b46 c20bc808 c20bc808 00000024 00000024 00001aa5 00001aa5 000adc33 000adc33 00000256 00000256

[    0.325492]  c21fac60
[    0.325492]  c21fac60 c2225abd c2225abd ffffffff ffffffff 00000000 00000000 c004ff8c c004ff8c c2201c4f c2201c4f 7fffffff 7fffffff c2250884 c2250884

[    0.327033]  c0058000
[    0.327033]  c0058000 7fffffff 7fffffff c004ff4c c004ff4c c1ad6a4b c1ad6a4b c004ff80 c004ff80 c1ad4825 c1ad4825 00000000 00000000 c1ad61f2 c1ad61f2

[    0.328680] Call Trace:
[    0.328680] Call Trace:
[    0.329134]  [<c2225b46>] dynamic_debug_init+0x89/0x1ee
[    0.329134]  [<c2225b46>] dynamic_debug_init+0x89/0x1ee
[    0.330100]  [<c2225abd>] ? dynamic_debug_init_debugfs+0x5f/0x5f
[    0.330100]  [<c2225abd>] ? dynamic_debug_init_debugfs+0x5f/0x5f
[    0.331237]  [<c2201c4f>] do_one_initcall+0x89/0x112
[    0.331237]  [<c2201c4f>] do_one_initcall+0x89/0x112
[    0.332161]  [<c1ad6a4b>] ? _raw_spin_unlock_irq+0xd/0x15
[    0.332161]  [<c1ad6a4b>] ? _raw_spin_unlock_irq+0xd/0x15
[    0.333158]  [<c1ad4825>] ? __wait_for_common+0xed/0xf7
[    0.333158]  [<c1ad4825>] ? __wait_for_common+0xed/0xf7
[    0.334158]  [<c1ad61f2>] ? console_conditional_schedule+0x24/0x24
[    0.334158]  [<c1ad61f2>] ? console_conditional_schedule+0x24/0x24
[    0.335303]  [<c2201d1e>] kernel_init_freeable+0x46/0x165
[    0.335303]  [<c2201d1e>] kernel_init_freeable+0x46/0x165
[    0.336383]  [<c1ad2e5d>] kernel_init+0x8/0xcb
[    0.336383]  [<c1ad2e5d>] kernel_init+0x8/0xcb
[    0.337209]  [<c1ad6c62>] ret_from_kernel_thread+0xe/0x24
[    0.337209]  [<c1ad6c62>] ret_from_kernel_thread+0xe/0x24
[    0.338236]  [<c1ad2e55>] ? rest_init+0x65/0x65
[    0.338236]  [<c1ad2e55>] ? rest_init+0x65/0x65
[    0.339151] Code:
[    0.339151] Code: 5d 5d c3 c3 55 55 89 89 e5 e5 56 56 89 89 c6 c6 89 89 d0 d0 88 88 c4 c4 ac ac 38 38 e0 e0 74 74 09 09 84 84 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 55 55 83 83 c9 c9 ff ff 89 89 e5 e5 57 57 89 89 c7 c7 31 31 c0 c0 <f2> <f2> ae ae 5f 5f b8 b8 fe fe ff ff ff ff ff ff 29 29 c8 c8 5d 5d c3 c3 85 85 c9 c9 74 74 16 16 55 55 89 89 e5 e5 57 57 89 89

[    0.343525] EIP: [<c131a701>] 
[    0.343525] EIP: [<c131a701>] strlen+0xb/0x17strlen+0xb/0x17 SS:ESP 0068:c004fefc
 SS:ESP 0068:c004fefc
[    0.344739] CR2: 0000000000000000
[    0.344739] CR2: 0000000000000000
[    0.345342] ---[ end trace 04f806a67a86eccc ]---
[    0.345342] ---[ end trace 04f806a67a86eccc ]---


FYI, raw QEMU command line is:

	qemu-system-i386 -enable-kvm -kernel /pkg/linux/i386-randconfig-c0-06280858/gcc-6/91c1832579700891747820862633f9a8d0d81fa4/vmlinuz-4.7.0-rc1-00046-g91c1832 -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-wsx03-quantal-i386-3/rand_boot-1-quantal-core-i386.cgz-i386-randconfig-c0-06280858-91c1832579700891747820862633f9a8d0d81fa4-20160628-92876-1qu8nei-0.yaml ARCH=i386 kconfig=i386-randconfig-c0-06280858 branch=linux-devel/devel-hourly-2016062804 commit=91c1832579700891747820862633f9a8d0d81fa4 BOOT_IMAGE=/pkg/linux/i386-randconfig-c0-06280858/gcc-6/91c1832579700891747820862633f9a8d0d81fa4/vmlinuz-4.7.0-rc1-00046-g91c1832 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-lkp-wsx03-quantal-i386/quantal-core-i386.cgz/i386-randconfig-c0-06280858/gcc-6/91c1832579700891747820862633f9a8d0d81fa4/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw ip=::::vm-lkp-wsx03-quantal-i386-3::dhcp drbd.minor_count=8'  -initrd /fs/sdc1/initrd-vm-lkp-wsx03-quantal-i386-3 -m 360 -smp 1 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -pidfile /dev/shm/kboot/pid-vm-lkp-wsx03-quantal-i386-3 -serial file:/dev/shm/kboot/serial-vm-lkp-wsx03-quantal-i386-3 -daemonize -display none -monitor null 





Thanks,
Xiaolong

View attachment "config-4.7.0-rc1-00046-g91c1832" of type "text/plain" (106501 bytes)

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

Powered by blists - more mailing lists