Warning: Permanently added '10.128.0.188' (ECDSA) to the list of known hosts. syzkaller login: [ 114.588677] IPVS: ftp: loaded support on port[0] = 21 executing program [ 116.618847] Bluetooth: hci0: command 0x0409 tx timeout [ 118.698416] Bluetooth: hci0: command 0x041b tx timeout executing program [ 120.778366] Bluetooth: hci0: command 0x040f tx timeout [ 122.858396] Bluetooth: hci0: command 0x0419 tx timeout executing program [ 124.938372] Bluetooth: hci0: command 0x0405 tx timeout executing program executing program executing program executing program executing program executing program [ 154.938884] ================================================================== [ 154.946266] BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 [ 154.952929] Read of size 8 at addr ffff8880b0ba23a0 by task kworker/0:2/3571 [ 154.960086] [ 154.961707] CPU: 0 PID: 3571 Comm: kworker/0:2 Not tainted 4.19.185-syzkaller #0 [ 154.969222] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 154.978562] Workqueue: events l2cap_chan_timeout [ 154.983299] Call Trace: [ 154.985868] dump_stack+0x1fc/0x2ef [ 154.989481] print_address_description.cold+0x54/0x219 [ 154.994742] kasan_report_error.cold+0x8a/0x1b9 [ 154.999393] ? __lock_acquire+0x2cb4/0x3ff0 [ 155.003695] __asan_report_load8_noabort+0x88/0x90 [ 155.008620] ? __lock_acquire+0x2cb4/0x3ff0 [ 155.012937] __lock_acquire+0x2cb4/0x3ff0 [ 155.017067] ? trace_hardirqs_off+0x64/0x200 [ 155.021471] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 155.026572] ? debug_object_assert_init+0x242/0x2e0 [ 155.031567] ? mark_held_locks+0xf0/0xf0 [ 155.035621] ? debug_object_free+0x380/0x380 [ 155.040024] ? mark_held_locks+0xf0/0xf0 [ 155.044089] ? __save_stack_trace+0x9f/0x190 [ 155.048496] ? del_timer+0xc3/0x100 [ 155.052108] lock_acquire+0x170/0x3c0 [ 155.055902] ? lock_sock_nested+0x3b/0x110 [ 155.060126] _raw_spin_lock_bh+0x2f/0x40 [ 155.064165] ? lock_sock_nested+0x3b/0x110 [ 155.068390] lock_sock_nested+0x3b/0x110 [ 155.072462] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 155.077033] ? lock_downgrade+0x720/0x720 [ 155.081182] l2cap_chan_del+0xbc/0xa50 [ 155.085054] ? trace_hardirqs_off+0x64/0x200 [ 155.089452] l2cap_chan_close+0x1b5/0x950 [ 155.093584] ? __set_monitor_timer+0x200/0x200 [ 155.098150] ? check_preemption_disabled+0x41/0x280 [ 155.103146] l2cap_chan_timeout+0x17e/0x2f0 [ 155.107450] process_one_work+0x864/0x1570 [ 155.111689] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 155.116363] worker_thread+0x64c/0x1130 [ 155.120334] ? __kthread_parkme+0x133/0x1e0 [ 155.124634] ? process_one_work+0x1570/0x1570 [ 155.129108] kthread+0x33f/0x460 [ 155.132455] ? kthread_park+0x180/0x180 [ 155.136410] ret_from_fork+0x24/0x30 [ 155.140098] [ 155.141703] Allocated by task 8165: [ 155.145308] __kmalloc+0x15a/0x3c0 [ 155.148826] sk_prot_alloc+0x1e2/0x2d0 [ 155.152689] sk_alloc+0x36/0xec0 [ 155.156061] l2cap_sock_alloc.constprop.0+0x31/0x210 [ 155.161170] l2cap_sock_create+0x123/0x1f0 [ 155.165383] bt_sock_create+0x154/0x2a0 [ 155.169353] __sock_create+0x3d8/0x740 [ 155.173221] __sys_socket+0xef/0x200 [ 155.176947] __x64_sys_socket+0x6f/0xb0 [ 155.180901] do_syscall_64+0xf9/0x620 [ 155.184681] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 155.189842] [ 155.191444] Freed by task 8165: [ 155.194700] kfree+0xcc/0x210 [ 155.197822] __sk_destruct+0x684/0x8a0 [ 155.201687] __sk_free+0x165/0x3b0 [ 155.205203] sk_free+0x3b/0x50 [ 155.208381] l2cap_sock_kill.part.0+0x124/0x150 [ 155.213061] l2cap_sock_release+0x1e6/0x290 [ 155.217387] __sock_release+0xcd/0x2a0 [ 155.221255] sock_close+0x15/0x20 [ 155.224701] __fput+0x2ce/0x890 [ 155.228048] task_work_run+0x148/0x1c0 [ 155.231913] do_exit+0xbf3/0x2be0 [ 155.235357] do_group_exit+0x125/0x310 [ 155.239227] get_signal+0x3f2/0x1f70 [ 155.242923] do_signal+0x8f/0x1670 [ 155.246445] exit_to_usermode_loop+0x204/0x2a0 [ 155.251006] do_syscall_64+0x538/0x620 [ 155.254874] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 155.260049] [ 155.261656] The buggy address belongs to the object at ffff8880b0ba2300 [ 155.261656] which belongs to the cache kmalloc-2048 of size 2048 [ 155.274483] The buggy address is located 160 bytes inside of [ 155.274483] 2048-byte region [ffff8880b0ba2300, ffff8880b0ba2b00) [ 155.286437] The buggy address belongs to the page: [ 155.291352] page:ffffea0002c2e880 count:1 mapcount:0 mapping:ffff88813bff0c40 index:0x0 compound_mapcount: 0 [ 155.301299] flags: 0xfff00000008100(slab|head) [ 155.305865] raw: 00fff00000008100 ffffea0002c1a408 ffffea000254c308 ffff88813bff0c40 [ 155.313730] raw: 0000000000000000 ffff8880b0ba2300 0000000100000003 0000000000000000 [ 155.321595] page dumped because: kasan: bad access detected [ 155.327295] [ 155.328912] Memory state around the buggy address: [ 155.333831] ffff8880b0ba2280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 155.341167] ffff8880b0ba2300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 155.348545] >ffff8880b0ba2380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 155.355878] ^ [ 155.360279] ffff8880b0ba2400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 155.367615] ffff8880b0ba2480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 155.374946] ================================================================== [ 155.382281] Disabling lock debugging due to kernel taint [ 155.387710] Kernel panic - not syncing: panic_on_warn set ... [ 155.387710] [ 155.395066] CPU: 0 PID: 3571 Comm: kworker/0:2 Tainted: G B 4.19.185-syzkaller #0 [ 155.404656] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 155.413998] Workqueue: events l2cap_chan_timeout [ 155.418729] Call Trace: [ 155.421312] dump_stack+0x1fc/0x2ef [ 155.424925] panic+0x26a/0x50e [ 155.428100] ? __warn_printk+0xf3/0xf3 [ 155.431967] ? lock_downgrade+0x720/0x720 [ 155.436108] ? print_shadow_for_address+0xb8/0x114 [ 155.441030] ? trace_hardirqs_off+0x64/0x200 [ 155.445419] kasan_end_report+0x43/0x49 [ 155.449373] kasan_report_error.cold+0xa7/0x1b9 [ 155.454023] ? __lock_acquire+0x2cb4/0x3ff0 [ 155.458325] __asan_report_load8_noabort+0x88/0x90 [ 155.463240] ? __lock_acquire+0x2cb4/0x3ff0 [ 155.467547] __lock_acquire+0x2cb4/0x3ff0 [ 155.471681] ? trace_hardirqs_off+0x64/0x200 [ 155.476086] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 155.481168] ? debug_object_assert_init+0x242/0x2e0 [ 155.486167] ? mark_held_locks+0xf0/0xf0 [ 155.490226] ? debug_object_free+0x380/0x380 [ 155.494613] ? mark_held_locks+0xf0/0xf0 [ 155.498654] ? __save_stack_trace+0x9f/0x190 [ 155.503041] ? del_timer+0xc3/0x100 [ 155.506660] lock_acquire+0x170/0x3c0 [ 155.510447] ? lock_sock_nested+0x3b/0x110 [ 155.514663] _raw_spin_lock_bh+0x2f/0x40 [ 155.518703] ? lock_sock_nested+0x3b/0x110 [ 155.522930] lock_sock_nested+0x3b/0x110 [ 155.526986] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 155.531550] ? lock_downgrade+0x720/0x720 [ 155.535697] l2cap_chan_del+0xbc/0xa50 [ 155.539593] ? trace_hardirqs_off+0x64/0x200 [ 155.543984] l2cap_chan_close+0x1b5/0x950 [ 155.548110] ? __set_monitor_timer+0x200/0x200 [ 155.552689] ? check_preemption_disabled+0x41/0x280 [ 155.557755] l2cap_chan_timeout+0x17e/0x2f0 [ 155.562071] process_one_work+0x864/0x1570 [ 155.566287] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 155.570945] worker_thread+0x64c/0x1130 [ 155.574902] ? __kthread_parkme+0x133/0x1e0 [ 155.579220] ? process_one_work+0x1570/0x1570 [ 155.583697] kthread+0x33f/0x460 [ 155.587039] ? kthread_park+0x180/0x180 [ 155.590994] ret_from_fork+0x24/0x30 [ 155.595212] Kernel Offset: disabled [ 155.598833] Rebooting in 86400 seconds..