Warning: Permanently added '10.128.0.247' (ECDSA) to the list of known hosts. [ 119.966281] IPVS: ftp: loaded support on port[0] = 21 executing program [ 122.000132] Bluetooth: hci0: command 0x0409 tx timeout [ 124.079425] Bluetooth: hci0: command 0x041b tx timeout executing program [ 126.159250] Bluetooth: hci0: command 0x040f tx timeout [ 128.239137] Bluetooth: hci0: command 0x0419 tx timeout executing program [ 130.318971] Bluetooth: hci0: command 0x0405 tx timeout executing program executing program executing program executing program executing program executing program [ 160.238148] ================================================================== [ 160.245642] BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 [ 160.252305] Read of size 8 at addr ffff8880aff5caa0 by task kworker/0:2/4692 [ 160.259473] [ 160.261089] CPU: 0 PID: 4692 Comm: kworker/0:2 Not tainted 4.19.172-syzkaller #0 [ 160.268603] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 160.277949] Workqueue: events l2cap_chan_timeout [ 160.282700] Call Trace: [ 160.285294] dump_stack+0x1fc/0x2ef [ 160.288912] print_address_description.cold+0x54/0x219 [ 160.294174] kasan_report_error.cold+0x8a/0x1b9 [ 160.298829] ? __lock_acquire+0x2cb4/0x3ff0 [ 160.303137] __asan_report_load8_noabort+0x88/0x90 [ 160.308062] ? __lock_acquire+0x2cb4/0x3ff0 [ 160.312382] __lock_acquire+0x2cb4/0x3ff0 [ 160.316749] ? trace_hardirqs_off+0x64/0x200 [ 160.321149] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 160.326240] ? debug_object_assert_init+0x242/0x2e0 [ 160.331247] ? mark_held_locks+0xf0/0xf0 [ 160.335297] ? debug_object_free+0x380/0x380 [ 160.339708] ? mark_held_locks+0xf0/0xf0 [ 160.343751] ? __save_stack_trace+0x9f/0x190 [ 160.348161] ? del_timer+0xc3/0x100 [ 160.351775] lock_acquire+0x170/0x3c0 [ 160.355609] ? lock_sock_nested+0x3b/0x110 [ 160.359831] _raw_spin_lock_bh+0x2f/0x40 [ 160.363876] ? lock_sock_nested+0x3b/0x110 [ 160.368098] lock_sock_nested+0x3b/0x110 [ 160.372145] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 160.376710] ? lock_downgrade+0x720/0x720 [ 160.380840] l2cap_chan_del+0xbc/0xa50 [ 160.384720] ? trace_hardirqs_off+0x64/0x200 [ 160.389122] l2cap_chan_close+0x1b5/0x950 [ 160.393253] ? __set_monitor_timer+0x200/0x200 [ 160.397827] ? check_preemption_disabled+0x41/0x280 [ 160.402838] l2cap_chan_timeout+0x17e/0x2f0 [ 160.407148] process_one_work+0x864/0x1570 [ 160.411376] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 160.416036] worker_thread+0x64c/0x1130 [ 160.420257] ? __kthread_parkme+0x133/0x1e0 [ 160.424602] ? process_one_work+0x1570/0x1570 [ 160.429093] kthread+0x33f/0x460 [ 160.432443] ? kthread_park+0x180/0x180 [ 160.436398] ret_from_fork+0x24/0x30 [ 160.440104] [ 160.441710] Allocated by task 8137: [ 160.445411] __kmalloc+0x15a/0x3c0 [ 160.448955] sk_prot_alloc+0x1e2/0x2d0 [ 160.453543] sk_alloc+0x36/0xec0 [ 160.456899] l2cap_sock_alloc.constprop.0+0x31/0x210 [ 160.462074] l2cap_sock_create+0x123/0x1f0 [ 160.466317] bt_sock_create+0x154/0x2a0 [ 160.470277] __sock_create+0x3d8/0x740 [ 160.474162] __sys_socket+0xef/0x200 [ 160.477869] __x64_sys_socket+0x6f/0xb0 [ 160.481837] do_syscall_64+0xf9/0x620 [ 160.485633] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 160.490807] [ 160.492413] Freed by task 8137: [ 160.495677] kfree+0xcc/0x210 [ 160.498772] __sk_destruct+0x684/0x8a0 [ 160.502640] __sk_free+0x165/0x3b0 [ 160.506267] sk_free+0x3b/0x50 [ 160.509442] l2cap_sock_kill.part.0+0x124/0x150 [ 160.514092] l2cap_sock_release+0x1e6/0x290 [ 160.518398] __sock_release+0xcd/0x2a0 [ 160.522268] sock_close+0x15/0x20 [ 160.525705] __fput+0x2ce/0x890 [ 160.529095] task_work_run+0x148/0x1c0 [ 160.532970] do_exit+0xbf3/0x2be0 [ 160.536408] do_group_exit+0x125/0x310 [ 160.540288] get_signal+0x3f2/0x1f70 [ 160.543986] do_signal+0x8f/0x1670 [ 160.547509] exit_to_usermode_loop+0x204/0x2a0 [ 160.552070] do_syscall_64+0x538/0x620 [ 160.555940] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 160.561105] [ 160.562713] The buggy address belongs to the object at ffff8880aff5ca00 [ 160.562713] which belongs to the cache kmalloc-2048 of size 2048 [ 160.575550] The buggy address is located 160 bytes inside of [ 160.575550] 2048-byte region [ffff8880aff5ca00, ffff8880aff5d200) [ 160.587534] The buggy address belongs to the page: [ 160.592481] page:ffffea0002bfd700 count:1 mapcount:0 mapping:ffff88813bff0c40 index:0x0 compound_mapcount: 0 [ 160.602443] flags: 0xfff00000008100(slab|head) [ 160.607023] raw: 00fff00000008100 ffffea0002537e88 ffffea0002bb0988 ffff88813bff0c40 [ 160.614888] raw: 0000000000000000 ffff8880aff5c180 0000000100000003 0000000000000000 [ 160.622749] page dumped because: kasan: bad access detected [ 160.628544] [ 160.630149] Memory state around the buggy address: [ 160.635198] ffff8880aff5c980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 160.642542] ffff8880aff5ca00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 160.649892] >ffff8880aff5ca80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 160.657492] ^ [ 160.661891] ffff8880aff5cb00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 160.669234] ffff8880aff5cb80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 160.676571] ================================================================== [ 160.683914] Disabling lock debugging due to kernel taint [ 160.689346] Kernel panic - not syncing: panic_on_warn set ... [ 160.689346] [ 160.696867] CPU: 0 PID: 4692 Comm: kworker/0:2 Tainted: G B 4.19.172-syzkaller #0 [ 160.705770] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 160.715111] Workqueue: events l2cap_chan_timeout [ 160.719842] Call Trace: [ 160.722427] dump_stack+0x1fc/0x2ef [ 160.726036] panic+0x26a/0x50e [ 160.729209] ? __warn_printk+0xf3/0xf3 [ 160.733091] ? lock_downgrade+0x720/0x720 [ 160.737317] ? print_shadow_for_address+0xb8/0x114 [ 160.742255] ? trace_hardirqs_off+0x64/0x200 [ 160.746646] kasan_end_report+0x43/0x49 [ 160.750606] kasan_report_error.cold+0xa7/0x1b9 [ 160.755258] ? __lock_acquire+0x2cb4/0x3ff0 [ 160.759575] __asan_report_load8_noabort+0x88/0x90 [ 160.764523] ? __lock_acquire+0x2cb4/0x3ff0 [ 160.768835] __lock_acquire+0x2cb4/0x3ff0 [ 160.772993] ? trace_hardirqs_off+0x64/0x200 [ 160.777394] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 160.782499] ? debug_object_assert_init+0x242/0x2e0 [ 160.787502] ? mark_held_locks+0xf0/0xf0 [ 160.791549] ? debug_object_free+0x380/0x380 [ 160.795992] ? mark_held_locks+0xf0/0xf0 [ 160.800056] ? __save_stack_trace+0x9f/0x190 [ 160.804493] ? del_timer+0xc3/0x100 [ 160.808105] lock_acquire+0x170/0x3c0 [ 160.811890] ? lock_sock_nested+0x3b/0x110 [ 160.816220] _raw_spin_lock_bh+0x2f/0x40 [ 160.820272] ? lock_sock_nested+0x3b/0x110 [ 160.824499] lock_sock_nested+0x3b/0x110 [ 160.828556] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 160.833229] ? lock_downgrade+0x720/0x720 [ 160.837359] l2cap_chan_del+0xbc/0xa50 [ 160.841230] ? trace_hardirqs_off+0x64/0x200 [ 160.845689] l2cap_chan_close+0x1b5/0x950 [ 160.849823] ? __set_monitor_timer+0x200/0x200 [ 160.854393] ? check_preemption_disabled+0x41/0x280 [ 160.859394] l2cap_chan_timeout+0x17e/0x2f0 [ 160.863715] process_one_work+0x864/0x1570 [ 160.867949] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 160.872603] worker_thread+0x64c/0x1130 [ 160.876576] ? __kthread_parkme+0x133/0x1e0 [ 160.880886] ? process_one_work+0x1570/0x1570 [ 160.885415] kthread+0x33f/0x460 [ 160.889306] ? kthread_park+0x180/0x180 [ 160.893277] ret_from_fork+0x24/0x30 [ 160.897887] Kernel Offset: disabled [ 160.901515] Rebooting in 86400 seconds..