Warning: Permanently added '10.128.0.76' (ECDSA) to the list of known hosts. [ 32.515560] audit: type=1400 audit(1596700300.676:8): avc: denied { execmem } for pid=6358 comm="syz-executor065" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 32.769827] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.588294] Bluetooth: Wrong link type (-22) [ 34.601619] Bluetooth: Wrong link type (-22) [ 34.606136] Bluetooth: Wrong link type (-22) [ 34.611105] Bluetooth: Wrong link type (-22) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.637801] Bluetooth: Wrong link type (-22) [ 34.642367] Bluetooth: Wrong link type (-22) [ 34.646929] Bluetooth: Wrong link type (-22) [ 34.651637] Bluetooth: Wrong link type (-22) [ 34.656193] Bluetooth: Wrong link type (-22) [ 34.660799] Bluetooth: Wrong link type (-22) [ 34.665327] Bluetooth: Wrong link type (-22) [ 34.670025] Bluetooth: Wrong link type (-22) [ 34.674563] Bluetooth: Wrong link type (-22) [ 34.679174] Bluetooth: Wrong link type (-22) [ 34.683643] Bluetooth: Wrong link type (-22) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.689194] Bluetooth: Wrong link type (-22) [ 34.693712] Bluetooth: Wrong link type (-22) [ 34.698422] Bluetooth: Wrong link type (-22) [ 34.702942] Bluetooth: Wrong link type (-22) [ 34.707617] Bluetooth: Wrong link type (-22) [ 34.712135] Bluetooth: Wrong link type (-22) [ 34.749322] ================================================================== [ 34.756834] BUG: KASAN: use-after-free in hci_send_acl+0xac8/0xc60 [ 34.763136] Read of size 8 at addr ffff88809d80b558 by task kworker/u5:1/6383 [ 34.770391] [ 34.771999] CPU: 0 PID: 6383 Comm: kworker/u5:1 Not tainted 4.14.192-syzkaller #0 [ 34.779591] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.788930] Workqueue: hci0 hci_rx_work [ 34.792882] Call Trace: [ 34.795449] dump_stack+0x1b2/0x283 [ 34.799058] print_address_description.cold+0x54/0x1d3 [ 34.804312] kasan_report_error.cold+0x8a/0x194 [ 34.808969] ? hci_send_acl+0xac8/0xc60 [ 34.812920] __asan_report_load8_noabort+0x68/0x70 [ 34.817826] ? hci_send_acl+0xac8/0xc60 [ 34.821775] hci_send_acl+0xac8/0xc60 [ 34.825549] ? memcpy+0x35/0x50 [ 34.828804] ? l2cap_build_cmd+0x4fc/0x690 [ 34.833016] l2cap_send_cmd+0x19d/0x1f0 [ 34.836967] l2cap_recv_frame+0x1261/0x95c0 [ 34.841267] ? kfree_skbmem+0x98/0x100 [ 34.845132] ? __lock_acquire+0x5fc/0x3f20 [ 34.849345] ? l2cap_ertm_init+0xb70/0xb70 [ 34.853558] ? lock_acquire+0x170/0x3f0 [ 34.857508] ? hci_rx_work+0x278/0x970 [ 34.861390] ? trace_hardirqs_on+0x10/0x10 [ 34.865599] ? hci_rx_work+0x278/0x970 [ 34.869463] ? hci_rx_work+0x3a2/0x970 [ 34.873327] ? lock_downgrade+0x740/0x740 [ 34.877454] ? __ww_mutex_wakeup_for_backoff+0x210/0x210 [ 34.882881] ? __mutex_unlock_slowpath+0x75/0x770 [ 34.887710] l2cap_recv_acldata+0x7a6/0x8b0 [ 34.892008] hci_rx_work+0x3d1/0x970 [ 34.895702] process_one_work+0x793/0x14a0 [ 34.899927] ? work_busy+0x320/0x320 [ 34.903638] ? worker_thread+0x158/0xff0 [ 34.907706] ? _raw_spin_unlock_irq+0x24/0x80 [ 34.912197] worker_thread+0x5cc/0xff0 [ 34.916069] ? rescuer_thread+0xc80/0xc80 [ 34.920196] kthread+0x30d/0x420 [ 34.923538] ? kthread_create_on_node+0xd0/0xd0 [ 34.928184] ret_from_fork+0x24/0x30 [ 34.931877] [ 34.933482] Allocated by task 1202: [ 34.937085] kasan_kmalloc+0xeb/0x160 [ 34.940858] kmem_cache_alloc_trace+0x131/0x3d0 [ 34.945502] hci_chan_create+0x7c/0x300 [ 34.949452] l2cap_conn_add.part.0+0x18/0xc20 [ 34.953922] l2cap_connect_cfm+0x1d2/0xce0 [ 34.958131] hci_event_packet+0x1eb3/0x7c7a [ 34.962438] hci_rx_work+0x3e6/0x970 [ 34.966127] process_one_work+0x793/0x14a0 [ 34.970335] worker_thread+0x5cc/0xff0 [ 34.974195] kthread+0x30d/0x420 [ 34.977536] ret_from_fork+0x24/0x30 [ 34.981222] [ 34.982823] Freed by task 6383: [ 34.986079] kasan_slab_free+0xc3/0x1a0 [ 34.990028] kfree+0xc9/0x250 [ 34.993108] hci_event_packet+0xeae/0x7c7a [ 34.997315] hci_rx_work+0x3e6/0x970 [ 35.001003] process_one_work+0x793/0x14a0 [ 35.005211] worker_thread+0x5cc/0xff0 [ 35.009071] kthread+0x30d/0x420 [ 35.012412] ret_from_fork+0x24/0x30 [ 35.016095] [ 35.017699] The buggy address belongs to the object at ffff88809d80b540 [ 35.017699] which belongs to the cache kmalloc-128 of size 128 [ 35.030341] The buggy address is located 24 bytes inside of [ 35.030341] 128-byte region [ffff88809d80b540, ffff88809d80b5c0) [ 35.042101] The buggy address belongs to the page: [ 35.047005] page:ffffea00027602c0 count:1 mapcount:0 mapping:ffff88809d80b000 index:0x0 [ 35.055123] flags: 0xfffe0000000100(slab) [ 35.059247] raw: 00fffe0000000100 ffff88809d80b000 0000000000000000 0000000100000015 [ 35.067105] raw: ffffea000277c3e0 ffffea00027675a0 ffff88812fe52640 0000000000000000 [ 35.074960] page dumped because: kasan: bad access detected [ 35.080654] [ 35.082255] Memory state around the buggy address: [ 35.087160] ffff88809d80b400: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc executing program [ 35.094496] ffff88809d80b480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.101833] >ffff88809d80b500: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 35.109164] ^ [ 35.115367] ffff88809d80b580: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 35.122704] ffff88809d80b600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 35.130039] ================================================================== [ 35.137382] Disabling lock debugging due to kernel taint [ 35.147876] Kernel panic - not syncing: panic_on_warn set ... [ 35.147876] [ 35.155248] CPU: 1 PID: 6383 Comm: kworker/u5:1 Tainted: G B 4.14.192-syzkaller #0 [ 35.164072] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.173420] Workqueue: hci0 hci_rx_work [ 35.177414] Call Trace: [ 35.179985] dump_stack+0x1b2/0x283 [ 35.183621] panic+0x1f9/0x42d [ 35.186782] ? add_taint.cold+0x16/0x16 [ 35.190729] ? ___preempt_schedule+0x16/0x18 [ 35.195134] kasan_end_report+0x43/0x49 [ 35.199083] kasan_report_error.cold+0xa7/0x194 [ 35.203724] ? hci_send_acl+0xac8/0xc60 [ 35.207668] __asan_report_load8_noabort+0x68/0x70 [ 35.212569] ? hci_send_acl+0xac8/0xc60 [ 35.216512] hci_send_acl+0xac8/0xc60 [ 35.220283] ? memcpy+0x35/0x50 [ 35.223538] ? l2cap_build_cmd+0x4fc/0x690 [ 35.227746] l2cap_send_cmd+0x19d/0x1f0 [ 35.231693] l2cap_recv_frame+0x1261/0x95c0 [ 35.235986] ? kfree_skbmem+0x98/0x100 [ 35.239847] ? __lock_acquire+0x5fc/0x3f20 [ 35.244051] ? l2cap_ertm_init+0xb70/0xb70 [ 35.248273] ? lock_acquire+0x170/0x3f0 [ 35.252217] ? hci_rx_work+0x278/0x970 [ 35.256091] ? trace_hardirqs_on+0x10/0x10 [ 35.260321] ? hci_rx_work+0x278/0x970 [ 35.264182] ? hci_rx_work+0x3a2/0x970 [ 35.268048] ? lock_downgrade+0x740/0x740 [ 35.272174] ? __ww_mutex_wakeup_for_backoff+0x210/0x210 [ 35.277603] ? __mutex_unlock_slowpath+0x75/0x770 [ 35.282482] l2cap_recv_acldata+0x7a6/0x8b0 [ 35.286776] hci_rx_work+0x3d1/0x970 [ 35.290519] process_one_work+0x793/0x14a0 [ 35.294729] ? work_busy+0x320/0x320 [ 35.298461] ? worker_thread+0x158/0xff0 [ 35.302495] ? _raw_spin_unlock_irq+0x24/0x80 [ 35.306967] worker_thread+0x5cc/0xff0 [ 35.310831] ? rescuer_thread+0xc80/0xc80 [ 35.314992] kthread+0x30d/0x420 [ 35.318330] ? kthread_create_on_node+0xd0/0xd0 [ 35.322970] ret_from_fork+0x24/0x30 [ 35.327895] Kernel Offset: disabled [ 35.331508] Rebooting in 86400 seconds..