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] [day] [month] [year] [list]
Message-ID: <20170125010847.GH17561@yexl-desktop>
Date:   Wed, 25 Jan 2017 09:08:47 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     David Lebrun <david.lebrun@...ouvain.be>
Cc:     netdev@...r.kernel.org, David Lebrun <david.lebrun@...ouvain.be>,
        lkp@...org
Subject: [lkp-robot] [ipv6]  31cdaa587d:
 BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/mutex.c


FYI, we noticed the following commit:

commit: 31cdaa587d8ea13f02f357ed5a95958889b18df3 ("ipv6: sr: fix BUG in HMAC init when preemption is enabled")
url: https://github.com/0day-ci/linux/commits/David-Lebrun/ipv6-sr-fix-BUG-in-HMAC-init-when-preemption-is-enabled/20170111-000430


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu Haswell,+smep,+smap -smp 2 -m 1G

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


+-----------------------------------------------------------------------------+------------+------------+
|                                                                             | 6bb629db5e | 31cdaa587d |
+-----------------------------------------------------------------------------+------------+------------+
| boot_successes                                                              | 0          | 2          |
| boot_failures                                                               | 8          | 8          |
| BUG:using_smp_processor_id()in_preemptible                                  | 8          |            |
| BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/mutex.c | 0          | 8          |
+-----------------------------------------------------------------------------+------------+------------+



SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.30:  No such file or directory
[    5.771021] systemd[1]: RTC configured in localtime, applying delta of 480 minutes to system time.
[    5.775578] NET: Registered protocol family 10
[    5.778339] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:752
[    5.779426] in_atomic(): 1, irqs_disabled(): 0, pid: 1, name: systemd
[    5.780127] no locks held by systemd/1.
[    5.780523] Preemption disabled at:
[    5.780538] [<ffffffffc0111fa3>] seg6_hmac_init+0x1b/0x1078 [ipv6]
[    5.781605] CPU: 1 PID: 1 Comm: systemd Not tainted 4.10.0-rc3-00032-g31cdaa5 #2
[    5.782346] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    5.782599] Call Trace:
[    5.782599]  dump_stack+0x65/0x83
[    5.782599]  ? seg6_hmac_init+0x1b/0x1078 [ipv6]
[    5.782599]  ___might_sleep+0x117/0x190


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.10.0-rc3-00032-g31cdaa5" of type "text/plain" (111271 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ