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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170106111924.GA97910@inn.lkp.intel.com>
Date:   Fri, 6 Jan 2017 19:19:25 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Michael Chan <michael.chan@...adcom.com>
Cc:     davem@...emloft.net, netdev@...r.kernel.org, lkp@...org
Subject: [net]  bf7d953378:
 BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/mutex.c

FYI, we noticed the following commit:

commit: bf7d95337899f2e3ab5c14d6117fa7cd95a3d0d4 ("net: Fix inconsistent rtnl_lock usage on dev_get_stats().")
url: https://github.com/0day-ci/linux/commits/Michael-Chan/net-Fix-inconsistent-rtnl_lock-usage-on-dev_get_stats/20170106-144936


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -m 320M

caused below changes:


+-----------------------------------------------------------------------------+------------+------------+
|                                                                             | 71eae1ca77 | bf7d953378 |
+-----------------------------------------------------------------------------+------------+------------+
| boot_successes                                                              | 8          | 2          |
| boot_failures                                                               | 0          | 7          |
| BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/mutex.c | 0          | 7          |
| BUG:scheduling_while_atomic                                                 | 0          | 7          |
| WARNING:at_arch/x86/lib/usercopy.c:#_copy_to_user                           | 0          | 7          |
+-----------------------------------------------------------------------------+------------+------------+



[    8.959014] random: uci: uninitialized urandom read (6 bytes read)
[    8.991559] random: uci: uninitialized urandom read (6 bytes read)
[    9.004266] random: uci: uninitialized urandom read (6 bytes read)
[    9.379490] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:232
[    9.383499] in_atomic(): 1, irqs_disabled(): 0, pid: 1816, name: dropbearkey
[    9.386025] CPU: 0 PID: 1816 Comm: dropbearkey Not tainted 4.10.0-rc1-00075-gbf7d953 #5
[    9.389553] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    9.393545] Call Trace:
[    9.395029]  dump_stack+0x86/0xc0
[    9.396698]  ___might_sleep+0x11a/0x129
[    9.398482]  __might_sleep+0x77/0x7e


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,
Kernel Test Robot

View attachment "config-4.10.0-rc1-00075-gbf7d953" of type "text/plain" (102700 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ