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>] [day] [month] [year] [list]
Date:	Wed, 28 Oct 2015 13:40:48 +0800
From:	kernel test robot <ying.huang@...ux.intel.com>
TO:	Dan Streetman <dan.streetman@...onical.com>
CC:	0day robot <fengguang.wu@...el.com>
Subject: [lkp] [xfrm] 37ec89f091: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:97

FYI, we noticed the below changes on

https://github.com/0day-ci/linux dan-streetman-canonical-com/xfrm-dst_entries_init-per-net-dst_ops/20151028-001910
commit 37ec89f091076963ebaa125622a564659f05b00a ("xfrm: dst_entries_init() per-net dst_ops")


+-----------------------------------------------------------------------------+------------+------------+
|                                                                             | ca064bd893 | 37ec89f091 |
+-----------------------------------------------------------------------------+------------+------------+
| boot_successes                                                              | 15         | 18         |
| boot_failures                                                               | 0          | 11         |
| BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/mutex.c | 0          | 10         |
| backtrace:__alloc_percpu_gfp                                                | 0          | 8          |
| backtrace:__percpu_counter_init                                             | 0          | 8          |
| backtrace:xfrm_net_init                                                     | 0          | 8          |
| backtrace:ops_init                                                          | 0          | 8          |
| backtrace:unshare_nsproxy_namespaces                                        | 0          | 8          |
| backtrace:SyS_unshare                                                       | 0          | 8          |
| BUG:sleeping_function_called_from_invalid_context_at_mm/slub.c              | 0          | 1          |
+-----------------------------------------------------------------------------+------------+------------+


[   13.720801] sock: sock_set_timeout: `trinity-main' (pid 490) tries to set negative timeout
[   13.729720] sock: sock_set_timeout: `trinity-main' (pid 490) tries to set negative timeout
[   14.100559] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:97
[   14.103070] in_atomic(): 1, irqs_disabled(): 0, pid: 6133, name: trinity-c0
[   14.104378] CPU: 0 PID: 6133 Comm: trinity-c0 Not tainted 4.2.0-06114-g37ec89f #1
[   14.106168] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   14.108126]  0000000000000061 ffff88001352fcc8 ffffffff81894767 ffffffff81b733b8
[   14.110213]  ffff88001352fcd8 ffffffff81096fb8 ffff88001352fd00 ffffffff81097052
[   14.112306]  ffffffff81d1ff00 0000000000000000 0000000000000060 ffff88001352fd18
[   14.114392] Call Trace:
[   14.115183]  [<ffffffff81894767>] dump_stack+0x4b/0x63
[   14.116292]  [<ffffffff81096fb8>] ___might_sleep+0xe8/0x130
[   14.117447]  [<ffffffff81097052>] __might_sleep+0x52/0xb0
[   14.118648]  [<ffffffff81899e00>] mutex_lock+0x20/0x50
[   14.119755]  [<ffffffff81184dab>] pcpu_alloc+0x47b/0x640
[   14.120875]  [<ffffffff81184f82>] __alloc_percpu_gfp+0x12/0x20
[   14.122059]  [<ffffffff8141b2b3>] __percpu_counter_init+0x23/0x80
[   14.123270]  [<ffffffff817f71f5>] xfrm_net_init+0x1f5/0x390
[   14.124436]  [<ffffffff81758001>] ops_init+0x41/0x120
[   14.125525]  [<ffffffff81758161>] setup_net+0x81/0x120
[   14.126630]  [<ffffffff81758999>] copy_net_ns+0x79/0x110
[   14.127755]  [<ffffffff81091969>] create_new_namespaces+0xf9/0x190
[   14.128989]  [<ffffffff81091b7a>] unshare_nsproxy_namespaces+0x5a/0xb0
[   14.130258]  [<ffffffff81071d68>] SyS_unshare+0x1a8/0x370
[   14.131388]  [<ffffffff8189edea>] ia32_do_call+0x1b/0x25


Thanks,
Ying Huang

View attachment "config-4.2.0-06114-g37ec89f" of type "text/plain" (140781 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ