Starting System Logging Service... Starting Permit User Sessions... [ OK ] Started Daily apt download activities. [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Reached target Timers. [ OK ] Found device /dev/ttyS0. [ OK ] Started System Logging Service. [ OK ] Started Permit User Sessions. [ OK ] Started OpenBSD Secure Shell server. [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Started Getty on tty6. [ OK ] Started Getty on tty5. [ 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... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.61' (ECDSA) to the list of known hosts. syzkaller login: [ 69.091327][ T29] audit: type=1400 audit(1596632981.571:8): avc: denied { execmem } for pid=6835 comm="syz-executor974" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 69.116964][ T6843] IPVS: ftp: loaded support on port[0] = 21 [ 69.136995][ T6844] IPVS: ftp: loaded support on port[0] = 21 [ 69.143146][ T6845] IPVS: ftp: loaded support on port[0] = 21 [ 69.149292][ T6842] IPVS: ftp: loaded support on port[0] = 21 [ 69.157779][ T6846] IPVS: ftp: loaded support on port[0] = 21 [ 69.166150][ T6847] 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 [ 70.931793][ T7054] ================================================================== [ 70.940041][ T7054] BUG: KASAN: use-after-free in sco_chan_del+0xe6/0x430 [ 70.946968][ T7054] Write of size 4 at addr ffff88808b77e010 by task syz-executor974/7054 [ 70.955273][ T7054] [ 70.957664][ T7054] CPU: 0 PID: 7054 Comm: syz-executor974 Not tainted 5.8.0-syzkaller #0 [ 70.965994][ T7054] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 70.976037][ T7054] Call Trace: [ 70.979322][ T7054] dump_stack+0x18f/0x20d [ 70.983755][ T7054] ? sco_chan_del+0xe6/0x430 [ 70.988365][ T7054] ? sco_chan_del+0xe6/0x430 [ 70.992951][ T7054] ? __sock_release+0x280/0x280 [ 70.997799][ T7054] print_address_description.constprop.0.cold+0xae/0x436 [ 71.005127][ T7054] ? sco_chan_del+0xab/0x430 [ 71.009731][ T7054] ? vprintk_func+0x97/0x1a6 [ 71.014373][ T7054] ? sco_chan_del+0xe6/0x430 [ 71.019045][ T7054] kasan_report.cold+0x1f/0x37 [ 71.023828][ T7054] ? sco_chan_del+0xe6/0x430 [ 71.028421][ T7054] check_memory_region+0x13d/0x180 [ 71.033588][ T7054] sco_chan_del+0xe6/0x430 [ 71.038042][ T7054] __sco_sock_close+0x16e/0x5b0 [ 71.042917][ T7054] sco_sock_release+0x69/0x290 [ 71.047712][ T7054] __sock_release+0xcd/0x280 [ 71.052331][ T7054] sock_close+0x18/0x20 [ 71.056508][ T7054] __fput+0x33c/0x880 [ 71.060500][ T7054] task_work_run+0xdd/0x190 [ 71.065009][ T7054] get_signal+0xd6c/0x1ee0 [ 71.069435][ T7054] do_signal+0x82/0x2520 [ 71.073702][ T7054] ? fput_many+0xf6/0x1a0 [ 71.078052][ T7054] ? copy_siginfo_to_user32+0xa0/0xa0 [ 71.083450][ T7054] ? __sys_connect_file+0x1a0/0x1a0 [ 71.088666][ T7054] ? __x64_sys_futex+0x378/0x4e0 [ 71.093622][ T7054] ? __x64_sys_futex+0x382/0x4e0 [ 71.098567][ T7054] ? lock_is_held_type+0xbb/0xf0 [ 71.103526][ T7054] ? __prepare_exit_to_usermode+0x9e/0x1c0 [ 71.109369][ T7054] ? lockdep_hardirqs_on_prepare+0x354/0x530 [ 71.115471][ T7054] __prepare_exit_to_usermode+0x128/0x1c0 [ 71.121392][ T7054] do_syscall_64+0x6c/0xe0 [ 71.125854][ T7054] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 71.131749][ T7054] RIP: 0033:0x4471b9 [ 71.135651][ T7054] 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 [ 71.155251][ T7054] RSP: 002b:00007f99635cfdb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 71.163689][ T7054] RAX: fffffffffffffffc RBX: 00000000006dcc28 RCX: 00000000004471b9 [ 71.171693][ T7054] RDX: 0000000000000008 RSI: 0000000020000040 RDI: 0000000000000004 [ 71.179671][ T7054] RBP: 00000000006dcc20 R08: 0000000000000000 R09: 0000000000000000 [ 71.187637][ T7054] R10: 0000000000000002 R11: 0000000000000246 R12: 00000000006dcc2c [ 71.195874][ T7054] R13: 00007ffd49e1da3f R14: 00007f99635d09c0 R15: 0000000000000064 [ 71.204144][ T7054] [ 71.206484][ T7054] Allocated by task 7021: [ 71.210856][ T7054] save_stack+0x1b/0x40 [ 71.215278][ T7054] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 71.220908][ T7054] kmem_cache_alloc_trace+0x14f/0x2d0 [ 71.226282][ T7054] hci_conn_add+0x53/0x1340 [ 71.230803][ T7054] hci_connect_sco+0x350/0x860 [ 71.235567][ T7054] sco_sock_connect+0x308/0x980 [ 71.240432][ T7054] __sys_connect_file+0x155/0x1a0 [ 71.245451][ T7054] __sys_connect+0x160/0x190 [ 71.250057][ T7054] __x64_sys_connect+0x6f/0xb0 [ 71.254820][ T7054] do_syscall_64+0x60/0xe0 [ 71.259249][ T7054] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 71.265718][ T7054] [ 71.268233][ T7054] Freed by task 6998: [ 71.272543][ T7054] save_stack+0x1b/0x40 [ 71.277007][ T7054] __kasan_slab_free+0xf5/0x140 [ 71.282144][ T7054] kfree+0x103/0x2c0 [ 71.286098][ T7054] device_release+0x71/0x200 [ 71.290730][ T7054] kobject_put+0x1c0/0x270 [ 71.295501][ T7054] put_device+0x1b/0x30 [ 71.299689][ T7054] hci_conn_del+0x27e/0x6a0 [ 71.304195][ T7054] hci_phy_link_complete_evt.isra.0+0x508/0x790 [ 71.310448][ T7054] hci_event_packet+0x481a/0x86f5 [ 71.315485][ T7054] hci_rx_work+0x22e/0xb10 [ 71.319901][ T7054] process_one_work+0x94c/0x1670 [ 71.324884][ T7054] worker_thread+0x64c/0x1120 [ 71.329689][ T7054] kthread+0x3b5/0x4a0 [ 71.333773][ T7054] ret_from_fork+0x1f/0x30 [ 71.339501][ T7054] [ 71.341826][ T7054] The buggy address belongs to the object at ffff88808b77e000 [ 71.341826][ T7054] which belongs to the cache kmalloc-4k of size 4096 [ 71.355998][ T7054] The buggy address is located 16 bytes inside of [ 71.355998][ T7054] 4096-byte region [ffff88808b77e000, ffff88808b77f000) [ 71.369359][ T7054] The buggy address belongs to the page: [ 71.375177][ T7054] page:ffffea00022ddf80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 head:ffffea00022ddf80 order:1 compound_mapcount:0 [ 71.388729][ T7054] flags: 0xfffe0000010200(slab|head) [ 71.395082][ T7054] raw: 00fffe0000010200 ffffea00021ae088 ffffea00021d5008 ffff8880aa002000 [ 71.403677][ T7054] raw: 0000000000000000 ffff88808b77e000 0000000100000001 0000000000000000 [ 71.412434][ T7054] page dumped because: kasan: bad access detected [ 71.418826][ T7054] [ 71.421146][ T7054] Memory state around the buggy address: executing program executing program executing program executing program executing program [ 71.426777][ T7054] ffff88808b77df00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 71.434835][ T7054] ffff88808b77df80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 71.442896][ T7054] >ffff88808b77e000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 71.450929][ T7054] ^ [ 71.455505][ T7054] ffff88808b77e080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 71.463542][ T7054] ffff88808b77e100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 71.471593][ T7054] ================================================================== executing program executing program executing program executing program executing program [ 71.479727][ T7054] Disabling lock debugging due to kernel taint [ 71.543926][ T7054] Kernel panic - not syncing: panic_on_warn set ... [ 71.550550][ T7054] CPU: 0 PID: 7054 Comm: syz-executor974 Tainted: G B 5.8.0-syzkaller #0 [ 71.560253][ T7054] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 71.570299][ T7054] Call Trace: [ 71.573616][ T7054] dump_stack+0x18f/0x20d [ 71.577953][ T7054] ? sco_chan_del+0x50/0x430 [ 71.582543][ T7054] ? __sock_release+0x280/0x280 [ 71.587391][ T7054] panic+0x2e3/0x75c [ 71.591284][ T7054] ? __warn_printk+0xf3/0xf3 [ 71.595878][ T7054] ? preempt_schedule_common+0x59/0xc0 [ 71.601360][ T7054] ? sco_chan_del+0xe6/0x430 [ 71.605951][ T7054] ? preempt_schedule_thunk+0x16/0x18 [ 71.611323][ T7054] ? trace_hardirqs_on+0x55/0x220 [ 71.616372][ T7054] ? sco_chan_del+0xe6/0x430 [ 71.620955][ T7054] ? sco_chan_del+0xe6/0x430 [ 71.625544][ T7054] ? __sock_release+0x280/0x280 [ 71.630421][ T7054] end_report+0x4d/0x53 [ 71.634594][ T7054] kasan_report.cold+0xd/0x37 [ 71.639280][ T7054] ? sco_chan_del+0xe6/0x430 [ 71.643900][ T7054] check_memory_region+0x13d/0x180 [ 71.649055][ T7054] sco_chan_del+0xe6/0x430 [ 71.653468][ T7054] __sco_sock_close+0x16e/0x5b0 [ 71.658319][ T7054] sco_sock_release+0x69/0x290 [ 71.663085][ T7054] __sock_release+0xcd/0x280 [ 71.667683][ T7054] sock_close+0x18/0x20 [ 71.671863][ T7054] __fput+0x33c/0x880 [ 71.675957][ T7054] task_work_run+0xdd/0x190 [ 71.680463][ T7054] get_signal+0xd6c/0x1ee0 [ 71.684887][ T7054] do_signal+0x82/0x2520 [ 71.689506][ T7054] ? fput_many+0xf6/0x1a0 [ 71.693848][ T7054] ? copy_siginfo_to_user32+0xa0/0xa0 [ 71.699216][ T7054] ? __sys_connect_file+0x1a0/0x1a0 [ 71.704504][ T7054] ? __x64_sys_futex+0x378/0x4e0 [ 71.709472][ T7054] ? __x64_sys_futex+0x382/0x4e0 [ 71.714414][ T7054] ? lock_is_held_type+0xbb/0xf0 [ 71.719372][ T7054] ? __prepare_exit_to_usermode+0x9e/0x1c0 [ 71.725185][ T7054] ? lockdep_hardirqs_on_prepare+0x354/0x530 [ 71.731286][ T7054] __prepare_exit_to_usermode+0x128/0x1c0 [ 71.737011][ T7054] do_syscall_64+0x6c/0xe0 [ 71.741429][ T7054] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 71.747316][ T7054] RIP: 0033:0x4471b9 [ 71.751210][ T7054] 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 [ 71.770901][ T7054] RSP: 002b:00007f99635cfdb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 71.779315][ T7054] RAX: fffffffffffffffc RBX: 00000000006dcc28 RCX: 00000000004471b9 [ 71.787284][ T7054] RDX: 0000000000000008 RSI: 0000000020000040 RDI: 0000000000000004 [ 71.795348][ T7054] RBP: 00000000006dcc20 R08: 0000000000000000 R09: 0000000000000000 [ 71.803316][ T7054] R10: 0000000000000002 R11: 0000000000000246 R12: 00000000006dcc2c [ 71.811285][ T7054] R13: 00007ffd49e1da3f R14: 00007f99635d09c0 R15: 0000000000000064 [ 71.820256][ T7054] Kernel Offset: disabled [ 71.824591][ T7054] Rebooting in 86400 seconds..