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:	Wed, 10 Aug 2016 21:31:25 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	Nobuo Iwata <nobuo.iwata@...ixerox.co.jp>
Cc:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	LKML <linux-kernel@...r.kernel.org>, linux-usb@...r.kernel.org,
	lkp@...org
Subject: [lkp] [usbip]  0775a9cbc6: BUG: key ffff880037504d18 not in .data!


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
commit 0775a9cbc694e8c7276688be3bbd2f386167ab54 ("usbip: vhci extension: modifications to vhci driver")

in testcase: boot

on test machine: 1 threads qemu-system-x86_64 -enable-kvm -cpu Westmere with 512M memory

caused below changes:


+-------------------------------------------------------+------------+------------+
|                                                       | 0573f2c519 | 0775a9cbc6 |
+-------------------------------------------------------+------------+------------+
| boot_successes                                        | 6          | 0          |
| boot_failures                                         | 1          | 16         |
| WARNING:at_kernel/trace/ftrace.c:#ftrace_bug          | 1          |            |
| general_protection_fault:#[##]SMP                     | 1          |            |
| RIP:is_ftrace_trampoline                              | 1          |            |
| Kernel_panic-not_syncing:Fatal_exception              | 1          |            |
| backtrace:perf_ftrace_event_register                  | 1          |            |
| backtrace:perf_trace_init                             | 1          |            |
| backtrace:perf_tp_event_init                          | 1          |            |
| backtrace:perf_try_init_event                         | 1          |            |
| backtrace:SYSC_perf_event_open                        | 1          |            |
| backtrace:SyS_perf_event_open                         | 1          |            |
| BUG:key#not_in.data                                   | 0          | 16         |
| WARNING:at_kernel/locking/lockdep.c:#lockdep_init_map | 0          | 16         |
| backtrace:lockdep_init_map                            | 0          | 16         |
| backtrace:platform_device_register_full               | 0          | 16         |
| backtrace:vhci_hcd_init                               | 0          | 16         |
| backtrace:kernel_init_freeable                        | 0          | 16         |
| backtrace:ret_from_fork                               | 0          | 16         |
+-------------------------------------------------------+------------+------------+



[   16.498959] usbip_core: USB/IP Core v1.0.0
[   16.500664] vhci_hcd vhci_hcd: USB/IP Virtual Host Controller
[   16.502819] vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 1
[   16.504482] BUG: key ffff880037504d18 not in .data!
[   16.505612] ------------[ cut here ]------------
[   16.506734] WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:3131 lockdep_init_map+0x11c/0x1c6
[   16.509217] DEBUG_LOCKS_WARN_ON(1)
[   16.509744] Modules linked in:
[   16.520111] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.8.0-rc1-00013-g0775a9c #50
[   16.522204] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   16.524385]  0000000000000000 ffff88003d4aba20 ffffffff8178d6f7 ffff88003d4aba70
[   16.526646]  0000000000000000 ffff88003d4aba60 ffffffff810e5cd8 00000c3b3d4abad8
[   16.528945]  ffff8800375c93d0 ffff880037504d18 0000000000000000 0000000000001000
[   16.531213] Call Trace:
[   16.550170]  [<ffffffff8178d6f7>] dump_stack+0x82/0xb8
[   16.551426]  [<ffffffff810e5cd8>] __warn+0xc2/0xdd
[   16.552633]  [<ffffffff810e5d3e>] warn_slowpath_fmt+0x4b/0x53
[   16.554066]  [<ffffffff811224be>] lockdep_init_map+0x11c/0x1c6
[   16.555506]  [<ffffffff8128e5dd>] __kernfs_create_file+0x7a/0xc9
[   16.556944]  [<ffffffff8128edbe>] sysfs_add_file_mode_ns+0xcf/0x176
[   16.559709]  [<ffffffff8128f822>] internal_create_group+0x18f/0x268
[   16.561257]  [<ffffffff8265223e>] ? vhci_urb_dequeue+0x20f/0x20f
[   16.575935]  [<ffffffff8128f90e>] sysfs_create_group+0x13/0x15
[   16.577369]  [<ffffffff82651ff8>] vhci_start+0x187/0x1be
[   16.578510]  [<ffffffff8259ca61>] usb_add_hcd+0x416/0x787
[   16.579743]  [<ffffffff826518f4>] vhci_hcd_probe+0x56/0x7a
[   16.581189]  [<ffffffff81bef706>] platform_drv_probe+0x3a/0x7d
[   16.582659]  [<ffffffff81bedc81>] driver_probe_device+0x113/0x25c
[   16.583999]  [<ffffffff81bedf03>] __device_attach_driver+0x85/0x8c
[   16.585444]  [<ffffffff81bede7e>] ? driver_allows_async_probing+0x2e/0x2e
[   16.587050]  [<ffffffff81bec18a>] bus_for_each_drv+0x7b/0x8a
[   16.588491]  [<ffffffff81bedae2>] __device_attach+0x93/0xf2
[   16.600248]  [<ffffffff81bee062>] device_initial_probe+0x13/0x15
[   16.601568]  [<ffffffff81bed081>] bus_probe_device+0x33/0x9e
[   16.602774]  [<ffffffff81beb557>] device_add+0x405/0x505
[   16.604140]  [<ffffffff846337ca>] ? set_debug_rodata+0x12/0x12
[   16.605510]  [<ffffffff81bef562>] platform_device_add+0x141/0x1a1
[   16.606855]  [<ffffffff846337ca>] ? set_debug_rodata+0x12/0x12
[   16.616572]  [<ffffffff81befd45>] platform_device_register_full+0xb3/0x109
[   16.618196]  [<ffffffff846c2ef7>] vhci_hcd_init+0xb7/0x10b
[   16.619560]  [<ffffffff846c2e40>] ? usbip_core_init+0x17/0x17
[   16.620666]  [<ffffffff810021b0>] do_one_initcall+0x90/0x11f
[   16.621758]  [<ffffffff846337ca>] ? set_debug_rodata+0x12/0x12
[   16.622945]  [<ffffffff84634120>] kernel_init_freeable+0x1c6/0x253
[   16.624372]  [<ffffffff82eebc42>] kernel_init+0xe/0xf5
[   16.625574]  [<ffffffff82ef7e2f>] ret_from_fork+0x1f/0x40
[   16.626664]  [<ffffffff82eebc34>] ? rest_init+0x13b/0x13b
[   16.627950] ---[ end trace e6c74b51955435b8 ]---
[   16.629236] vhci_hcd: created sysfs vhci_hcd


FYI, raw QEMU command line is:

	qemu-system-x86_64 -enable-kvm -cpu Westmere -kernel /pkg/linux/x86_64-allyesdebian/gcc-6/0775a9cbc694e8c7276688be3bbd2f386167ab54/vmlinuz-4.8.0-rc1-00013-g0775a9c -append 'ip=::::vm-kbuild-yocto-ia32-18::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-yocto-ia32-18/boot-1-yocto-minimal-i386.cgz-0775a9cbc694e8c7276688be3bbd2f386167ab54-20160810-39555-k83u07-0.yaml ARCH=x86_64 kconfig=x86_64-allyesdebian branch=linux-devel/devel-catchup-201608092309 commit=0775a9cbc694e8c7276688be3bbd2f386167ab54 BOOT_IMAGE=/pkg/linux/x86_64-allyesdebian/gcc-6/0775a9cbc694e8c7276688be3bbd2f386167ab54/vmlinuz-4.8.0-rc1-00013-g0775a9c max_uptime=600 RESULT_ROOT=/result/boot/1/vm-kbuild-yocto-ia32/yocto-minimal-i386.cgz/x86_64-allyesdebian/gcc-6/0775a9cbc694e8c7276688be3bbd2f386167ab54/0 LKP_SERVER=inn 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 systemd.log_level=err ignore_loglevel earlyprintk=ttyS0,115200 console=ttyS0,115200 console=tty0 vga=normal rw'  -initrd /fs/sdd1/initrd-vm-kbuild-yocto-ia32-18 -m 1024 -smp 1 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -watchdog-action debug -rtc base=localtime -drive file=/fs/sdd1/disk0-vm-kbuild-yocto-ia32-18,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-kbuild-yocto-ia32-18 -serial file:/dev/shm/kboot/serial-vm-kbuild-yocto-ia32-18 -daemonize -display none -monitor null 





Thanks,
Xiaolong

View attachment "config-4.8.0-rc1-00013-g0775a9c" of type "text/plain" (154343 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ