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]
Date:   Mon, 24 Jul 2017 10:20:07 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Fabio Estevam <fabio.estevam@....com>
Cc:     "David S. Miller" <davem@...emloft.net>,
        Andrew Lunn <andrew@...n.ch>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [lkp-robot] [mdio_bus]  95b80bf3db:
 WARNING:at_include/linux/gpio/consumer.h:#mdiobus_unregister

FYI, we noticed the following commit:

commit: 95b80bf3db03c2bf572a357cf74b9a6aefef0a4a ("mdio_bus: Remove unneeded gpiod NULL check")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):

+------------------------------------------------------------------+------------+------------+
|                                                                  | 24251c2647 | 95b80bf3db |
+------------------------------------------------------------------+------------+------------+
| boot_successes                                                   | 0          | 0          |
| boot_failures                                                    | 8          | 10         |
| invoked_oom-killer:gfp_mask=0x                                   | 8          | 10         |
| Mem-Info                                                         | 8          | 10         |
| Out_of_memory:Kill_process                                       | 8          | 8          |
| WARNING:at_include/linux/gpio/consumer.h:#mdiobus_unregister     | 0          | 8          |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 0          | 2          |
+------------------------------------------------------------------+------------+------------+

[  317.289160] WARNING: CPU: 0 PID: 21 at include/linux/gpio/consumer.h:348 mdiobus_unregister+0x244/0x280
[  317.305743] CPU: 0 PID: 21 Comm: kworker/0:1 Not tainted 4.12.0-11054-g95b80bf #1
[  317.308080] Workqueue: events deferred_probe_work_func
[  317.309665] task: ffff880017c98580 task.stack: ffff880017ca0000
[  317.311429] RIP: 0010:mdiobus_unregister+0x244/0x280
[  317.312936] RSP: 0000:ffff880017ca7908 EFLAGS: 00010202
[  317.314565] RAX: dffffc0000000000 RBX: ffffffff879e9df8 RCX: 0000000000000001
[  317.316707] RDX: 1ffffffff0e92932 RSI: 0000000000000001 RDI: ffffffff87494990
[  317.331758] RBP: ffff880017ca7940 R08: 0000000000000000 R09: 0000000000000001
[  317.333903] R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
[  317.336043] R13: 0000000000000001 R14: ffff88000f2694b0 R15: 0000000000000000
[  317.338147] FS:  0000000000000000(0000) GS:ffff880018400000(0000) knlGS:0000000000000000
[  317.340546] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  317.342311] CR2: 0000000000000000 CR3: 0000000006828000 CR4: 00000000000006b0
[  317.344458] Call Trace:
[  317.358732]  dsa_dst_unapply+0x9aa/0xa30
[  317.359921]  ? mdio_device_free+0x10/0x10
[  317.361117]  dsa_unregister_switch+0x48/0x150
[  317.362551]  dsa_loop_drv_remove+0x60/0xc0
[  317.363861]  ? dsa_loop_port_vlan_filtering+0x10/0x10
[  317.365446]  mdio_remove+0xe6/0xf0
[  317.366664]  driver_probe_device+0xb24/0x1590
[  317.368055]  __device_attach_driver+0x55b/0x5e0
[  317.369452]  ? __driver_attach+0x550/0x550
[  317.370719]  bus_for_each_drv+0x18c/0x2b0
[  317.384682]  ? subsys_find_device_by_id+0x600/0x600
[  317.386189]  __device_attach+0x2fd/0x610
[  317.387363]  ? device_bind_driver+0x1a0/0x1a0
[  317.388700]  ? wait_for_completion_killable_timeout+0x800/0x800
[  317.390463]  device_initial_probe+0xe/0x10
[  317.391725]  bus_probe_device+0x1b8/0x3b0
[  317.392954]  deferred_probe_work_func+0x1f9/0x230
[  317.394391]  process_one_work+0x1250/0x2120
[  317.395710]  ? pwq_dec_nr_in_flight+0x5f0/0x5f0
[  317.397106]  ? __list_del_entry_valid+0x2fe/0x3d0
[  317.398870]  worker_thread+0xe26/0x1500
[  317.400079]  ? do_raw_spin_unlock+0x2f7/0x420
[  317.401414]  kthread+0x4fe/0x510
[  317.402685]  ? process_one_work+0x2120/0x2120
[  317.404084]  ? __kthread_bind_mask+0x160/0x160
[  317.405489]  ret_from_fork+0x2a/0x40
[  317.419707] Code: 08 4c 3b 75 d0 0f 85 13 ff ff ff b9 01 00 00 00 31 d2 be 01 00 00 00 48 c7 c7 78 49 49 87 e8 44 2b a9 fd 48 83 05 ac 34 ef 03 01 <0f> ff b9 01 00 00 00 31 d2 be 01 00 00 00 48 c7 c7 48 49 49 87 
[  317.425841] ---[ end trace a8c7919368a78a6e ]---

To reproduce:

        git clone https://github.com/01org/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.12.0-11054-g95b80bf" of type "text/plain" (101902 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ