Warning: Permanently added '10.128.0.30' (ECDSA) to the list of known hosts. 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 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 syzkaller login: [ 30.141569] ================================================================== [ 30.148955] BUG: KASAN: use-after-free in __lock_acquire+0x2c57/0x3f20 [ 30.155595] Read of size 8 at addr ffff88809b19f220 by task kworker/u4:3/567 [ 30.162754] [ 30.164357] CPU: 0 PID: 567 Comm: kworker/u4:3 Not tainted 4.14.302-syzkaller #0 [ 30.171862] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 30.181206] Workqueue: tipc_rcv tipc_recv_work [ 30.185765] Call Trace: [ 30.188339] dump_stack+0x1b2/0x281 [ 30.191965] print_address_description.cold+0x54/0x1d3 [ 30.197230] kasan_report_error.cold+0x8a/0x191 [ 30.201884] ? __lock_acquire+0x2c57/0x3f20 [ 30.206187] __asan_report_load8_noabort+0x68/0x70 [ 30.211097] ? tipc_subscrb_rcv_cb+0x2f0/0xa40 [ 30.215654] ? __lock_acquire+0x2c57/0x3f20 [ 30.219952] __lock_acquire+0x2c57/0x3f20 [ 30.224091] ? io_schedule_timeout+0x140/0x140 [ 30.228664] ? __wake_up_common_lock+0xcd/0x140 [ 30.233316] ? trace_hardirqs_on+0x10/0x10 [ 30.237527] ? trace_hardirqs_on+0x10/0x10 [ 30.241738] ? preempt_schedule_common+0x45/0xc0 [ 30.246479] ? ___preempt_schedule+0x16/0x18 [ 30.250864] ? tipc_recvmsg+0x43e/0x9e0 [ 30.254811] ? __local_bh_enable_ip+0x132/0x170 [ 30.259540] lock_acquire+0x170/0x3f0 [ 30.263314] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 30.267872] _raw_spin_lock_bh+0x2f/0x40 [ 30.271906] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 30.276459] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 30.280850] tipc_receive_from_sock+0x25c/0x450 [ 30.285494] ? trace_hardirqs_on+0x10/0x10 [ 30.289708] ? lock_acquire+0x170/0x3f0 [ 30.293655] ? tipc_close_conn+0x200/0x200 [ 30.297866] tipc_recv_work+0x75/0xd0 [ 30.301643] process_one_work+0x793/0x14a0 [ 30.305853] ? work_busy+0x320/0x320 [ 30.309542] ? worker_thread+0x158/0xff0 [ 30.313575] ? _raw_spin_unlock_irq+0x24/0x80 [ 30.318045] worker_thread+0x5cc/0xff0 [ 30.321911] ? rescuer_thread+0xc80/0xc80 [ 30.326055] kthread+0x30d/0x420 [ 30.329396] ? kthread_create_on_node+0xd0/0xd0 [ 30.334041] ret_from_fork+0x24/0x30 [ 30.337728] [ 30.339331] Allocated by task 567: [ 30.342844] kasan_kmalloc+0xeb/0x160 [ 30.346622] kmem_cache_alloc_trace+0x131/0x3d0 [ 30.351276] tipc_subscrb_connect_cb+0x40/0x150 [ 30.355937] tipc_accept_from_sock+0x25b/0x400 [ 30.360504] tipc_recv_work+0x75/0xd0 [ 30.364279] process_one_work+0x793/0x14a0 [ 30.368490] worker_thread+0x5cc/0xff0 [ 30.372350] kthread+0x30d/0x420 [ 30.375688] ret_from_fork+0x24/0x30 [ 30.379371] [ 30.380971] Freed by task 22: [ 30.384056] kasan_slab_free+0xc3/0x1a0 [ 30.388000] kfree+0xc9/0x250 [ 30.391079] tipc_subscrb_put+0x22/0x30 [ 30.395037] tipc_close_conn+0x16a/0x200 [ 30.399076] tipc_send_work+0x41e/0x520 [ 30.403025] process_one_work+0x793/0x14a0 [ 30.407234] worker_thread+0x5cc/0xff0 [ 30.411096] kthread+0x30d/0x420 [ 30.414435] ret_from_fork+0x24/0x30 [ 30.418117] [ 30.419719] The buggy address belongs to the object at ffff88809b19f200 [ 30.419719] which belongs to the cache kmalloc-96 of size 96 [ 30.432175] The buggy address is located 32 bytes inside of [ 30.432175] 96-byte region [ffff88809b19f200, ffff88809b19f260) [ 30.443847] The buggy address belongs to the page: [ 30.448751] page:ffffea00026c67c0 count:1 mapcount:0 mapping:ffff88809b19f000 index:0xffff88809b19fc80 [ 30.458184] flags: 0xfff00000000100(slab) [ 30.462307] raw: 00fff00000000100 ffff88809b19f000 ffff88809b19fc80 0000000100000003 [ 30.470161] raw: ffffea0002d34860 ffffea0002709f20 ffff88813fe744c0 0000000000000000 [ 30.478010] page dumped because: kasan: bad access detected [ 30.483689] [ 30.485289] Memory state around the buggy address: [ 30.490192] ffff88809b19f100: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 30.497522] ffff88809b19f180: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 30.504850] >ffff88809b19f200: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 30.512180] ^ [ 30.516562] ffff88809b19f280: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 30.523893] ffff88809b19f300: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 30.531222] ================================================================== [ 30.538554] Disabling lock debugging due to kernel taint [ 30.543976] Kernel panic - not syncing: panic_on_warn set ... [ 30.543976] [ 30.551313] CPU: 0 PID: 567 Comm: kworker/u4:3 Tainted: G B 4.14.302-syzkaller #0 [ 30.560209] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 30.569548] Workqueue: tipc_rcv tipc_recv_work [ 30.574120] Call Trace: [ 30.576687] dump_stack+0x1b2/0x281 [ 30.580288] panic+0x1f9/0x42d [ 30.583458] ? add_taint.cold+0x16/0x16 [ 30.587407] ? lock_downgrade+0x740/0x740 [ 30.591528] kasan_end_report+0x43/0x49 [ 30.595474] kasan_report_error.cold+0xa7/0x191 [ 30.600125] ? __lock_acquire+0x2c57/0x3f20 [ 30.604422] __asan_report_load8_noabort+0x68/0x70 [ 30.609324] ? tipc_subscrb_rcv_cb+0x2f0/0xa40 [ 30.613884] ? __lock_acquire+0x2c57/0x3f20 [ 30.618179] __lock_acquire+0x2c57/0x3f20 [ 30.622305] ? io_schedule_timeout+0x140/0x140 [ 30.626860] ? __wake_up_common_lock+0xcd/0x140 [ 30.631507] ? trace_hardirqs_on+0x10/0x10 [ 30.635716] ? trace_hardirqs_on+0x10/0x10 [ 30.639933] ? preempt_schedule_common+0x45/0xc0 [ 30.644663] ? ___preempt_schedule+0x16/0x18 [ 30.649049] ? tipc_recvmsg+0x43e/0x9e0 [ 30.653006] ? __local_bh_enable_ip+0x132/0x170 [ 30.657650] lock_acquire+0x170/0x3f0 [ 30.661432] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 30.665990] _raw_spin_lock_bh+0x2f/0x40 [ 30.670031] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 30.674588] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 30.678971] tipc_receive_from_sock+0x25c/0x450 [ 30.683619] ? trace_hardirqs_on+0x10/0x10 [ 30.687826] ? lock_acquire+0x170/0x3f0 [ 30.691772] ? tipc_close_conn+0x200/0x200 [ 30.695982] tipc_recv_work+0x75/0xd0 [ 30.699759] process_one_work+0x793/0x14a0 [ 30.703967] ? work_busy+0x320/0x320 [ 30.707663] ? worker_thread+0x158/0xff0 [ 30.711698] ? _raw_spin_unlock_irq+0x24/0x80 [ 30.716166] worker_thread+0x5cc/0xff0 [ 30.720030] ? rescuer_thread+0xc80/0xc80 [ 30.724149] kthread+0x30d/0x420 [ 30.727492] ? kthread_create_on_node+0xd0/0xd0 [ 30.732135] ret_from_fork+0x24/0x30 [ 30.735979] Kernel Offset: disabled [ 30.739585] Rebooting in 86400 seconds..