Bug 202193
Summary: | BUG: sleeping function called from invalid context at net/core/sock.c:2771 when trying to connect bluetooth headphones | ||
---|---|---|---|
Product: | Drivers | Reporter: | Emilio Cobos Álvarez (:emilio) (emilio) |
Component: | Bluetooth | Assignee: | linux-bluetooth (linux-bluetooth) |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.21.0-0.rc0.git1.1.fc30.x86_64 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Emilio Cobos Álvarez (:emilio)
2019-01-09 12:02:43 UTC
It is reproducible if I just disconnect and connect using bluetoothctl: [ 6303.369709] BUG: sleeping function called from invalid context at net/core/sock.c:2771 [ 6303.369715] in_atomic(): 1, irqs_disabled(): 0, pid: 30395, name: krfcommd [ 6303.369717] INFO: lockdep is turned off. [ 6303.369721] CPU: 4 PID: 30395 Comm: krfcommd Tainted: G W OE 4.21.0-0.rc0.git1.1.fc30.x86_64 #1 [ 6303.369723] Hardware name: LENOVO 20ENCTO1WW/20ENCTO1WW, BIOS N1EET80W (1.53 ) 09/14/2018 [ 6303.369725] Call Trace: [ 6303.369732] dump_stack+0x85/0xc0 [ 6303.369737] ___might_sleep.cold.73+0xac/0xbc [ 6303.369742] lock_sock_nested+0x29/0xa0 [ 6303.369758] bt_accept_enqueue+0x3f/0xb0 [bluetooth] [ 6303.369766] rfcomm_connect_ind+0x21b/0x260 [rfcomm] [ 6303.369773] rfcomm_run+0x1611/0x1820 [rfcomm] [ 6303.369779] ? do_wait_intr_irq+0xb0/0xb0 [ 6303.369785] ? rfcomm_check_accept+0x90/0x90 [rfcomm] [ 6303.369789] kthread+0x120/0x140 [ 6303.369792] ? kthread_create_on_node+0x60/0x60 [ 6303.369797] ret_from_fork+0x3a/0x50 [ 6303.552483] input: 2C:41:A1:C6:01:C0 as /devices/virtual/input/input20 The headphones work though. |