[ 54.279652] Bluetooth: hci3: command 0x0419 tx timeout [ 54.285317] Bluetooth: hci2: command 0x0419 tx timeout [ 54.360424] Bluetooth: hci5: command 0x0419 tx timeout [ 54.366377] Bluetooth: hci4: command 0x0419 tx timeout [ 170.515192] Bluetooth: hci1: command 0x0406 tx timeout [ 170.520876] Bluetooth: hci0: command 0x0406 tx timeout [ 170.521309] Bluetooth: hci4: command 0x0406 tx timeout [ 170.527171] Bluetooth: hci2: command 0x0406 tx timeout [ 170.532003] Bluetooth: hci3: command 0x0406 tx timeout [ 170.543507] Bluetooth: hci5: command 0x0406 tx timeout [ 399.046909] ================================================================== [ 399.054500] BUG: KASAN: use-after-free in hci_chan_del+0x12b/0x170 [ 399.060953] Read of size 8 at addr ffff8881db88a9d8 by task syz-executor.2/5945 [ 399.068379] [ 399.070095] CPU: 0 PID: 5945 Comm: syz-executor.2 Not tainted 4.19.164-syzkaller #0 [ 399.077865] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 399.087207] Call Trace: [ 399.089868] dump_stack+0x17c/0x22a [ 399.093475] print_address_description.cold.6+0x9/0x211 [ 399.098817] kasan_report.cold.7+0x242/0x307 [ 399.103200] ? hci_chan_del+0x12b/0x170 [ 399.107159] __asan_report_load8_noabort+0x14/0x20 [ 399.112075] hci_chan_del+0x12b/0x170 [ 399.115852] l2cap_conn_del.isra.23+0x3dc/0x620 [ 399.120518] ? _raw_spin_unlock_irq+0x27/0x90 [ 399.125004] l2cap_disconn_cfm+0x61/0x80 [ 399.129048] ? mutex_lock_nested+0x16/0x20 [ 399.133269] hci_conn_hash_flush+0x10b/0x200 [ 399.138178] hci_dev_do_close+0x4d2/0xcd0 [ 399.142304] ? hci_dev_open+0x190/0x190 [ 399.146263] ? kasan_check_write+0x14/0x20 [ 399.150484] hci_unregister_dev+0x163/0x7a0 [ 399.154808] vhci_release+0x6b/0xe0 [ 399.158416] __fput+0x249/0x7f0 [ 399.161720] ____fput+0x9/0x10 [ 399.164963] task_work_run+0x108/0x180 [ 399.168850] do_exit+0xa8e/0x2e00 [ 399.172321] ? mm_update_next_owner+0x680/0x680 [ 399.176970] ? do_ip6t_get_ctl+0x130/0x730 [ 399.181186] ? aa_profile_af_perm+0x320/0x320 [ 399.185661] ? get_signal+0x2b7/0x1970 [ 399.189538] ? _raw_spin_unlock_irq+0x27/0x90 [ 399.194036] ? get_signal+0x2b7/0x1970 [ 399.197946] do_group_exit+0xf8/0x2c0 [ 399.201788] get_signal+0x308/0x1970 [ 399.205485] do_signal+0x87/0x1860 [ 399.209013] ? setup_sigcontext+0x7d0/0x7d0 [ 399.213423] ? sock_common_getsockopt+0x73/0xf0 [ 399.218201] ? __sys_getsockopt+0x12e/0x1f0 [ 399.222676] ? kernel_setsockopt+0x1e0/0x1e0 [ 399.227077] ? exit_to_usermode_loop+0x3a/0x1e0 [ 399.231926] ? do_syscall_64+0x413/0x4e0 [ 399.235968] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 399.240528] ? exit_to_usermode_loop+0x3a/0x1e0 [ 399.245212] ? trace_hardirqs_on+0x28/0x190 [ 399.249514] exit_to_usermode_loop+0x159/0x1e0 [ 399.254095] ? __x64_sys_getsockopt+0xb9/0x150 [ 399.259354] do_syscall_64+0x413/0x4e0 [ 399.263241] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 399.268414] RIP: 0033:0x45f97a [ 399.271629] Code: Bad RIP value. [ 399.274969] RSP: 002b:00007ffc90bb5948 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 [ 399.282739] RAX: 0000000000000000 RBX: 00007ffc90bb5970 RCX: 000000000045f97a [ 399.289992] RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 [ 399.297242] RBP: 0000000000745ca0 R08: 00007ffc90bb596c R09: 0000000000004000 [ 399.304490] R10: 00007ffc90bb5970 R11: 0000000000000246 R12: 0000000000000003 [ 399.311855] R13: 0000000000000000 R14: 0000000000000029 R15: 0000000000743ae0 [ 399.319112] [ 399.320725] Allocated by task 21754: [ 399.324566] kasan_kmalloc.part.1+0x62/0xf0 [ 399.328871] kasan_kmalloc+0xaf/0xc0 [ 399.332567] kmem_cache_alloc_trace+0x152/0x3a0 [ 399.337212] sock_alloc_inode+0x5c/0x230 [ 399.341455] alloc_inode+0x56/0x150 [ 399.345074] new_inode_pseudo+0xc/0xd0 [ 399.349210] sock_alloc+0x3c/0x270 [ 399.352745] __sock_create+0x7a/0x540 [ 399.356541] __sys_socket+0xd7/0x1d0 [ 399.360240] __x64_sys_socket+0x6e/0xb0 [ 399.364198] do_syscall_64+0xd0/0x4e0 [ 399.367991] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 399.373186] [ 399.374789] Freed by task 0: [ 399.377807] __kasan_slab_free+0x13c/0x220 [ 399.382018] kasan_slab_free+0xe/0x10 [ 399.385798] kfree+0xcf/0x220 [ 399.388888] rcu_process_callbacks+0xa57/0x19b0 [ 399.393538] __do_softirq+0x25e/0x92d [ 399.397318] [ 399.398919] The buggy address belongs to the object at ffff8881db88a9c0 [ 399.398919] which belongs to the cache kmalloc-128 of size 128 [ 399.411742] The buggy address is located 24 bytes inside of [ 399.411742] 128-byte region [ffff8881db88a9c0, ffff8881db88aa40) [ 399.423663] The buggy address belongs to the page: [ 399.428582] page:ffffea00076e2280 count:1 mapcount:0 mapping:ffff8881f6400640 index:0x0 [ 399.436714] flags: 0x17ffe0000000100(slab) [ 399.440945] raw: 017ffe0000000100 ffffea000774c1c8 ffffea0007d0f008 ffff8881f6400640 [ 399.448810] raw: 0000000000000000 ffff8881db88a000 0000000100000015 0000000000000000 [ 399.456674] page dumped because: kasan: bad access detected [ 399.462359] [ 399.463986] Memory state around the buggy address: [ 399.468898] ffff8881db88a880: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 399.476242] ffff8881db88a900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 399.483596] >ffff8881db88a980: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 399.491039] ^ [ 399.497543] ffff8881db88aa00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 399.504948] ffff8881db88aa80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 399.512342] ================================================================== [ 399.519682] Disabling lock debugging due to kernel taint [ 399.536106] Kernel panic - not syncing: panic_on_warn set ... [ 399.536106] [ 399.543479] CPU: 1 PID: 5945 Comm: syz-executor.2 Tainted: G B 4.19.164-syzkaller #0 [ 399.552766] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 399.562103] Call Trace: [ 399.564680] dump_stack+0x17c/0x22a [ 399.568332] panic+0x1cd/0x375 [ 399.571579] ? __warn_printk+0xd6/0xd6 [ 399.575566] ? ___preempt_schedule+0x16/0x18 [ 399.579962] kasan_end_report+0x47/0x4f [ 399.583916] kasan_report.cold.7+0x76/0x307 [ 399.588213] ? hci_chan_del+0x12b/0x170 [ 399.592164] __asan_report_load8_noabort+0x14/0x20 [ 399.597077] hci_chan_del+0x12b/0x170 [ 399.600853] l2cap_conn_del.isra.23+0x3dc/0x620 [ 399.605510] ? _raw_spin_unlock_irq+0x27/0x90 [ 399.609981] l2cap_disconn_cfm+0x61/0x80 [ 399.614016] ? mutex_lock_nested+0x16/0x20 [ 399.618236] hci_conn_hash_flush+0x10b/0x200 [ 399.622621] hci_dev_do_close+0x4d2/0xcd0 [ 399.626761] ? hci_dev_open+0x190/0x190 [ 399.630727] ? kasan_check_write+0x14/0x20 [ 399.634937] hci_unregister_dev+0x163/0x7a0 [ 399.639235] vhci_release+0x6b/0xe0 [ 399.642838] __fput+0x249/0x7f0 [ 399.646094] ____fput+0x9/0x10 [ 399.649268] task_work_run+0x108/0x180 [ 399.653154] do_exit+0xa8e/0x2e00 [ 399.656584] ? mm_update_next_owner+0x680/0x680 [ 399.661226] ? do_ip6t_get_ctl+0x130/0x730 [ 399.665461] ? aa_profile_af_perm+0x320/0x320 [ 399.669948] ? get_signal+0x2b7/0x1970 [ 399.673832] ? _raw_spin_unlock_irq+0x27/0x90 [ 399.678304] ? get_signal+0x2b7/0x1970 [ 399.682166] do_group_exit+0xf8/0x2c0 [ 399.685940] get_signal+0x308/0x1970 [ 399.689671] do_signal+0x87/0x1860 [ 399.693199] ? setup_sigcontext+0x7d0/0x7d0 [ 399.697507] ? sock_common_getsockopt+0x73/0xf0 [ 399.702164] ? __sys_getsockopt+0x12e/0x1f0 [ 399.706458] ? kernel_setsockopt+0x1e0/0x1e0 [ 399.710842] ? exit_to_usermode_loop+0x3a/0x1e0 [ 399.715492] ? do_syscall_64+0x413/0x4e0 [ 399.719530] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 399.724087] ? exit_to_usermode_loop+0x3a/0x1e0 [ 399.728747] ? trace_hardirqs_on+0x28/0x190 [ 399.733055] exit_to_usermode_loop+0x159/0x1e0 [ 399.737638] ? __x64_sys_getsockopt+0xb9/0x150 [ 399.742193] do_syscall_64+0x413/0x4e0 [ 399.746081] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 399.751248] RIP: 0033:0x45f97a [ 399.754425] Code: Bad RIP value. [ 399.757767] RSP: 002b:00007ffc90bb5948 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 [ 399.765460] RAX: 0000000000000000 RBX: 00007ffc90bb5970 RCX: 000000000045f97a [ 399.772706] RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 [ 399.779952] RBP: 0000000000745ca0 R08: 00007ffc90bb596c R09: 0000000000004000 [ 399.787198] R10: 00007ffc90bb5970 R11: 0000000000000246 R12: 0000000000000003 [ 399.794460] R13: 0000000000000000 R14: 0000000000000029 R15: 0000000000743ae0 [ 399.803508] Kernel Offset: disabled [ 399.808086] Rebooting in 86400 seconds..