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]
Message-ID: <87si0w6quc.fsf@yhuang-dev.intel.com>
Date:	Sun, 14 Feb 2016 09:08:43 +0800
From:	kernel test robot <ying.huang@...ux.intel.com>
TO:	Robert Baldyga <r.baldyga@...sung.com>
CC:	0day robot <fengguang.wu@...el.com>
Subject: [lkp] [usb] 368540a661: BUG: sleeping function called from invalid
 context at mm/page_alloc.c:3208

FYI, we noticed the below changes on

https://github.com/0day-ci/linux Robert-Baldyga/usb-gadget-composite-introduce-new-function-API/20160203-205850
commit 368540a661833b00a81b0e9c7741d8dfd89c13f0 ("usb: gadget: f_printer: conversion to new API")


+----------------------------------------------------------------------+------------+------------+
|                                                                      | 36eec5a911 | 368540a661 |
+----------------------------------------------------------------------+------------+------------+
| boot_successes                                                       | 88         | 8          |
| boot_failures                                                        | 4          | 16         |
| BUG:kernel_test_oversize                                             | 2          |            |
| IP-Config:Auto-configuration_of_network_failed                       | 2          | 2          |
| BUG:sleeping_function_called_from_invalid_context_at_mm/page_alloc.c | 0          | 16         |
| backtrace:cpu_startup_entry                                          | 0          | 1          |
| backtrace:do_group_exit                                              | 0          | 2          |
| backtrace:SyS_exit_group                                             | 0          | 2          |
| backtrace:do_execve                                                  | 0          | 3          |
| backtrace:run_init_process                                           | 0          | 3          |
| backtrace:ring_buffer_producer_thread                                | 0          | 1          |
| backtrace:SYSC_newstat                                               | 0          | 1          |
| backtrace:SyS_newstat                                                | 0          | 1          |
| backtrace:_do_fork                                                   | 0          | 1          |
| backtrace:SyS_clone                                                  | 0          | 1          |
| WARNING:at_kernel/sched/core.c:#__might_sleep()                      | 0          | 1          |
| backtrace:hub_event                                                  | 0          | 1          |
| backtrace:vfs_write                                                  | 0          | 1          |
| backtrace:SyS_write                                                  | 0          | 1          |
+----------------------------------------------------------------------+------------+------------+



[   18.061859] dummy_udc dummy_udc.0: enabled ep1in-bulk (ep1in-bulk) maxpacket 512 stream disabled
[   18.064543] dummy_udc dummy_udc.0: enabled ep2out-bulk (ep2out-bulk) maxpacket 512 stream disabled
[   18.064543] dummy_udc dummy_udc.0: enabled ep2out-bulk (ep2out-bulk) maxpacket 512 stream disabled
[   18.067290] BUG: sleeping function called from invalid context at mm/page_alloc.c:3208
[   18.067290] BUG: sleeping function called from invalid context at mm/page_alloc.c:3208
[   18.070263] in_atomic(): 1, irqs_disabled(): 1, pid: 190, name: initctl
[   18.070263] in_atomic(): 1, irqs_disabled(): 1, pid: 190, name: initctl
[   18.072288] 4 locks held by initctl/190:
[   18.072288] 4 locks held by initctl/190:
[   18.073493]  #0: 
[   18.073493]  #0:  ( (&(ptlock_ptr(page))->rlock&(ptlock_ptr(page))->rlock#2#2){......}){......}, at: , at: [<ffffffff84188e34>] unmap_single_vma+0x2c4/0x5f1
[<ffffffff84188e34>] unmap_single_vma+0x2c4/0x5f1
[   18.076730]  #1: 
[   18.076730]  #1:  ( (rcu_read_lockrcu_read_lock){......}){......}, at: , at: [<ffffffff8419eafb>] rcu_lock_acquire+0x0/0x20
[<ffffffff8419eafb>] rcu_lock_acquire+0x0/0x20
[   18.079469]  #2: 
[   18.079469]  #2:  ( ((&dum_hcd->timer)(&dum_hcd->timer)){......}){......}, at: , at: [<ffffffff84110f24>] call_timer_fn+0x5/0x1f9
[<ffffffff84110f24>] call_timer_fn+0x5/0x1f9
[   18.082291]  #3: 
[   18.082291]  #3:  ( (&(&cdev->lock)->rlock&(&cdev->lock)->rlock){......}){......}, at: , at: [<ffffffff844194f6>] composite_setup+0x799/0x1333
[<ffffffff844194f6>] composite_setup+0x799/0x1333
[   18.085333] CPU: 0 PID: 190 Comm: initctl Not tainted 4.5.0-rc2-00069-g368540a #2
[   18.085333] CPU: 0 PID: 190 Comm: initctl Not tainted 4.5.0-rc2-00069-g368540a #2
[   18.087613]  0000000000000000
[   18.087613]  0000000000000000 ffff880013c03a60 ffff880013c03a60 ffffffff8424e680 ffffffff8424e680 ffff8800151b0000 ffff8800151b0000

[   18.089986]  ffff880013c03a80
[   18.089986]  ffff880013c03a80 ffffffff840e0801 ffffffff840e0801 0000000000000000 0000000000000000 0000000000000000 0000000000000000

[   18.092342]  ffff880013c03ac0
[   18.092342]  ffff880013c03ac0 ffffffff840e08e8 ffffffff840e08e8 ffffffff84b7ca02 ffffffff84b7ca02 0000000000000000 0000000000000000

[   18.094730] Call Trace:
[   18.094730] Call Trace:
[   18.095501]  <IRQ> 
[   18.095501]  <IRQ>  [<ffffffff8424e680>] dump_stack+0x4b/0x63
 [<ffffffff8424e680>] dump_stack+0x4b/0x63
[   18.097336]  [<ffffffff840e0801>] ___might_sleep+0x11e/0x123
[   18.097336]  [<ffffffff840e0801>] ___might_sleep+0x11e/0x123
[   18.099079]  [<ffffffff840e08e8>] __might_sleep+0xe2/0xee
[   18.099079]  [<ffffffff840e08e8>] __might_sleep+0xe2/0xee
[   18.100740]  [<ffffffff8416a205>] __alloc_pages_nodemask+0xe4/0xb98
[   18.100740]  [<ffffffff8416a205>] __alloc_pages_nodemask+0xe4/0xb98
[   18.102672]  [<ffffffff84038fff>] ? kvm_sched_clock_read+0x9/0x12
[   18.102672]  [<ffffffff84038fff>] ? kvm_sched_clock_read+0x9/0x12
[   18.104579]  [<ffffffff8400b812>] ? paravirt_sched_clock+0x9/0xd
[   18.104579]  [<ffffffff8400b812>] ? paravirt_sched_clock+0x9/0xd
[   18.106427]  [<ffffffff8400bdcb>] ? sched_clock+0x9/0xb
[   18.106427]  [<ffffffff8400bdcb>] ? sched_clock+0x9/0xb
[   18.108043]  [<ffffffff840f4730>] ? lock_release+0x143/0x389
[   18.108043]  [<ffffffff840f4730>] ? lock_release+0x143/0x389
[   18.109790]  [<ffffffff8416ad1f>] __alloc_pages_node+0x66/0x6f
[   18.109790]  [<ffffffff8416ad1f>] __alloc_pages_node+0x66/0x6f
[   18.111576]  [<ffffffff8416aead>] alloc_kmem_pages+0x14/0x16
[   18.111576]  [<ffffffff8416aead>] alloc_kmem_pages+0x14/0x16
[   18.113323]  [<ffffffff84180fce>] kmalloc_order+0x19/0x51
[   18.113323]  [<ffffffff84180fce>] kmalloc_order+0x19/0x51
[   18.115029]  [<ffffffff8418102c>] kmalloc_order_trace+0x26/0xb9
[   18.115029]  [<ffffffff8418102c>] kmalloc_order_trace+0x26/0xb9
[   18.116702]  [<ffffffff844315d1>] printer_req_alloc+0x3e/0x5e
[   18.116702]  [<ffffffff844315d1>] printer_req_alloc+0x3e/0x5e
[   18.118675]  [<ffffffff84431867>] printer_func_set_alt+0x99/0x161
[   18.118675]  [<ffffffff84431867>] printer_func_set_alt+0x99/0x161
[   18.120334]  [<ffffffff84418cf5>] set_alt+0xf2/0x15a
[   18.120334]  [<ffffffff84418cf5>] set_alt+0xf2/0x15a
[   18.121749]  [<ffffffff84419619>] composite_setup+0x8bc/0x1333
[   18.121749]  [<ffffffff84419619>] composite_setup+0x8bc/0x1333
[   18.123395]  [<ffffffff84421aa2>] dummy_timer+0xb19/0xb9d
[   18.123395]  [<ffffffff84421aa2>] dummy_timer+0xb19/0xb9d
[   18.124941]  [<ffffffff84421aa2>] ? dummy_timer+0xb19/0xb9d
[   18.124941]  [<ffffffff84421aa2>] ? dummy_timer+0xb19/0xb9d
[   18.126574]  [<ffffffff840e184e>] ? local_clock+0x20/0x22
[   18.126574]  [<ffffffff840e184e>] ? local_clock+0x20/0x22
[   18.128133]  [<ffffffff84110f24>] ? call_timer_fn+0x5/0x1f9
[   18.128133]  [<ffffffff84110f24>] ? call_timer_fn+0x5/0x1f9
[   18.129716]  [<ffffffff84420f89>] ? dummy_dequeue+0x116/0x116
[   18.129716]  [<ffffffff84420f89>] ? dummy_dequeue+0x116/0x116
[   18.131280]  [<ffffffff84110fd0>] call_timer_fn+0xb1/0x1f9
[   18.131280]  [<ffffffff84110fd0>] call_timer_fn+0xb1/0x1f9
[   18.132825]  [<ffffffff84420f89>] ? dummy_dequeue+0x116/0x116
[   18.132825]  [<ffffffff84420f89>] ? dummy_dequeue+0x116/0x116
[   18.134498]  [<ffffffff8411160c>] run_timer_softirq+0x1b5/0x1df
[   18.134498]  [<ffffffff8411160c>] run_timer_softirq+0x1b5/0x1df
[   18.136151]  [<ffffffff840bb923>] __do_softirq+0x114/0x353
[   18.136151]  [<ffffffff840bb923>] __do_softirq+0x114/0x353
[   18.138036]  [<ffffffff840bbd7f>] irq_exit+0x40/0x4e
[   18.138036]  [<ffffffff840bbd7f>] irq_exit+0x40/0x4e
[   18.140699]  [<ffffffff8403070d>] smp_apic_timer_interrupt+0x33/0x3e
[   18.140699]  [<ffffffff8403070d>] smp_apic_timer_interrupt+0x33/0x3e
[   18.143201]  [<ffffffff846283bf>] apic_timer_interrupt+0x7f/0x90
[   18.143201]  [<ffffffff846283bf>] apic_timer_interrupt+0x7f/0x90
[   18.145719]  <EOI> 
[   18.145719]  <EOI>  [<ffffffff840f1d88>] ? arch_local_irq_restore+0x6/0xd
 [<ffffffff840f1d88>] ? arch_local_irq_restore+0x6/0xd
[   18.148467]  [<ffffffff840f4592>] lock_acquire+0xbe/0x119
[   18.148467]  [<ffffffff840f4592>] lock_acquire+0xbe/0x119
[   18.150727]  [<ffffffff8419eafb>] ? cpumask_next+0xc5/0xc5
[   18.150727]  [<ffffffff8419eafb>] ? cpumask_next+0xc5/0xc5
[   18.152846]  [<ffffffff8419eb18>] rcu_lock_acquire+0x1d/0x20
[   18.152846]  [<ffffffff8419eb18>] rcu_lock_acquire+0x1d/0x20
[   18.155040]  [<ffffffff8419eafb>] ? cpumask_next+0xc5/0xc5
[   18.155040]  [<ffffffff8419eafb>] ? cpumask_next+0xc5/0xc5
[   18.157195]  [<ffffffff8419eb32>] rcu_read_lock+0x17/0x19
[   18.157195]  [<ffffffff8419eb32>] rcu_read_lock+0x17/0x19
[   18.159241]  [<ffffffff841a3251>] mem_cgroup_begin_page_stat+0x16/0x98
[   18.159241]  [<ffffffff841a3251>] mem_cgroup_begin_page_stat+0x16/0x98
[   18.161817]  [<ffffffff84193e7b>] page_remove_rmap+0x51/0x12e
[   18.161817]  [<ffffffff84193e7b>] page_remove_rmap+0x51/0x12e
[   18.163962]  [<ffffffff84188fb8>] unmap_single_vma+0x448/0x5f1
[   18.163962]  [<ffffffff84188fb8>] unmap_single_vma+0x448/0x5f1
[   18.165121]  [<ffffffff84189262>] unmap_vmas+0x3a/0x49
[   18.165121]  [<ffffffff84189262>] unmap_vmas+0x3a/0x49
[   18.166138]  [<ffffffff8418f56f>] exit_mmap+0x66/0xe5
[   18.166138]  [<ffffffff8418f56f>] exit_mmap+0x66/0xe5
[   18.167114]  [<ffffffff840b5429>] mmput+0x52/0xbc
[   18.167114]  [<ffffffff840b5429>] mmput+0x52/0xbc
[   18.168047]  [<ffffffff840ba672>] do_exit+0x452/0xb24
[   18.168047]  [<ffffffff840ba672>] do_exit+0x452/0xb24
[   18.169049]  [<ffffffff841a3358>] ? mem_cgroup_handle_over_high+0x38/0x70
[   18.169049]  [<ffffffff841a3358>] ? mem_cgroup_handle_over_high+0x38/0x70
[   18.170349]  [<ffffffff840bade4>] do_group_exit+0x6a/0xd2
[   18.170349]  [<ffffffff840bade4>] do_group_exit+0x6a/0xd2
[   18.171453]  [<ffffffff840bae60>] SyS_exit_group+0x14/0x14
[   18.171453]  [<ffffffff840bae60>] SyS_exit_group+0x14/0x14
[   18.172518]  [<ffffffff846276f2>] entry_SYSCALL_64_fastpath+0x12/0x76





Thanks,
Kernel Test Robot

View attachment "config-4.5.0-rc2-00069-g368540a" of type "text/plain" (82930 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ