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:   Thu, 9 Nov 2017 09:45:25 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Cc:     "David S. Miller" <davem@...emloft.net>,
        Florian Fainelli <f.fainelli@...il.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [lkp-robot] [net]  8e5bf9759a:
 WARNING:at_lib/refcount.c:#refcount_inc


FYI, we noticed the following commit (built with gcc-5):

commit: 8e5bf9759a06be2251fa96cfd8b412f1808c62f9 ("net: dsa: simplify tree reference counting")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: boot

on test machine: qemu-system-i386 -enable-kvm -cpu Haswell,+smep,+smap -m 360M

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


+-----------------------------------------------------+------------+------------+
|                                                     | 49463b7f2d | 8e5bf9759a |
+-----------------------------------------------------+------------+------------+
| boot_successes                                      | 12         | 0          |
| boot_failures                                       | 4          | 27         |
| WARNING:at_arch/x86/mm/dump_pagetables.c:#note_page | 4          | 4          |
| EIP:note_page                                       | 4          | 4          |
| WARNING:at_lib/refcount.c:#refcount_inc             | 0          | 27         |
| EIP:refcount_inc                                    | 0          | 27         |
+-----------------------------------------------------+------------+------------+



[    6.072761] WARNING: CPU: 0 PID: 116 at lib/refcount.c:153 refcount_inc+0x26/0x2b
[    6.073599] CPU: 0 PID: 116 Comm: kworker/0:2 Not tainted 4.14.0-rc7-02139-g8e5bf97 #1
[    6.074293] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    6.074982] Workqueue: events deferred_probe_work_func
[    6.075461] task: d4720040 task.stack: cc148000
[    6.075863] EIP: refcount_inc+0x26/0x2b
[    6.076211] EFLAGS: 00210286 CPU: 0
[    6.076527] EAX: 0000002b EBX: ca9ceab0 ECX: 00000006 EDX: 00000007
[    6.077083] ESI: fffffff0 EDI: ca9ceab0 EBP: cc149e04 ESP: cc149e00
[    6.077646]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[    6.078132] CR0: 80050033 CR2: 00000000 CR3: 01e3d000 CR4: 000406b0
[    6.078692] Call Trace:
[    6.078939]  dsa_register_switch+0x2aa/0x6e7
[    6.079332]  ? rcu_read_unlock+0x39/0x56
[    6.079669]  dsa_loop_drv_probe+0xad/0xbc
[    6.080144]  mdio_probe+0xf/0x14
[    6.080445]  driver_probe_device+0xde/0x1e0
[    6.080818]  __device_attach_driver+0x62/0x6e
[    6.081252]  bus_for_each_drv+0x5a/0x64
[    6.081604]  __device_attach+0x61/0x99
[    6.081968]  ? driver_allows_async_probing+0xc/0xc
[    6.082424]  device_initial_probe+0xd/0xf
[    6.082788]  bus_probe_device+0x22/0x64
[    6.083141]  deferred_probe_work_func+0xd7/0x101
[    6.083554]  process_one_work+0x17b/0x2a1
[    6.083915]  ? process_one_work+0x122/0x2a1
[    6.084301]  process_scheduled_works+0x1e/0x24
[    6.084726]  worker_thread+0x18c/0x213
[    6.085066]  kthread+0xd9/0xdb
[    6.085349]  ? process_scheduled_works+0x24/0x24
[    6.085778]  ? __list_del_entry+0x1c/0x1c
[    6.086204]  ret_from_fork+0x19/0x24
[    6.086568] Code: 8b 5d fc c9 c3 55 89 e5 e8 af ff ff ff 84 c0 75 1d 80 3d f5 ab d5 c1 00 75 14 68 a6 03 bb c1 c6 05 f5 ab d5 c1 01 e8 4b 4c e4 ff <0f> ff 58 c9 c3 55 89 e5 53 89 c3 51 8b 02 83 f8 ff 74 3d 89 c1
[    6.088673] ---[ end trace 94dc4c1366eb2cc9 ]---


To reproduce:

        git clone https://github.com/intel/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.14.0-rc7-02139-g8e5bf97" of type "text/plain" (112941 bytes)

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

Download attachment "dmesg.xz" of type "application/x-xz" (17868 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ