[ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.216' (ECDSA) to the list of known hosts. syzkaller login: [ 62.368355][ T6860] IPVS: ftp: loaded support on port[0] = 21 [ 62.369121][ T6859] IPVS: ftp: loaded support on port[0] = 21 [ 62.380929][ T6857] IPVS: ftp: loaded support on port[0] = 21 [ 62.382362][ T6853] IPVS: ftp: loaded support on port[0] = 21 [ 62.403194][ T6858] IPVS: ftp: loaded support on port[0] = 21 [ 62.412436][ T6861] 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 [ 63.894739][ T7038] ================================================================== [ 63.903040][ T7038] BUG: KASAN: use-after-free in sco_chan_del+0xe6/0x430 [ 63.909983][ T7038] Write of size 4 at addr ffff888096b9a010 by task syz-executor111/7038 [ 63.918302][ T7038] [ 63.920645][ T7038] CPU: 0 PID: 7038 Comm: syz-executor111 Not tainted 5.8.0-rc7-next-20200731-syzkaller #0 [ 63.930539][ T7038] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.940601][ T7038] Call Trace: executing program executing program executing program executing program executing program [ 63.943906][ T7038] dump_stack+0x18f/0x20d [ 63.948248][ T7038] ? sco_chan_del+0xe6/0x430 [ 63.952849][ T7038] ? sco_chan_del+0xe6/0x430 [ 63.957461][ T7038] print_address_description.constprop.0.cold+0xae/0x497 [ 63.964499][ T7038] ? sco_chan_del+0xab/0x430 [ 63.969103][ T7038] ? lockdep_hardirqs_off+0x7e/0xb0 [ 63.974312][ T7038] ? vprintk_func+0x97/0x1a6 [ 63.978912][ T7038] ? sco_chan_del+0xe6/0x430 [ 63.983509][ T7038] ? sco_chan_del+0xe6/0x430 [ 63.988106][ T7038] kasan_report.cold+0x1f/0x37 executing program executing program executing program [ 63.992887][ T7038] ? sco_chan_del+0xe6/0x430 [ 63.997492][ T7038] check_memory_region+0x13d/0x180 [ 64.002610][ T7038] sco_chan_del+0xe6/0x430 [ 64.007035][ T7038] __sco_sock_close+0x16e/0x5b0 [ 64.011896][ T7038] sco_sock_release+0x69/0x290 [ 64.016677][ T7038] __sock_release+0xcd/0x280 [ 64.021281][ T7038] sock_close+0x18/0x20 [ 64.025445][ T7038] __fput+0x285/0x920 [ 64.029444][ T7038] ? __sock_release+0x280/0x280 [ 64.034305][ T7038] task_work_run+0xdd/0x190 [ 64.038821][ T7038] get_signal+0xd6c/0x1ee0 [ 64.043251][ T7038] ? kick_process+0xce/0x150 [ 64.047878][ T7038] ? task_work_add+0xe3/0x250 [ 64.052568][ T7038] arch_do_signal+0x82/0x2520 [ 64.057259][ T7038] ? fput_many+0xf6/0x1a0 [ 64.061614][ T7038] ? copy_siginfo_to_user32+0xa0/0xa0 [ 64.066990][ T7038] ? __sys_connect+0x109/0x190 [ 64.071763][ T7038] ? __sys_connect_file+0x1a0/0x1a0 [ 64.076973][ T7038] ? lock_is_held_type+0xbb/0xf0 [ 64.081922][ T7038] ? exit_to_user_mode_prepare+0xb9/0x1c0 [ 64.087647][ T7038] ? lockdep_hardirqs_on_prepare+0x354/0x530 [ 64.093646][ T7038] exit_to_user_mode_prepare+0x15d/0x1c0 [ 64.099294][ T7038] syscall_exit_to_user_mode+0x59/0x2b0 [ 64.104850][ T7038] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.110742][ T7038] RIP: 0033:0x4471b9 [ 64.114640][ T7038] 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 [ 64.134952][ T7038] RSP: 002b:00007f5d95082db8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 64.143378][ T7038] RAX: fffffffffffffffc RBX: 00000000006dcc28 RCX: 00000000004471b9 [ 64.151358][ T7038] RDX: 0000000000000008 RSI: 0000000020000080 RDI: 0000000000000004 [ 64.159342][ T7038] RBP: 00000000006dcc20 R08: 0000000000000000 R09: 0000000000000000 [ 64.167324][ T7038] R10: 0000000000000002 R11: 0000000000000246 R12: 00000000006dcc2c [ 64.175305][ T7038] R13: 00007ffefadaf57f R14: 00007f5d950839c0 R15: 0000000000000064 [ 64.183299][ T7038] [ 64.185815][ T7038] Allocated by task 7038: [ 64.190157][ T7038] kasan_save_stack+0x1b/0x40 [ 64.194886][ T7038] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 64.200525][ T7038] kmem_cache_alloc_trace+0x16e/0x2c0 [ 64.205917][ T7038] hci_conn_add+0x53/0x1330 [ 64.210427][ T7038] hci_connect_sco+0x356/0x860 [ 64.215199][ T7038] sco_sock_connect+0x308/0x980 [ 64.220056][ T7038] __sys_connect_file+0x155/0x1a0 [ 64.225086][ T7038] __sys_connect+0x160/0x190 [ 64.229687][ T7038] __x64_sys_connect+0x6f/0xb0 [ 64.234459][ T7038] do_syscall_64+0x2d/0x70 [ 64.238881][ T7038] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.244767][ T7038] [ 64.247095][ T7038] Freed by task 6982: [ 64.251083][ T7038] kasan_save_stack+0x1b/0x40 [ 64.255767][ T7038] kasan_set_track+0x1c/0x30 [ 64.260369][ T7038] kasan_set_free_info+0x1b/0x30 [ 64.265323][ T7038] __kasan_slab_free+0xd8/0x120 [ 64.270177][ T7038] kfree+0x103/0x2c0 [ 64.274079][ T7038] device_release+0x71/0x200 [ 64.278688][ T7038] kobject_put+0x171/0x270 [ 64.283108][ T7038] put_device+0x1b/0x30 [ 64.287270][ T7038] hci_conn_del+0x27e/0x6a0 [ 64.291787][ T7038] hci_phy_link_complete_evt.isra.0+0x508/0x790 [ 64.298042][ T7038] hci_event_packet+0x4696/0x87a8 [ 64.303071][ T7038] hci_rx_work+0x22e/0xb50 [ 64.307493][ T7038] process_one_work+0x94c/0x1670 [ 64.312439][ T7038] worker_thread+0x64c/0x1120 [ 64.318080][ T7038] kthread+0x3b5/0x4a0 [ 64.322159][ T7038] ret_from_fork+0x1f/0x30 [ 64.326570][ T7038] [ 64.328903][ T7038] The buggy address belongs to the object at ffff888096b9a000 [ 64.328903][ T7038] which belongs to the cache kmalloc-4k of size 4096 [ 64.342961][ T7038] The buggy address is located 16 bytes inside of [ 64.342961][ T7038] 4096-byte region [ffff888096b9a000, ffff888096b9b000) [ 64.356235][ T7038] The buggy address belongs to the page: [ 64.361883][ T7038] page:00000000a1753a6b refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x96b9a [ 64.372040][ T7038] head:00000000a1753a6b order:1 compound_mapcount:0 [ 64.378638][ T7038] flags: 0xfffe0000010200(slab|head) [ 64.383949][ T7038] raw: 00fffe0000010200 ffffea00029ada08 ffffea00025b6b08 ffff8880aa000900 [ 64.392547][ T7038] raw: 0000000000000000 ffff888096b9a000 0000000100000001 0000000000000000 [ 64.401137][ T7038] page dumped because: kasan: bad access detected [ 64.407551][ T7038] [ 64.409882][ T7038] Memory state around the buggy address: [ 64.415530][ T7038] ffff888096b99f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.423642][ T7038] ffff888096b99f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.431732][ T7038] >ffff888096b9a000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.441048][ T7038] ^ executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 64.445655][ T7038] ffff888096b9a080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.453733][ T7038] ffff888096b9a100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.461801][ T7038] ================================================================== [ 64.469871][ T7038] Disabling lock debugging due to kernel taint executing program executing program executing program executing program executing program executing program [ 64.510175][ T7038] Kernel panic - not syncing: panic_on_warn set ... [ 64.516828][ T7038] CPU: 0 PID: 7038 Comm: syz-executor111 Tainted: G B 5.8.0-rc7-next-20200731-syzkaller #0 [ 64.528185][ T7038] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.538356][ T7038] Call Trace: [ 64.541644][ T7038] dump_stack+0x18f/0x20d [ 64.545986][ T7038] ? sco_chan_del+0x20/0x430 [ 64.550580][ T7038] panic+0x2e3/0x75c [ 64.554478][ T7038] ? __warn_printk+0xf3/0xf3 executing program executing program executing program executing program executing program executing program executing program [ 64.559074][ T7038] ? preempt_schedule_common+0x59/0xc0 [ 64.564538][ T7038] ? sco_chan_del+0xe6/0x430 [ 64.569131][ T7038] ? preempt_schedule_thunk+0x16/0x18 [ 64.574512][ T7038] ? trace_hardirqs_on+0x55/0x220 [ 64.579549][ T7038] ? sco_chan_del+0xe6/0x430 [ 64.584145][ T7038] ? sco_chan_del+0xe6/0x430 [ 64.588739][ T7038] end_report+0x4d/0x53 [ 64.592899][ T7038] kasan_report.cold+0xd/0x37 [ 64.597580][ T7038] ? sco_chan_del+0xe6/0x430 [ 64.602176][ T7038] check_memory_region+0x13d/0x180 [ 64.607293][ T7038] sco_chan_del+0xe6/0x430 [ 64.611712][ T7038] __sco_sock_close+0x16e/0x5b0 [ 64.616568][ T7038] sco_sock_release+0x69/0x290 [ 64.621339][ T7038] __sock_release+0xcd/0x280 [ 64.625936][ T7038] sock_close+0x18/0x20 [ 64.630093][ T7038] __fput+0x285/0x920 [ 64.634081][ T7038] ? __sock_release+0x280/0x280 [ 64.638938][ T7038] task_work_run+0xdd/0x190 [ 64.643445][ T7038] get_signal+0xd6c/0x1ee0 [ 64.647868][ T7038] ? kick_process+0xce/0x150 [ 64.652459][ T7038] ? task_work_add+0xe3/0x250 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 64.657140][ T7038] arch_do_signal+0x82/0x2520 [ 64.661823][ T7038] ? fput_many+0xf6/0x1a0 [ 64.666187][ T7038] ? copy_siginfo_to_user32+0xa0/0xa0 [ 64.671580][ T7038] ? __sys_connect+0x109/0x190 [ 64.676339][ T7038] ? __sys_connect_file+0x1a0/0x1a0 [ 64.681517][ T7038] ? lock_is_held_type+0xbb/0xf0 [ 64.686453][ T7038] ? exit_to_user_mode_prepare+0xb9/0x1c0 [ 64.692184][ T7038] ? lockdep_hardirqs_on_prepare+0x354/0x530 [ 64.698168][ T7038] exit_to_user_mode_prepare+0x15d/0x1c0 [ 64.703814][ T7038] syscall_exit_to_user_mode+0x59/0x2b0 [ 64.709477][ T7038] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.715350][ T7038] RIP: 0033:0x4471b9 [ 64.719226][ T7038] 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 [ 64.738965][ T7038] RSP: 002b:00007f5d95082db8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 64.747430][ T7038] RAX: fffffffffffffffc RBX: 00000000006dcc28 RCX: 00000000004471b9 [ 64.755391][ T7038] RDX: 0000000000000008 RSI: 0000000020000080 RDI: 0000000000000004 [ 64.763343][ T7038] RBP: 00000000006dcc20 R08: 0000000000000000 R09: 0000000000000000 [ 64.771347][ T7038] R10: 0000000000000002 R11: 0000000000000246 R12: 00000000006dcc2c [ 64.779297][ T7038] R13: 00007ffefadaf57f R14: 00007f5d950839c0 R15: 0000000000000064 [ 64.788414][ T7038] Kernel Offset: disabled [ 64.792730][ T7038] Rebooting in 86400 seconds..