[ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.19' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 65.535093][ T1519] ================================================================== [ 65.543344][ T1519] BUG: KASAN: slab-out-of-bounds in hci_inquiry_result_with_rssi_evt+0x230/0x6b0 [ 65.552468][ T1519] Read of size 6 at addr ffff88809ea231fb by task kworker/u5:0/1519 [ 65.560443][ T1519] [ 65.562784][ T1519] CPU: 0 PID: 1519 Comm: kworker/u5:0 Not tainted 5.8.0-rc4-syzkaller #0 [ 65.571188][ T1519] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.581258][ T1519] Workqueue: hci0 hci_rx_work [ 65.585935][ T1519] Call Trace: [ 65.589229][ T1519] dump_stack+0x18f/0x20d [ 65.593579][ T1519] ? hci_inquiry_result_with_rssi_evt+0x230/0x6b0 [ 65.600005][ T1519] ? hci_inquiry_result_with_rssi_evt+0x230/0x6b0 [ 65.606432][ T1519] print_address_description.constprop.0.cold+0xae/0x436 [ 65.613500][ T1519] ? lockdep_hardirqs_off+0x66/0xa0 [ 65.618708][ T1519] ? vprintk_func+0x97/0x1a6 [ 65.623313][ T1519] ? hci_inquiry_result_with_rssi_evt+0x230/0x6b0 [ 65.629754][ T1519] kasan_report.cold+0x1f/0x37 [ 65.634527][ T1519] ? hci_inquiry_result_with_rssi_evt+0x230/0x6b0 [ 65.640980][ T1519] check_memory_region+0x13d/0x180 [ 65.646097][ T1519] memcpy+0x20/0x60 [ 65.649921][ T1519] hci_inquiry_result_with_rssi_evt+0x230/0x6b0 [ 65.656174][ T1519] ? process_adv_report+0xe40/0xe40 [ 65.661388][ T1519] hci_event_packet+0x1e8c/0x86f5 [ 65.666426][ T1519] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 65.672422][ T1519] ? hci_cmd_complete_evt+0xc6e0/0xc6e0 [ 65.677979][ T1519] ? lock_acquire+0x1f1/0xad0 [ 65.682665][ T1519] ? skb_dequeue+0x1c/0x180 [ 65.687170][ T1519] ? find_held_lock+0x2d/0x110 [ 65.691930][ T1519] ? mark_lock+0xbc/0x1710 [ 65.696333][ T1519] ? mark_held_locks+0x9f/0xe0 [ 65.701112][ T1519] ? _raw_spin_unlock_irqrestore+0x62/0xe0 [ 65.706904][ T1519] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 65.712915][ T1519] ? trace_hardirqs_on+0x5f/0x220 [ 65.717926][ T1519] ? lockdep_hardirqs_on+0x6a/0xe0 [ 65.723025][ T1519] hci_rx_work+0x22e/0xb10 [ 65.727432][ T1519] process_one_work+0x94c/0x1670 [ 65.732362][ T1519] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 65.737715][ T1519] ? rwlock_bug.part.0+0x90/0x90 [ 65.742638][ T1519] worker_thread+0x64c/0x1120 [ 65.747303][ T1519] ? process_one_work+0x1670/0x1670 [ 65.752481][ T1519] kthread+0x3b5/0x4a0 [ 65.756570][ T1519] ? __kthread_bind_mask+0xc0/0xc0 [ 65.761665][ T1519] ? __kthread_bind_mask+0xc0/0xc0 [ 65.766801][ T1519] ret_from_fork+0x1f/0x30 [ 65.771228][ T1519] [ 65.773535][ T1519] Allocated by task 6800: [ 65.777846][ T1519] save_stack+0x1b/0x40 [ 65.781983][ T1519] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 65.787599][ T1519] __alloc_skb+0xae/0x550 [ 65.791912][ T1519] vhci_write+0xbd/0x450 [ 65.796140][ T1519] new_sync_write+0x422/0x650 [ 65.800796][ T1519] __vfs_write+0xc9/0x100 [ 65.805114][ T1519] vfs_write+0x268/0x5d0 [ 65.809348][ T1519] ksys_write+0x12d/0x250 [ 65.813657][ T1519] do_syscall_64+0x60/0xe0 [ 65.818054][ T1519] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.823921][ T1519] [ 65.826234][ T1519] Freed by task 4795: [ 65.830240][ T1519] save_stack+0x1b/0x40 [ 65.834373][ T1519] __kasan_slab_free+0xf5/0x140 [ 65.839214][ T1519] kfree+0x103/0x2c0 [ 65.843086][ T1519] kernfs_fop_release+0x120/0x190 [ 65.848088][ T1519] __fput+0x33c/0x880 [ 65.852061][ T1519] task_work_run+0xdd/0x190 [ 65.856555][ T1519] __prepare_exit_to_usermode+0x1e9/0x1f0 [ 65.862249][ T1519] do_syscall_64+0x6c/0xe0 [ 65.866641][ T1519] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.872501][ T1519] [ 65.874806][ T1519] The buggy address belongs to the object at ffff88809ea23000 [ 65.874806][ T1519] which belongs to the cache kmalloc-512 of size 512 [ 65.888854][ T1519] The buggy address is located 507 bytes inside of [ 65.888854][ T1519] 512-byte region [ffff88809ea23000, ffff88809ea23200) [ 65.902104][ T1519] The buggy address belongs to the page: [ 65.907731][ T1519] page:ffffea00027a88c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 65.916817][ T1519] flags: 0xfffe0000000200(slab) [ 65.921651][ T1519] raw: 00fffe0000000200 ffffea0002a11748 ffffea00029b84c8 ffff8880aa000a80 [ 65.930232][ T1519] raw: 0000000000000000 ffff88809ea23000 0000000100000004 0000000000000000 [ 65.938793][ T1519] page dumped because: kasan: bad access detected [ 65.945179][ T1519] [ 65.947483][ T1519] Memory state around the buggy address: [ 65.953092][ T1519] ffff88809ea23100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 65.961144][ T1519] ffff88809ea23180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 65.969193][ T1519] >ffff88809ea23200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 65.977233][ T1519] ^ [ 65.981283][ T1519] ffff88809ea23280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 65.989325][ T1519] ffff88809ea23300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 65.997375][ T1519] ================================================================== [ 66.005421][ T1519] Disabling lock debugging due to kernel taint [ 66.011700][ T1519] Kernel panic - not syncing: panic_on_warn set ... [ 66.018293][ T1519] CPU: 0 PID: 1519 Comm: kworker/u5:0 Tainted: G B 5.8.0-rc4-syzkaller #0 [ 66.028090][ T1519] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 66.038155][ T1519] Workqueue: hci0 hci_rx_work [ 66.042821][ T1519] Call Trace: [ 66.046092][ T1519] dump_stack+0x18f/0x20d [ 66.050406][ T1519] ? hci_inquiry_result_with_rssi_evt+0x1c0/0x6b0 [ 66.056800][ T1519] panic+0x2e3/0x75c [ 66.060676][ T1519] ? __warn_printk+0xf3/0xf3 [ 66.065243][ T1519] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 66.071387][ T1519] ? trace_hardirqs_on+0x55/0x220 [ 66.076407][ T1519] ? hci_inquiry_result_with_rssi_evt+0x230/0x6b0 [ 66.082809][ T1519] ? hci_inquiry_result_with_rssi_evt+0x230/0x6b0 [ 66.089203][ T1519] end_report+0x4d/0x53 [ 66.093340][ T1519] kasan_report.cold+0xd/0x37 [ 66.098002][ T1519] ? hci_inquiry_result_with_rssi_evt+0x230/0x6b0 [ 66.104406][ T1519] check_memory_region+0x13d/0x180 [ 66.109512][ T1519] memcpy+0x20/0x60 [ 66.113316][ T1519] hci_inquiry_result_with_rssi_evt+0x230/0x6b0 [ 66.119553][ T1519] ? process_adv_report+0xe40/0xe40 [ 66.124748][ T1519] hci_event_packet+0x1e8c/0x86f5 [ 66.129774][ T1519] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 66.135746][ T1519] ? hci_cmd_complete_evt+0xc6e0/0xc6e0 [ 66.141289][ T1519] ? lock_acquire+0x1f1/0xad0 [ 66.145953][ T1519] ? skb_dequeue+0x1c/0x180 [ 66.150436][ T1519] ? find_held_lock+0x2d/0x110 [ 66.155178][ T1519] ? mark_lock+0xbc/0x1710 [ 66.159571][ T1519] ? mark_held_locks+0x9f/0xe0 [ 66.164329][ T1519] ? _raw_spin_unlock_irqrestore+0x62/0xe0 [ 66.170119][ T1519] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 66.176080][ T1519] ? trace_hardirqs_on+0x5f/0x220 [ 66.181085][ T1519] ? lockdep_hardirqs_on+0x6a/0xe0 [ 66.186176][ T1519] hci_rx_work+0x22e/0xb10 [ 66.190574][ T1519] process_one_work+0x94c/0x1670 [ 66.195495][ T1519] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 66.200847][ T1519] ? rwlock_bug.part.0+0x90/0x90 [ 66.205766][ T1519] worker_thread+0x64c/0x1120 [ 66.210526][ T1519] ? process_one_work+0x1670/0x1670 [ 66.215702][ T1519] kthread+0x3b5/0x4a0 [ 66.219764][ T1519] ? __kthread_bind_mask+0xc0/0xc0 [ 66.224855][ T1519] ? __kthread_bind_mask+0xc0/0xc0 [ 66.229968][ T1519] ret_from_fork+0x1f/0x30 [ 66.235309][ T1519] Kernel Offset: disabled [ 66.239624][ T1519] Rebooting in 86400 seconds..