Warning: Permanently added '10.128.0.139' (ECDSA) to the list of known hosts. syzkaller login: [ 51.260425] audit: type=1400 audit(1596703394.926:8): avc: denied { execmem } for pid=6474 comm="syz-executor244" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 51.276879] IPVS: ftp: loaded support on port[0] = 21 [ 51.292585] IPVS: ftp: loaded support on port[0] = 21 [ 51.297082] IPVS: ftp: loaded support on port[0] = 21 [ 51.307999] IPVS: ftp: loaded support on port[0] = 21 [ 51.311651] IPVS: ftp: loaded support on port[0] = 21 [ 51.323590] 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 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 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 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 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 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 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.598222] Bluetooth: hci0: command 0x0409 tx timeout [ 54.598227] Bluetooth: hci5: command 0x0409 tx timeout [ 54.598394] Bluetooth: hci2: command 0x0409 tx timeout [ 54.615496] Bluetooth: hci4: command 0x0409 tx timeout [ 54.677580] Bluetooth: hci1: command 0x0409 tx timeout [ 54.682969] Bluetooth: hci3: command 0x0409 tx timeout [ 56.677319] Bluetooth: hci4: command 0x041b tx timeout [ 56.677344] Bluetooth: hci2: command 0x041b tx timeout [ 56.677359] Bluetooth: hci5: command 0x041b tx timeout [ 56.677374] Bluetooth: hci0: command 0x041b tx timeout [ 56.757240] Bluetooth: hci3: command 0x041b tx timeout [ 56.762665] Bluetooth: hci1: command 0x041b tx timeout executing program executing program executing program executing program executing program executing program [ 57.600371] ================================================================== [ 57.607847] BUG: KASAN: use-after-free in sco_chan_del+0xe6/0x420 [ 57.614071] Write of size 4 at addr ffff8880a3ff2c10 by task syz-executor244/6649 [ 57.621671] [ 57.623289] CPU: 0 PID: 6649 Comm: syz-executor244 Not tainted 4.19.137-syzkaller #0 [ 57.631154] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.640498] Call Trace: [ 57.643091] dump_stack+0x1fc/0x2fe executing program executing program executing program executing program executing program executing program executing program executing program [ 57.646715] print_address_description.cold+0x54/0x219 [ 57.651980] kasan_report_error.cold+0x8a/0x1c7 [ 57.656644] ? sco_chan_del+0xe6/0x420 [ 57.660523] kasan_report+0x8f/0x96 [ 57.664139] ? sco_chan_del+0xe6/0x420 [ 57.668018] sco_chan_del+0xe6/0x420 [ 57.671740] __sco_sock_close+0xc3/0x720 [ 57.675812] sco_sock_release+0x6b/0x3d0 [ 57.679879] __sock_release+0xcd/0x2a0 [ 57.683772] ? __sock_release+0x2a0/0x2a0 [ 57.687919] sock_close+0x15/0x20 [ 57.691375] __fput+0x2ce/0x890 [ 57.694660] task_work_run+0x148/0x1c0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 57.698555] do_exit+0xbb2/0x2b70 [ 57.702016] ? bt_sock_wait_state+0x418/0x540 [ 57.706514] ? mm_update_next_owner+0x650/0x650 [ 57.711190] ? get_signal+0x388/0x1f70 [ 57.715086] ? lock_downgrade+0x720/0x720 [ 57.719235] ? lock_acquire+0x170/0x3c0 [ 57.723204] do_group_exit+0x125/0x310 [ 57.727085] get_signal+0x3f2/0x1f70 [ 57.730806] do_signal+0x8f/0x1670 [ 57.734351] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 57.738936] ? sco_sock_connect+0x540/0x970 [ 57.743260] ? __local_bh_enable_ip+0x159/0x270 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 57.747941] ? setup_sigcontext+0x820/0x820 [ 57.752270] ? sco_sock_create+0x100/0x100 [ 57.756509] ? __ia32_sys_accept+0xb0/0xb0 [ 57.760755] ? up_read+0x17/0x110 [ 57.764211] ? __do_page_fault+0x1ca/0xde0 [ 57.768453] ? exit_to_usermode_loop+0x36/0x2a0 [ 57.773160] exit_to_usermode_loop+0x204/0x2a0 [ 57.777734] do_syscall_64+0x538/0x620 [ 57.781627] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.786815] RIP: 0033:0x446eb9 [ 57.790016] Code: Bad RIP value. [ 57.793377] RSP: 002b:00007ffe49bf43c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a executing program executing program executing program executing program executing program executing program executing program executing program [ 57.801075] RAX: fffffffffffffffc RBX: 0000000000000000 RCX: 0000000000446eb9 [ 57.808332] RDX: 0000000000000008 RSI: 00000000200001c0 RDI: 0000000000000004 [ 57.815598] RBP: 0000000000000004 R08: 0000000000000002 R09: 00000000000100ff [ 57.822865] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 [ 57.830132] R13: 0000000000407b10 R14: 0000000000000000 R15: 0000000000000000 [ 57.837395] [ 57.839001] Allocated by task 6649: [ 57.842615] kmem_cache_alloc_trace+0x12f/0x380 [ 57.847278] hci_conn_add+0x53/0x11e0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 57.851083] hci_connect_sco+0x2fc/0x950 [ 57.855148] sco_sock_connect+0x2ff/0x970 [ 57.859300] __sys_connect+0x265/0x2c0 [ 57.863186] __x64_sys_connect+0x6f/0xb0 [ 57.867248] do_syscall_64+0xf9/0x620 [ 57.871048] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.876226] [ 57.877842] Freed by task 6638: [ 57.881124] kfree+0xcc/0x210 [ 57.884222] device_release+0x76/0x210 [ 57.888099] kobject_put+0x22d/0x350 [ 57.891819] put_device+0x1c/0x30 [ 57.895265] hci_conn_del+0x27e/0x6a0 executing program executing program executing program executing program executing program executing program executing program [ 57.899070] hci_phy_link_complete_evt.isra.0+0x5a4/0x7a0 [ 57.904609] hci_event_packet+0x1973/0x858f [ 57.908931] hci_rx_work+0x46b/0xa90 [ 57.912641] process_one_work+0x864/0x1570 [ 57.916862] worker_thread+0x64c/0x1130 [ 57.920814] kthread+0x30b/0x410 [ 57.924159] ret_from_fork+0x24/0x30 [ 57.927851] [ 57.929475] The buggy address belongs to the object at ffff8880a3ff2c00 [ 57.929475] which belongs to the cache kmalloc-4096 of size 4096 [ 57.942312] The buggy address is located 16 bytes inside of executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 57.942312] 4096-byte region [ffff8880a3ff2c00, ffff8880a3ff3c00) [ 57.954177] The buggy address belongs to the page: [ 57.959103] page:ffffea00028ffc80 count:1 mapcount:0 mapping:ffff88812c39cdc0 index:0x0 compound_mapcount: 0 [ 57.969067] flags: 0xfffe0000008100(slab|head) [ 57.973654] raw: 00fffe0000008100 ffffea00028f1f88 ffffea000290a888 ffff88812c39cdc0 [ 57.981539] raw: 0000000000000000 ffff8880a3ff2c00 0000000100000001 0000000000000000 [ 57.989409] page dumped because: kasan: bad access detected [ 57.995109] [ 57.996730] Memory state around the buggy address: executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 58.001656] ffff8880a3ff2b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 58.009013] ffff8880a3ff2b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 58.016371] >ffff8880a3ff2c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.023725] ^ [ 58.027615] ffff8880a3ff2c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.034970] ffff8880a3ff2d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.042316] ================================================================== executing program executing program executing program executing program executing program executing program executing program executing program [ 58.049660] Disabling lock debugging due to kernel taint 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 executing program executing program executing program executing program executing program executing program executing program [ 58.124692] Kernel panic - not syncing: panic_on_warn set ... [ 58.124692] [ 58.132085] CPU: 0 PID: 6649 Comm: syz-executor244 Tainted: G B 4.19.137-syzkaller #0 [ 58.141346] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.150692] Call Trace: [ 58.153281] dump_stack+0x1fc/0x2fe [ 58.156923] panic+0x26a/0x50e [ 58.160114] ? __warn_printk+0xf3/0xf3 [ 58.164005] ? preempt_schedule_common+0x45/0xc0 [ 58.168761] ? ___preempt_schedule+0x16/0x18 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 [ 58.173168] ? trace_hardirqs_on+0x55/0x210 [ 58.177491] kasan_end_report+0x43/0x49 [ 58.181463] kasan_report_error.cold+0xa7/0x1c7 [ 58.186131] ? sco_chan_del+0xe6/0x420 [ 58.190017] kasan_report+0x8f/0x96 [ 58.193644] ? sco_chan_del+0xe6/0x420 [ 58.197528] sco_chan_del+0xe6/0x420 [ 58.201246] __sco_sock_close+0xc3/0x720 [ 58.205310] sco_sock_release+0x6b/0x3d0 [ 58.209371] __sock_release+0xcd/0x2a0 [ 58.213257] ? __sock_release+0x2a0/0x2a0 [ 58.217401] sock_close+0x15/0x20 [ 58.220852] __fput+0x2ce/0x890 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 [ 58.224136] task_work_run+0x148/0x1c0 [ 58.228024] do_exit+0xbb2/0x2b70 [ 58.231477] ? bt_sock_wait_state+0x418/0x540 [ 58.235976] ? mm_update_next_owner+0x650/0x650 [ 58.240645] ? get_signal+0x388/0x1f70 [ 58.244536] ? lock_downgrade+0x720/0x720 [ 58.248681] ? lock_acquire+0x170/0x3c0 [ 58.252659] do_group_exit+0x125/0x310 [ 58.256548] get_signal+0x3f2/0x1f70 [ 58.260275] do_signal+0x8f/0x1670 [ 58.263819] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 58.268397] ? sco_sock_connect+0x540/0x970 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 [ 58.272732] ? __local_bh_enable_ip+0x159/0x270 [ 58.277399] ? setup_sigcontext+0x820/0x820 [ 58.281720] ? sco_sock_create+0x100/0x100 [ 58.285956] ? __ia32_sys_accept+0xb0/0xb0 [ 58.290197] ? up_read+0x17/0x110 [ 58.293650] ? __do_page_fault+0x1ca/0xde0 [ 58.297884] ? exit_to_usermode_loop+0x36/0x2a0 [ 58.302556] exit_to_usermode_loop+0x204/0x2a0 [ 58.307139] do_syscall_64+0x538/0x620 [ 58.311029] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.316215] RIP: 0033:0x446eb9 [ 58.319412] Code: Bad RIP value. 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 [ 58.322788] RSP: 002b:00007ffe49bf43c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 58.330490] RAX: fffffffffffffffc RBX: 0000000000000000 RCX: 0000000000446eb9 [ 58.337756] RDX: 0000000000000008 RSI: 00000000200001c0 RDI: 0000000000000004 [ 58.345018] RBP: 0000000000000004 R08: 0000000000000002 R09: 00000000000100ff [ 58.352281] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 [ 58.359546] R13: 0000000000407b10 R14: 0000000000000000 R15: 0000000000000000 [ 58.368088] Kernel Offset: disabled [ 58.371698] Rebooting in 86400 seconds..