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]
Message-ID: <871tadk62y.fsf@yhuang-dev.intel.com>
Date:	Wed, 23 Dec 2015 14:54:45 +0800
From:	kernel test robot <ying.huang@...ux.intel.com>
TO:	Yinghai Lu <yinghai@...nel.org>
CC:	LKML <linux-kernel@...r.kernel.org>
Subject: [lkp] [resources] 09b7f22ba7: BUG: sleeping function called from
 invalid context at mm/slub.c:1287

FYI, we noticed the below changes on

https://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-v4.5-next
commit 09b7f22ba7bc2c45f7b2b1588c17d5264dc571f4 ("resources: Make allocate_resource() return best fit resource")


<7>[   27.129164] pcieport 0000:00:1c.0: BAR 13: [io  0x0000-0x0fff] get_res_add_align min_align 0x1000
<7>[   27.129166] pcieport 0000:00:1c.0: BAR 15: [mem 0x00000000-0xffffffffffffffff 64bit pref] get_res_add_size add_size   0x200000
<7>[   27.129168] pcieport 0000:00:1c.0: BAR 15: [mem 0x00000000-0x001fffff 64bit pref] get_res_add_align min_align 0x100000
<3>[   27.129170] BUG: sleeping function called from invalid context at mm/slub.c:1287
<3>[   27.129171] in_atomic(): 1, irqs_disabled(): 0, pid: 259, name: kworker/u16:5
<4>[   27.129173] CPU: 1 PID: 259 Comm: kworker/u16:5 Not tainted 4.4.0-rc4-00140-g09b7f22 #1
<4>[   27.129174] Hardware name: Intel Corporation Broadwell Client platform/WhiteTip Mountain 1, BIOS BDW-E1R1.86C.0120.R00.1504020241 04/02/2015
<4>[   27.129180] Workqueue: kacpi_hotplug acpi_hotplug_work_fn
<4>[   27.129182]  0000000000000507 ffff880136da78e8 ffffffff81410ee2 ffffffff81bc0188
<4>[   27.129184]  ffff880136da78f8 ffffffff8109d988 ffff880136da7920 ffffffff8109da22
<4>[   27.129185]  00000000024080c0 00000000024080c0 ffffffff8107f523 ffff880136da7968
<4>[   27.129186] Call Trace:
<4>[   27.129190]  [<ffffffff81410ee2>] dump_stack+0x4b/0x69
<4>[   27.129192]  [<ffffffff8109d988>] ___might_sleep+0xe8/0x130
<4>[   27.129194]  [<ffffffff8109da22>] __might_sleep+0x52/0xb0
<4>[   27.129196]  [<ffffffff8107f523>] ? allocate_resource+0x133/0x250
<4>[   27.129199]  [<ffffffff811c9a60>] kmem_cache_alloc_trace+0x190/0x200
<4>[   27.129200]  [<ffffffff8107f523>] allocate_resource+0x133/0x250
<4>[   27.129203]  [<ffffffff8176cc70>] ? pcibios_fwaddrmap_lookup+0x60/0x60
<4>[   27.129205]  [<ffffffff810d1101>] ? vprintk_emit+0x341/0x540
<4>[   27.129208]  [<ffffffff8144f1c7>] pci_bus_alloc_from_region+0x77/0x190
<4>[   27.129209]  [<ffffffff8176cc70>] ? pcibios_fwaddrmap_lookup+0x60/0x60
<4>[   27.129211]  [<ffffffff8144f39a>] pci_bus_alloc_resource+0xba/0xe0
<4>[   27.129213]  [<ffffffff8176cc70>] ? pcibios_fwaddrmap_lookup+0x60/0x60
<4>[   27.129216]  [<ffffffff8145c769>] _pci_assign_resource+0x189/0x1e0
<4>[   27.129218]  [<ffffffff8176cc70>] ? pcibios_fwaddrmap_lookup+0x60/0x60
<4>[   27.129220]  [<ffffffff8145cb6b>] pci_assign_resource+0xbb/0x2c0
<4>[   27.129222]  [<ffffffff8145e288>] assign_requested_resources_sorted+0x78/0xe0
<4>[   27.129224]  [<ffffffff8145eb9e>] __assign_resources_sorted+0x67e/0x850
<4>[   27.129227]  [<ffffffff814607a7>] __pci_bus_assign_resources+0x67/0x1e0
<4>[   27.129229]  [<ffffffff8146f9f3>] enable_slot+0x153/0x2d0
<4>[   27.129231]  [<ffffffff8109da22>] ? __might_sleep+0x52/0xb0
<4>[   27.129232]  [<ffffffff8109da22>] ? __might_sleep+0x52/0xb0
<4>[   27.129234]  [<ffffffff814706b5>] acpiphp_hotplug_notify+0x195/0x210
<4>[   27.129244]  [<ffffffff81470520>] ? acpiphp_post_dock_fixup+0xc0/0xc0
<4>[   27.129246]  [<ffffffff81495ebe>] acpi_device_hotplug+0x3f8/0x440
<4>[   27.129249]  [<ffffffff8148ea6a>] acpi_hotplug_work_fn+0x1e/0x29
<4>[   27.129251]  [<ffffffff810913c7>] process_one_work+0x157/0x420
<4>[   27.129253]  [<ffffffff81092029>] worker_thread+0x69/0x4a0
<4>[   27.129255]  [<ffffffff81091fc0>] ? rescuer_thread+0x380/0x380
<4>[   27.129257]  [<ffffffff81091fc0>] ? rescuer_thread+0x380/0x380
<4>[   27.129259]  [<ffffffff8109758f>] kthread+0xef/0x110
<4>[   27.129260]  [<ffffffff810974a0>] ? kthread_park+0x60/0x60
<4>[   27.129263]  [<ffffffff818c848f>] ret_from_fork+0x3f/0x70
<4>[   27.129264]  [<ffffffff810974a0>] ? kthread_park+0x60/0x60
<6>[   27.129271] pcieport 0000:00:1c.0: BAR 15: assigned [mem 0xd1200000-0xd13fffff 64bit pref]
<6>[   27.129276] pcieport 0000:00:1c.0: BAR 13: assigned [io  0x2000-0x2fff]
<7>[   27.129808] pci_bus 0000:01: Allocating resources


To reproduce:

        git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Ying Huang

View attachment "config-4.4.0-rc4-00140-g09b7f22" of type "text/plain" (143079 bytes)

Download attachment "kmsg.xz" of type "application/x-xz" (23980 bytes)

View attachment "job.yaml" of type "text/plain" (2874 bytes)

Download attachment "reproduce.sh" of type "application/x-sh" (186 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ