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: <20161107022628.GA21529@yexl-desktop>
Date:   Mon, 7 Nov 2016 10:26:28 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Raju Lakkaraju <Raju.Lakkaraju@...rosemi.com>
Cc:     "David S. Miller" <davem@...emloft.net>,
        "Allan W. Nielsen" <allan.nielsen@...rosemi.com>,
        Andrew Lunn <andrew@...n.ch>,
        LKML <linux-kernel@...r.kernel.org>, netdev@...r.kernel.org,
        lkp@...org
Subject: [lkp] [net]  af1fee9821: BUG:spinlock_trylock_failure_on_UP_on_CPU


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
commit af1fee98219992ba2c12441a447719652ed7e983 ("net: phy: Add support for Microsemi VSC 8530/40 Fast Ethernet PHY")

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G

caused below changes:


+-------------------------------------------------------+------------+------------+
|                                                       | 32ab0a38f0 | af1fee9821 |
+-------------------------------------------------------+------------+------------+
| boot_successes                                        | 0          | 0          |
| boot_failures                                         | 8          | 8          |
| calltrace:init                                        | 8          | 7          |
| BUG:key_not_in.data                                   | 6          |            |
| WARNING:at_kernel/locking/lockdep.c:#lockdep_init_map | 6          |            |
| calltrace:vhci_hcd_init                               | 6          |            |
| invalid_opcode:#[##]PREEMPT_DEBUG_PAGEALLOC           | 2          | 1          |
| RIP:__brk_base                                        | 2          | 1          |
| calltrace:eth_driver_init                             | 2          | 7          |
| Kernel_panic-not_syncing:Fatal_exception              | 2          | 1          |
| BUG:spinlock_trylock_failure_on_UP_on_CPU             | 0          | 6          |
| BUG:workqueue_lockup-pool                             | 0          | 1          |
+-------------------------------------------------------+------------+------------+



[   35.319526] udc dummy_udc.0: releasing 'dummy_udc.0'
[   35.320910] kobject (ffff88011b574f78): tried to init an initialized object, something is seriously wrong.
[   35.323437] CPU: 0 PID: 1 Comm: swapper Not tainted 4.8.0-14895-gaf1fee9 #1
[   35.325381] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   35.327617]  ffff88013a89fb88 ffffffff812cb0fe ffff88013a89fba8 ffffffff812cd41b
[   35.329817]  ffff88011b574f68 ffff88011b574ed8 ffff88013a89fbc0 ffffffff8144faf5
[   35.331831]  ffff88011b574f68 ffff88013a89fbd8 ffffffff81450353 ffff88011cbad800
[   35.333751] Call Trace:
[   35.334663]  [<ffffffff812cb0fe>] dump_stack+0x19/0x1b
[   35.335980]  [<ffffffff812cd41b>] kobject_init+0x31/0x7f
[   35.337316]  [<ffffffff8144faf5>] device_initialize+0x23/0xd2
[   35.338931]  [<ffffffff81450353>] device_register+0xd/0x18
[   35.340289]  [<ffffffff818847ec>] usb_add_gadget_udc_release+0xcf/0x2cb
[   35.342138]  [<ffffffff81884a61>] usb_add_gadget_udc+0xb/0xd
[   35.343535]  [<ffffffff81887815>] dummy_udc_probe+0x1a4/0x1e5
[   35.345019]  [<ffffffff81454c94>] platform_drv_probe+0x23/0x4e
[   35.346517]  [<ffffffff8145393d>] driver_probe_device+0x1b7/0x40e
[   35.348388]  [<ffffffff81453d0c>] __device_attach_driver+0x90/0xd0
[   35.349979]  [<ffffffff81453c7c>] ? driver_allows_async_probing+0xd/0xd
[   35.351742]  [<ffffffff814521a5>] bus_for_each_drv+0x76/0x85
[   35.353120]  [<ffffffff81453657>] __device_attach+0x89/0xe7
[   35.354639]  [<ffffffff81453e5c>] device_initial_probe+0xe/0x10
[   35.356082]  [<ffffffff8145237b>] bus_probe_device+0x2e/0x99
[   35.357471]  [<ffffffff81450250>] device_add+0x3f4/0x4ea
[   35.358999]  [<ffffffff814552b4>] platform_device_add+0x174/0x1d4
[   35.360477]  [<ffffffff82d8aaf0>] init+0x26e/0x36c
[   35.361869]  [<ffffffff82d8a882>] ? trace_event_define_fields_udc_log_req+0x205/0x205
[   35.363766]  [<ffffffff82d368d4>] ? set_debug_rodata+0x12/0x12
[   35.365211]  [<ffffffff82d3706e>] do_one_initcall+0x89/0x149
[   35.366649]  [<ffffffff82d368d4>] ? set_debug_rodata+0x12/0x12
[   35.368293]  [<ffffffff82d3724b>] kernel_init_freeable+0x11d/0x1a0
[   35.369774]  [<ffffffff81dfa235>] ? rest_init+0x12c/0x12c
[   35.371303]  [<ffffffff81dfa23e>] kernel_init+0x9/0xeb
[   35.372561]  [<ffffffff81e0a8ca>] ret_from_fork+0x2a/0x40
[   35.375486] userial_init: registered 4 ttyGS* devices
[   35.376616] udc dummy_udc.0: registering UDC driver [g_ether]
[   35.378200] using random self ethernet address
[   35.379189] using random host ethernet address
[   35.380273] g_ether gadget: adding config #1 'CDC Ethernet (ECM)'/ffffffff82af89c0
[   35.382209] g_ether gadget: adding 'cdc_ethernet'/ffff88011b57fa00 to config 'CDC Ethernet (ECM)'/ffffffff82af89c0
[   35.385445] BUG: spinlock trylock failure on UP on CPU#0, swapper/1
[   35.386973]  lock: 0xffff88011d52cd00, .magic: 00000000, .owner: <none>/-1, .owner_cpu: -1
[   35.389161] CPU: 0 PID: 1 Comm: swapper Not tainted 4.8.0-14895-gaf1fee9 #1
[   35.390818] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   35.392828]  ffff88013a89fb40 ffffffff812cb0fe ffff88013a89fb60 ffffffff810d6b77
[   35.395074]  ffff88011d52cd00 0000000000000000 ffff88013a89fb80 ffffffff810d6ba2
[   35.396910]  ffff88011d52cd00 ffffffff8248818a ffff88013a89fba8 ffffffff810d6e0b
[   35.398924] Call Trace:
[   35.399507]  [<ffffffff812cb0fe>] dump_stack+0x19/0x1b
[   35.400712]  [<ffffffff810d6b77>] spin_dump+0x7f/0x84
[   35.402103]  [<ffffffff810d6ba2>] spin_bug+0x26/0x28
[   35.403239]  [<ffffffff810d6e0b>] do_raw_spin_trylock+0x5f/0x69
[   35.404688]  [<ffffffff81e09926>] _raw_spin_lock+0x36/0x64
[   35.405992]  [<ffffffff81df92a4>] ? klist_add_tail+0x20/0x4b
[   35.407241]  [<ffffffff81df92a4>] klist_add_tail+0x20/0x4b
[   35.408619]  [<ffffffff8145026c>] device_add+0x410/0x4ea
[   35.409727]  [<ffffffff810d6c1e>] ? __raw_spin_lock_init+0x2e/0x4c
[   35.411208]  [<ffffffff81b6a372>] netdev_register_kobject+0x8f/0x12b
[   35.412672]  [<ffffffff81b4f777>] register_netdevice+0x3f2/0x5e5
[   35.414163]  [<ffffffff81b4f981>] register_netdev+0x17/0x24
[   35.415715]  [<ffffffff818ac9c2>] gether_register_netdev+0x30/0xf3
[   35.417192]  [<ffffffff818ad8c2>] ecm_bind+0x70/0x360
[   35.418752]  [<ffffffff8187ead2>] usb_add_function+0xae/0x19f
[   35.420120]  [<ffffffff818b43f6>] eth_do_config+0x10f/0x145
[   35.421747]  [<ffffffff818b42e7>] ? eth_bind+0x27f/0x27f
[   35.423037]  [<ffffffff8187ed7c>] usb_add_config+0x68/0x25a
[   35.424365]  [<ffffffff818b41ec>] eth_bind+0x184/0x27f
[   35.425631]  [<ffffffff8187f607>] composite_bind+0x99/0x182
[   35.427003]  [<ffffffff82d368d4>] ? set_debug_rodata+0x12/0x12
[   35.428581]  [<ffffffff81883c80>] udc_bind_to_driver+0x53/0xe8
[   35.430029]  [<ffffffff81884c5c>] usb_gadget_probe_driver+0x121/0x13b
[   35.431559]  [<ffffffff82d8ad5c>] ? ffsmod_init+0x12/0x12
[   35.432849]  [<ffffffff8187f78b>] usb_composite_probe+0x9b/0x9d
[   35.434414]  [<ffffffff82d8ad6c>] eth_driver_init+0x10/0x12
[   35.435787]  [<ffffffff82d3706e>] do_one_initcall+0x89/0x149
[   35.437132]  [<ffffffff82d368d4>] ? set_debug_rodata+0x12/0x12
[   35.438774]  [<ffffffff82d3724b>] kernel_init_freeable+0x11d/0x1a0
[   35.440235]  [<ffffffff81dfa235>] ? rest_init+0x12c/0x12c
[   35.441889]  [<ffffffff81dfa23e>] kernel_init+0x9/0xeb
[   35.443110]  [<ffffffff81e0a8ca>] ret_from_fork+0x2a/0x40

Elapsed time: 80



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

View attachment "config-4.8.0-14895-gaf1fee9" of type "text/plain" (99914 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ