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: <20161011021813.GA8647@yexl-desktop>
Date:   Tue, 11 Oct 2016 10:18:13 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Rob Herring <robh@...nel.org>
Cc:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Arnd Bergmann <arnd@...db.de>,
        LKML <linux-kernel@...r.kernel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>, lkp@...org
Subject: [lkp] [driver core]  bea5b158ff: kobject (922508b4): tried to init
 an initialized object


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit bea5b158ff0da9c7246ff391f754f5f38e34577a ("driver core: add test of driver remove calls during probe")

in testcase: trinity
with following parameters:

	runtime: 300s


Trinity is a linux system call fuzz tester.


on test machine: qemu-system-i386 -enable-kvm -smp 2 -m 320M

caused below changes:


+------------------------------------------+------------+------------+
|                                          | cebf8fd169 | bea5b158ff |
+------------------------------------------+------------+------------+
| boot_successes                           | 66         | 9          |
| boot_failures                            | 0          | 14         |
| calltrace:init                           | 0          | 14         |
| BUG:unable_to_handle_kernel              | 0          | 13         |
| Oops                                     | 0          | 14         |
| EIP_is_at_kobject_get                    | 0          | 9          |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 14         |
| EIP_is_at_cmos_alarm_irq_enable          | 0          | 5          |
| calltrace:rtc_timer_do_work              | 0          | 5          |
+------------------------------------------+------------+------------+



[   86.913997] hub 1-0:1.0: 1 port detected
[   86.939210] kobject (922508b4): tried to init an initialized object, something is seriously wrong.
[   86.963866] CPU: 0 PID: 1 Comm: swapper Not tainted 4.8.0-rc4-00003-gbea5b15 #2
[   86.981948] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   86.998513]  922508b4 922508b4 80031d20 8c7b56c9 80031d3c 8c7b7dd3 8d4316d4 922508b4
[   87.011599]  92250868 8d5b8c6c 922508ac 80031d4c 8c983cce 92250868 922508ac 80031d58
[   87.025144]  8c9844bb 92250868 80031d84 8caf3c1d 00000000 8d463eac 00000000 8004f6b0
[   87.039181] Call Trace:
[   87.045925] hub 1-0:1.0: activate --> -113
[   87.054308]  [<8c7b56c9>] dump_stack+0x16/0x1d
[   87.061221]  [<8c7b7dd3>] kobject_init+0x73/0x80
[   87.069607]  [<8c983cce>] device_initialize+0x1e/0xe0
[   87.078555]  [<8c9844bb>] device_register+0xb/0x20
[   87.085778]  [<8caf3c1d>] usb_add_gadget_udc_release+0x8d/0x270
[   87.095048]  [<8caf3e9a>] usb_add_gadget_udc+0xa/0x10
[   87.103629]  [<8caf775e>] dummy_udc_probe+0x14e/0x1a0
[   87.111472]  [<8c989781>] platform_drv_probe+0x31/0x90
[   87.118765]  [<8c9875aa>] ? driver_sysfs_add+0x6a/0x90
[   87.125607]  [<8c987e3a>] driver_probe_device+0x12a/0x490
[   87.132450]  [<8c8bc39b>] ? acpi_driver_match_device+0x36/0x50
[   87.140188]  [<8c988307>] __device_attach_driver+0x77/0x110
[   87.147841]  [<8d09712d>] ? klist_next+0x6d/0x10c
[   87.154259]  [<8c988290>] ? __driver_attach+0xf0/0xf0
[   87.160991]  [<8c9864f7>] bus_for_each_drv+0x47/0x80
[   87.167830]  [<8c987b85>] __device_attach+0xb5/0x130
[   87.174578]  [<8c988290>] ? __driver_attach+0xf0/0xf0
[   87.181276]  [<8c9883cd>] device_initial_probe+0xd/0x10
[   87.188316]  [<8c986787>] bus_probe_device+0x77/0x80
[   87.195082]  [<8c98417e>] device_add+0x34e/0x5a0
[   87.201236]  [<8c7c4840>] ? kvasprintf_const+0x40/0x90
[   87.208206]  [<8c7b7d1b>] ? kobject_set_name_vargs+0x6b/0x90
[   87.215924]  [<8c989e6c>] platform_device_add+0xfc/0x280
[   87.222985]  [<8d6d0b84>] init+0x20b/0x2ec
[   87.228620]  [<8d6d0979>] ? usb_udc_init+0x3f/0x3f
[   87.235201]  [<8d696c1d>] do_one_initcall+0x7c/0xfb
[   87.241716]  [<8d696d5e>] ? kernel_init_freeable+0xc2/0x15e
[   87.249468]  [<8d696d81>] kernel_init_freeable+0xe5/0x15e
[   87.257858]  [<8d0974fb>] kernel_init+0xb/0x100
[   87.266182]  [<8c4c727c>] ? schedule_tail+0xc/0x50
[   87.276843]  [<8d0a1942>] ret_from_kernel_thread+0xe/0x24
[   87.288157]  [<8d0974f0>] ? rest_init+0x110/0x110
[   87.304817] BUG: unable to handle kernel paging request at 91de0a00
[   87.320269] IP: [<8c578f51>] slob_page_alloc+0x51/0x310
[   87.327793] *pdpt = 000000000d74c001 *pde = 0000000013be9067 *pte = 0000000011de0060 
[   87.338640] Oops: 0000 [#1] DEBUG_PAGEALLOC
[   87.344191] CPU: 0 PID: 1 Comm: swapper Not tainted 4.8.0-rc4-00003-gbea5b15 #2
[   87.358120] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   87.378699] task: 80024000 task.stack: 80030000
[   87.389296] EIP: 0060:[<8c578f51>] EFLAGS: 00210006 CPU: 0
[   87.402162] EIP is at slob_page_alloc+0x51/0x310
[   87.412986] EAX: 91de0a00 EBX: 91ddf000 ECX: 00000008 EDX: 00000d00
[   87.427438] ESI: 00000000 EDI: 0000000a EBP: 80031cd0 ESP: 80031ca8
[   87.440526]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[   87.448497] CR0: 80050033 CR2: 91de0a00 CR3: 0d750000 CR4: 000006b0
[   87.457803] Stack:
[   87.460947]  00000015 939de35c fffffff8 00000007 91ddfa08 91ddfa08 0000000a 939de35c
[   87.473905]  8d574470 0000000a 80031cf8 8c5797fb 8d574470 00200296 00000008 024000c0
[   87.486679]  00000014 024000c0 0000000c 0000000c 80031d08 8c5799ef 0000000b 91ddf2c8
[   87.499706] Call Trace:
[   87.503621]  [<8c5797fb>] slob_alloc+0x13b/0x210
[   87.510784]  [<8c5799ef>] __kmalloc_track_caller+0x7f/0xa0
[   87.519181]  [<8c5536cf>] kstrdup+0x2f/0xb0
[   87.525696]  [<8c553768>] kstrdup_const+0x18/0x20
[   87.533311]  [<8c7c4859>] kvasprintf_const+0x59/0x90
[   87.538822]  [<8c7b7cd4>] kobject_set_name_vargs+0x24/0x90
[   87.544773]  [<8c983dd4>] dev_set_name+0x14/0x20
[   87.549153]  [<8caf3c8c>] usb_add_gadget_udc_release+0xfc/0x270
[   87.554851]  [<8caf3e9a>] usb_add_gadget_udc+0xa/0x10
[   87.559585]  [<8caf775e>] dummy_udc_probe+0x14e/0x1a0
[   87.564479]  [<8c989781>] platform_drv_probe+0x31/0x90
[   87.569308]  [<8c9875aa>] ? driver_sysfs_add+0x6a/0x90
[   87.574823]  [<8c987e3a>] driver_probe_device+0x12a/0x490
[   87.579875]  [<8c8bc39b>] ? acpi_driver_match_device+0x36/0x50
[   87.586389]  [<8c988307>] __device_attach_driver+0x77/0x110
[   87.594488]  [<8d09712d>] ? klist_next+0x6d/0x10c
[   87.601202]  [<8c988290>] ? __driver_attach+0xf0/0xf0
[   87.608297]  [<8c9864f7>] bus_for_each_drv+0x47/0x80
[   87.616395]  [<8c987b85>] __device_attach+0xb5/0x130
[   87.625172]  [<8c988290>] ? __driver_attach+0xf0/0xf0
[   87.636129]  [<8c9883cd>] device_initial_probe+0xd/0x10
[   87.644983]  [<8c986787>] bus_probe_device+0x77/0x80
[   87.652080]  [<8c98417e>] device_add+0x34e/0x5a0
[   87.658976]  [<8c7c4840>] ? kvasprintf_const+0x40/0x90
[   87.666201]  [<8c7b7d1b>] ? kobject_set_name_vargs+0x6b/0x90
[   87.674180]  [<8c989e6c>] platform_device_add+0xfc/0x280
[   87.681915]  [<8d6d0b84>] init+0x20b/0x2ec
[   87.687878]  [<8d6d0979>] ? usb_udc_init+0x3f/0x3f
[   87.694595]  [<8d696c1d>] do_one_initcall+0x7c/0xfb
[   87.701597]  [<8d696d5e>] ? kernel_init_freeable+0xc2/0x15e
[   87.709504]  [<8d696d81>] kernel_init_freeable+0xe5/0x15e
[   87.717145]  [<8d0974fb>] kernel_init+0xb/0x100
[   87.723464]  [<8c4c727c>] ? schedule_tail+0xc/0x50
[   87.730273]  [<8d0a1942>] ret_from_kernel_thread+0xe/0x24
[   87.737882]  [<8d0974f0>] ? rest_init+0x110/0x110
[   87.744784] Code: c7 45 e8 00 00 00 00 c7 45 ec 00 00 00 00 89 7d e0 eb 18 8d b4 26 00 00 00 00 0f bf 50 02 89 45 ec 8d 04 53 a9 fe 0f 00 00 74 47 <0f> bf 10 85 d2 0f bf da 7e 4d 85 c9 74 12 8b 7d e4 8d 34 07 8b
[   87.782796] EIP: [<8c578f51>] slob_page_alloc+0x51/0x310 SS:ESP 0068:80031ca8
[   87.792812] CR2: 0000000091de0a00
[   87.797386] ---[ end trace 2cbfe4328fe5aef9 ]---
[   87.804184] 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 install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Kernel Test Robot

View attachment "config-4.8.0-rc4-00003-gbea5b15" of type "text/plain" (99523 bytes)

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

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

View attachment "job.yaml" of type "text/plain" (2966 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ