Warning: Permanently added '10.128.0.45' (ECDSA) to the list of known hosts. syzkaller login: [ 40.103018] audit: type=1400 audit(1596415168.769:8): avc: denied { execmem } for pid=6477 comm="syz-executor681" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 40.125020] IPVS: ftp: loaded support on port[0] = 21 [ 40.140808] IPVS: ftp: loaded support on port[0] = 21 [ 40.143507] IPVS: ftp: loaded support on port[0] = 21 [ 40.150220] IPVS: ftp: loaded support on port[0] = 21 [ 40.153746] IPVS: ftp: loaded support on port[0] = 21 [ 40.166658] 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 [ 43.363792] Bluetooth: hci0: command 0x0409 tx timeout [ 43.443097] Bluetooth: hci3: command 0x0409 tx timeout [ 43.448608] Bluetooth: hci1: command 0x0409 tx timeout [ 43.453064] Bluetooth: hci4: command 0x0409 tx timeout [ 43.459881] Bluetooth: hci5: command 0x0409 tx timeout [ 43.465399] Bluetooth: hci2: command 0x0409 tx timeout [ 45.442136] Bluetooth: hci0: command 0x041b tx timeout [ 45.521898] Bluetooth: hci2: command 0x041b tx timeout [ 45.527325] Bluetooth: hci5: command 0x041b tx timeout [ 45.533818] Bluetooth: hci4: command 0x041b tx timeout [ 45.539131] Bluetooth: hci1: command 0x041b tx timeout [ 45.545264] Bluetooth: hci3: command 0x041b tx timeout 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 [ 46.404722] ================================================================== [ 46.412256] BUG: KASAN: use-after-free in sco_chan_del+0xe6/0x420 [ 46.418591] Write of size 4 at addr ffff8880844e6e50 by task syz-executor681/6643 [ 46.426188] [ 46.427801] CPU: 0 PID: 6643 Comm: syz-executor681 Not tainted 4.19.136-syzkaller #0 [ 46.435659] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.445006] Call Trace: [ 46.447591] dump_stack+0x1fc/0x2fe [ 46.451206] print_address_description.cold+0x54/0x219 [ 46.456471] kasan_report_error.cold+0x8a/0x1c7 [ 46.461135] ? sco_chan_del+0xe6/0x420 [ 46.465005] kasan_report+0x8f/0x96 [ 46.468617] ? sco_chan_del+0xe6/0x420 [ 46.472491] sco_chan_del+0xe6/0x420 [ 46.476310] __sco_sock_close+0xc3/0x720 [ 46.480366] sco_sock_release+0x6b/0x3d0 [ 46.484417] __sock_release+0xcd/0x2a0 [ 46.488294] ? __sock_release+0x2a0/0x2a0 [ 46.492426] sock_close+0x15/0x20 [ 46.495863] __fput+0x2ce/0x890 [ 46.499128] task_work_run+0x148/0x1c0 executing program executing program executing program executing program executing program executing program [ 46.503008] do_exit+0xbb2/0x2b70 [ 46.506454] ? bt_sock_wait_state+0x418/0x540 [ 46.510954] ? mm_update_next_owner+0x650/0x650 [ 46.515648] ? get_signal+0x388/0x1f70 [ 46.519556] ? lock_downgrade+0x720/0x720 [ 46.523717] ? lock_acquire+0x170/0x3c0 [ 46.527709] do_group_exit+0x125/0x310 [ 46.531616] get_signal+0x3f2/0x1f70 [ 46.535354] do_signal+0x8f/0x1670 [ 46.538909] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 46.543499] ? sco_sock_connect+0x540/0x970 [ 46.547872] ? __local_bh_enable_ip+0x159/0x270 [ 46.552528] ? setup_sigcontext+0x820/0x820 [ 46.556834] ? sco_sock_create+0x100/0x100 [ 46.561188] ? __ia32_sys_accept+0xb0/0xb0 [ 46.565426] ? up_read+0x17/0x110 [ 46.568863] ? __do_page_fault+0x1ca/0xde0 [ 46.573091] ? exit_to_usermode_loop+0x36/0x2a0 [ 46.577747] exit_to_usermode_loop+0x204/0x2a0 [ 46.582318] do_syscall_64+0x538/0x620 [ 46.586197] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.591380] RIP: 0033:0x446e69 [ 46.594564] Code: Bad RIP value. [ 46.597906] RSP: 002b:00007ffc797512f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 46.605598] RAX: fffffffffffffffc RBX: 0000000000000000 RCX: 0000000000446e69 [ 46.612852] RDX: 0000000000000008 RSI: 0000000020000000 RDI: 0000000000000004 [ 46.620118] RBP: 0000000000000004 R08: 0000000000000002 R09: 00000003000200ff [ 46.627387] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 [ 46.634640] R13: 0000000000407ac0 R14: 0000000000000000 R15: 0000000000000000 [ 46.641896] [ 46.643502] Allocated by task 6643: [ 46.647115] kmem_cache_alloc_trace+0x12f/0x380 [ 46.651784] hci_conn_add+0x53/0x11e0 [ 46.655575] hci_connect_sco+0x2fc/0x950 [ 46.659636] sco_sock_connect+0x2ff/0x970 [ 46.663765] __sys_connect+0x265/0x2c0 [ 46.667631] __x64_sys_connect+0x6f/0xb0 [ 46.671673] do_syscall_64+0xf9/0x620 [ 46.675454] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.680618] [ 46.682231] Freed by task 6630: [ 46.685493] kfree+0xcc/0x210 [ 46.688583] device_release+0x76/0x210 [ 46.692471] kobject_put+0x22d/0x350 [ 46.696169] put_device+0x1c/0x30 [ 46.699605] hci_conn_del+0x27e/0x6a0 [ 46.703388] hci_phy_link_complete_evt.isra.0+0x5a4/0x7a0 [ 46.708909] hci_event_packet+0x1973/0x858f [ 46.713230] hci_rx_work+0x46b/0xa90 [ 46.716925] process_one_work+0x864/0x1570 [ 46.721144] worker_thread+0x64c/0x1130 [ 46.725107] kthread+0x30b/0x410 [ 46.728455] ret_from_fork+0x24/0x30 [ 46.732147] [ 46.733766] The buggy address belongs to the object at ffff8880844e6e40 [ 46.733766] which belongs to the cache kmalloc-4096 of size 4096 [ 46.746584] The buggy address is located 16 bytes inside of [ 46.746584] 4096-byte region [ffff8880844e6e40, ffff8880844e7e40) [ 46.758445] The buggy address belongs to the page: [ 46.763368] page:ffffea0002113980 count:1 mapcount:0 mapping:ffff88812c39cdc0 index:0x0 compound_mapcount: 0 [ 46.773317] flags: 0xfffe0000008100(slab|head) [ 46.777891] raw: 00fffe0000008100 ffffea0002113488 ffffea0002113a08 ffff88812c39cdc0 [ 46.785755] raw: 0000000000000000 ffff8880844e6e40 0000000100000001 0000000000000000 [ 46.793618] page dumped because: kasan: bad access detected [ 46.799328] [ 46.800932] Memory state around the buggy address: [ 46.805864] ffff8880844e6d00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 46.813207] ffff8880844e6d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 46.820550] >ffff8880844e6e00: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 46.827906] ^ [ 46.833859] ffff8880844e6e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.841202] ffff8880844e6f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.848644] ================================================================== executing program [ 46.855982] Disabling lock debugging due to kernel taint [ 46.873207] Kernel panic - not syncing: panic_on_warn set ... [ 46.873207] [ 46.880623] CPU: 0 PID: 6643 Comm: syz-executor681 Tainted: G B 4.19.136-syzkaller #0 [ 46.889903] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.899262] Call Trace: [ 46.901856] dump_stack+0x1fc/0x2fe [ 46.905487] panic+0x26a/0x50e [ 46.908683] ? __warn_printk+0xf3/0xf3 [ 46.912578] ? preempt_schedule_common+0x45/0xc0 [ 46.917331] ? ___preempt_schedule+0x16/0x18 [ 46.921719] ? trace_hardirqs_on+0x55/0x210 [ 46.926021] kasan_end_report+0x43/0x49 [ 46.929975] kasan_report_error.cold+0xa7/0x1c7 [ 46.934627] ? sco_chan_del+0xe6/0x420 [ 46.938492] kasan_report+0x8f/0x96 [ 46.942100] ? sco_chan_del+0xe6/0x420 [ 46.945967] sco_chan_del+0xe6/0x420 [ 46.949661] __sco_sock_close+0xc3/0x720 [ 46.953702] sco_sock_release+0x6b/0x3d0 [ 46.957747] __sock_release+0xcd/0x2a0 [ 46.961619] ? __sock_release+0x2a0/0x2a0 [ 46.965749] sock_close+0x15/0x20 [ 46.969194] __fput+0x2ce/0x890 [ 46.972473] task_work_run+0x148/0x1c0 [ 46.976342] do_exit+0xbb2/0x2b70 [ 46.979781] ? bt_sock_wait_state+0x418/0x540 [ 46.984262] ? mm_update_next_owner+0x650/0x650 [ 46.988918] ? get_signal+0x388/0x1f70 [ 46.992788] ? lock_downgrade+0x720/0x720 [ 46.996915] ? lock_acquire+0x170/0x3c0 [ 47.000869] do_group_exit+0x125/0x310 [ 47.004742] get_signal+0x3f2/0x1f70 [ 47.008532] do_signal+0x8f/0x1670 [ 47.012073] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 47.016637] ? sco_sock_connect+0x540/0x970 [ 47.020940] ? __local_bh_enable_ip+0x159/0x270 [ 47.025588] ? setup_sigcontext+0x820/0x820 [ 47.029897] ? sco_sock_create+0x100/0x100 [ 47.034115] ? __ia32_sys_accept+0xb0/0xb0 [ 47.038330] ? up_read+0x17/0x110 [ 47.041767] ? __do_page_fault+0x1ca/0xde0 [ 47.045983] ? exit_to_usermode_loop+0x36/0x2a0 [ 47.050632] exit_to_usermode_loop+0x204/0x2a0 [ 47.055196] do_syscall_64+0x538/0x620 [ 47.059068] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 47.064237] RIP: 0033:0x446e69 [ 47.067409] Code: e8 4c e7 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 3b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 47.086293] RSP: 002b:00007ffc797512f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 47.093983] RAX: fffffffffffffffc RBX: 0000000000000000 RCX: 0000000000446e69 [ 47.101232] RDX: 0000000000000008 RSI: 0000000020000000 RDI: 0000000000000004 [ 47.108478] RBP: 0000000000000004 R08: 0000000000000002 R09: 00000003000200ff [ 47.115730] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 [ 47.122982] R13: 0000000000407ac0 R14: 0000000000000000 R15: 0000000000000000 [ 47.131693] Kernel Offset: disabled [ 47.135310] Rebooting in 86400 seconds..