[ 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.191' (ECDSA) to the list of known hosts. syzkaller login: [ 39.483610] audit: type=1400 audit(1596206090.429:8): avc: denied { execmem } for pid=6434 comm="syz-executor623" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 39.498369] IPVS: ftp: loaded support on port[0] = 21 [ 40.601412] ================================================================== [ 40.608967] BUG: KASAN: slab-out-of-bounds in hci_inquiry_result_with_rssi_evt+0x225/0x6b0 [ 40.617421] Read of size 6 at addr ffff88808cbbe9bb by task kworker/u5:0/1228 [ 40.624697] [ 40.626336] CPU: 0 PID: 1228 Comm: kworker/u5:0 Not tainted 4.19.135-syzkaller #0 [ 40.633962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.643347] Workqueue: hci0 hci_rx_work [ 40.647327] Call Trace: [ 40.649952] dump_stack+0x1fc/0x2fe [ 40.653592] print_address_description.cold+0x54/0x219 [ 40.658888] kasan_report_error.cold+0x8a/0x1c7 [ 40.663573] ? hci_inquiry_result_with_rssi_evt+0x225/0x6b0 [ 40.669321] kasan_report+0x8f/0x96 [ 40.672957] ? hci_inquiry_result_with_rssi_evt+0x225/0x6b0 [ 40.678674] memcpy+0x20/0x50 [ 40.681786] hci_inquiry_result_with_rssi_evt+0x225/0x6b0 [ 40.687337] ? hci_resolve_name+0x180/0x180 [ 40.691669] hci_event_packet+0x18a3/0x858f [ 40.695995] ? mark_held_locks+0xf0/0xf0 [ 40.700059] ? __lock_acquire+0x6de/0x3ff0 [ 40.704298] ? hci_cmd_complete_evt+0xb5e0/0xb5e0 [ 40.709150] ? __update_load_avg_se+0x5ec/0xa00 [ 40.713825] ? debug_object_deactivate+0x1f9/0x2e0 [ 40.718774] ? mark_held_locks+0xa6/0xf0 [ 40.722840] ? _raw_spin_unlock_irqrestore+0x79/0xe0 [ 40.727959] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 40.732557] hci_rx_work+0x46b/0xa90 [ 40.736285] process_one_work+0x864/0x1570 [ 40.740537] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 40.745226] worker_thread+0x64c/0x1130 [ 40.749223] ? process_one_work+0x1570/0x1570 [ 40.753739] kthread+0x30b/0x410 [ 40.757136] ? kthread_park+0x180/0x180 [ 40.761116] ret_from_fork+0x24/0x30 [ 40.764834] [ 40.766461] Allocated by task 6435: [ 40.770096] __kmalloc_node_track_caller+0x4c/0x70 [ 40.775038] __alloc_skb+0xae/0x560 [ 40.778674] vhci_write+0xbd/0x450 [ 40.782239] __vfs_write+0x51b/0x770 [ 40.785969] vfs_write+0x1f3/0x540 [ 40.789517] ksys_write+0x12b/0x2a0 [ 40.793152] do_syscall_64+0xf9/0x620 [ 40.796957] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.802136] [ 40.803754] Freed by task 4647: [ 40.807033] kfree+0xcc/0x210 [ 40.810142] skb_release_data+0x6de/0x920 [ 40.814290] consume_skb+0x113/0x3d0 [ 40.818003] skb_free_datagram+0x16/0xf0 [ 40.822064] netlink_recvmsg+0x627/0xea0 [ 40.826126] sock_recvmsg+0xca/0x110 [ 40.829844] ___sys_recvmsg+0x255/0x570 [ 40.833820] __x64_sys_recvmsg+0x12f/0x220 [ 40.838065] do_syscall_64+0xf9/0x620 [ 40.842148] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.847331] [ 40.848957] The buggy address belongs to the object at ffff88808cbbe7c0 [ 40.848957] which belongs to the cache kmalloc-512 of size 512 [ 40.861631] The buggy address is located 507 bytes inside of [ 40.861631] 512-byte region [ffff88808cbbe7c0, ffff88808cbbe9c0) [ 40.873513] The buggy address belongs to the page: [ 40.878460] page:ffffea000232ef80 count:1 mapcount:0 mapping:ffff88812c39c940 index:0x0 [ 40.886607] flags: 0xfffe0000000100(slab) [ 40.890759] raw: 00fffe0000000100 ffffea00022e7608 ffffea00022ee888 ffff88812c39c940 executing program [ 40.898645] raw: 0000000000000000 ffff88808cbbe040 0000000100000006 0000000000000000 [ 40.906610] page dumped because: kasan: bad access detected [ 40.912317] [ 40.913934] Memory state around the buggy address: [ 40.918883] ffff88808cbbe880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 40.926243] ffff88808cbbe900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 40.933609] >ffff88808cbbe980: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 40.940978] ^ [ 40.946434] ffff88808cbbea00: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 [ 40.953799] ffff88808cbbea80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 40.961155] ================================================================== [ 40.977628] Disabling lock debugging due to kernel taint [ 40.984309] Kernel panic - not syncing: panic_on_warn set ... [ 40.984309] [ 40.991702] CPU: 0 PID: 1228 Comm: kworker/u5:0 Tainted: G B 4.19.135-syzkaller #0 [ 41.000715] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.010087] Workqueue: hci0 hci_rx_work [ 41.014103] Call Trace: [ 41.016700] dump_stack+0x1fc/0x2fe [ 41.020458] panic+0x26a/0x50e [ 41.023661] ? __warn_printk+0xf3/0xf3 [ 41.027561] ? preempt_schedule_common+0x45/0xc0 [ 41.032481] ? ___preempt_schedule+0x16/0x18 [ 41.036898] ? trace_hardirqs_on+0x55/0x210 [ 41.041214] kasan_end_report+0x43/0x49 [ 41.045179] kasan_report_error.cold+0xa7/0x1c7 [ 41.049956] ? hci_inquiry_result_with_rssi_evt+0x225/0x6b0 [ 41.055668] kasan_report+0x8f/0x96 [ 41.059629] ? hci_inquiry_result_with_rssi_evt+0x225/0x6b0 [ 41.065347] memcpy+0x20/0x50 [ 41.068437] hci_inquiry_result_with_rssi_evt+0x225/0x6b0 [ 41.074206] ? hci_resolve_name+0x180/0x180 [ 41.078529] hci_event_packet+0x18a3/0x858f [ 41.082835] ? mark_held_locks+0xf0/0xf0 [ 41.086893] ? __lock_acquire+0x6de/0x3ff0 [ 41.091111] ? hci_cmd_complete_evt+0xb5e0/0xb5e0 [ 41.095936] ? __update_load_avg_se+0x5ec/0xa00 [ 41.100699] ? debug_object_deactivate+0x1f9/0x2e0 [ 41.105637] ? mark_held_locks+0xa6/0xf0 [ 41.109684] ? _raw_spin_unlock_irqrestore+0x79/0xe0 [ 41.114771] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 41.119358] hci_rx_work+0x46b/0xa90 [ 41.123057] process_one_work+0x864/0x1570 [ 41.127291] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 41.131945] worker_thread+0x64c/0x1130 [ 41.136514] ? process_one_work+0x1570/0x1570 [ 41.140994] kthread+0x30b/0x410 [ 41.144345] ? kthread_park+0x180/0x180 [ 41.148315] ret_from_fork+0x24/0x30 [ 41.153073] Kernel Offset: disabled [ 41.156693] Rebooting in 86400 seconds..