Bluetooth: hci2: Opcode 0x0c1a failed: -4
Bluetooth: hci2: Error when powering off device on rfkill (-4)
------------[ cut here ]------------
refcount_t: underflow; use-after-free.
WARNING: CPU: 1 PID: 12634 at lib/refcount.c:28 refcount_warn_saturate+0x11a/0x1d0
Modules linked in:
CPU: 1 UID: 0 PID: 12634 Comm: syz.0.2394 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:refcount_warn_saturate+0x11a/0x1d0
Code: 00 b3 e2 8b e8 f7 38 bb fc 90 0f 0b 90 90 eb d7 e8 4b 9a f7 fc c6 05 77 6f c5 0a 01 90 48 c7 c7 60 b3 e2 8b e8 d7 38 bb fc 90 <0f> 0b 90 90 eb b7 e8 2b 9a f7 fc c6 05 54 6f c5 0a 01 90 48 c7 c7
RSP: 0018:ffffc90004f07798 EFLAGS: 00010246
RAX: af09e8950b4ce300 RBX: 0000000000000003 RCX: 0000000000080000
RDX: ffffc90003551000 RSI: 0000000000015ffb RDI: 0000000000015ffc
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff1bfa1ec R12: ffff88810f524400
R13: ffff888126219060 R14: ffff888126219078 R15: dffffc0000000000
FS:  00007f910234d6c0(0000) GS:ffff8881a3c18000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31e0fff8 CR3: 0000000109af2000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 klist_dec_and_del+0x3c7/0x3d0
 klist_remove+0x1bd/0x340
 device_move+0x193/0x700
 hci_conn_del_sysfs+0xb8/0x170
 hci_conn_del+0xc33/0x11b0
 hci_conn_hash_flush+0x191/0x230
 hci_dev_close_sync+0xaef/0x1330
 hci_dev_do_close+0x2f/0x90
 hci_rfkill_set_block+0x21d/0x2e0
 rfkill_set_block+0x1d2/0x440
 rfkill_fop_write+0x44b/0x570
 vfs_write+0x27e/0xb30
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f910158ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f910234d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f91017c5fa0 RCX: 00007f910158ebe9
RDX: 0000000000000008 RSI: 0000200000000000 RDI: 0000000000000005
RBP: 00007f9101611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f91017c6038 R14: 00007f91017c5fa0 R15: 00007ffeeb5d42d8
 </TASK>
