[ 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.188' (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 syzkaller login: [ 29.526425] ================================================================== [ 29.533803] BUG: KASAN: use-after-free in __lock_acquire+0x2c57/0x3f20 [ 29.540445] Read of size 8 at addr ffff8880a9e61320 by task kworker/u4:4/2851 [ 29.547686] [ 29.549292] CPU: 0 PID: 2851 Comm: kworker/u4:4 Not tainted 4.14.302-syzkaller #0 [ 29.556971] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 29.566306] Workqueue: tipc_rcv tipc_recv_work [ 29.570882] Call Trace: [ 29.573443] dump_stack+0x1b2/0x281 [ 29.577061] print_address_description.cold+0x54/0x1d3 [ 29.582327] kasan_report_error.cold+0x8a/0x191 [ 29.586975] ? __lock_acquire+0x2c57/0x3f20 [ 29.591296] __asan_report_load8_noabort+0x68/0x70 [ 29.596204] ? tipc_subscrb_rcv_cb+0x2f0/0xa40 [ 29.600936] ? __lock_acquire+0x2c57/0x3f20 [ 29.605231] __lock_acquire+0x2c57/0x3f20 [ 29.609445] ? io_schedule_timeout+0x140/0x140 [ 29.614004] ? __wake_up_common_lock+0xcd/0x140 [ 29.618655] ? trace_hardirqs_on+0x10/0x10 [ 29.622865] ? trace_hardirqs_on+0x10/0x10 [ 29.627079] ? preempt_schedule_common+0x45/0xc0 [ 29.631815] ? ___preempt_schedule+0x16/0x18 [ 29.636286] ? tipc_recvmsg+0x43e/0x9e0 [ 29.640239] ? __local_bh_enable_ip+0x132/0x170 [ 29.644887] lock_acquire+0x170/0x3f0 [ 29.648672] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.653230] _raw_spin_lock_bh+0x2f/0x40 [ 29.657264] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.661969] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.666376] tipc_receive_from_sock+0x25c/0x450 [ 29.671182] ? trace_hardirqs_on+0x10/0x10 [ 29.675391] ? lock_acquire+0x170/0x3f0 [ 29.679342] ? tipc_close_conn+0x200/0x200 [ 29.683570] tipc_recv_work+0x75/0xd0 [ 29.687367] process_one_work+0x793/0x14a0 [ 29.691579] ? work_busy+0x320/0x320 [ 29.695269] ? worker_thread+0x158/0xff0 [ 29.699305] ? _raw_spin_unlock_irq+0x24/0x80 [ 29.703796] worker_thread+0x5cc/0xff0 [ 29.707670] ? rescuer_thread+0xc80/0xc80 [ 29.711798] kthread+0x30d/0x420 [ 29.715144] ? kthread_create_on_node+0xd0/0xd0 [ 29.719787] ret_from_fork+0x24/0x30 [ 29.723479] [ 29.725082] Allocated by task 2851: [ 29.728681] kasan_kmalloc+0xeb/0x160 [ 29.732467] kmem_cache_alloc_trace+0x131/0x3d0 [ 29.737116] tipc_subscrb_connect_cb+0x40/0x150 [ 29.741763] tipc_accept_from_sock+0x25b/0x400 [ 29.746319] tipc_recv_work+0x75/0xd0 [ 29.750098] process_one_work+0x793/0x14a0 [ 29.754408] worker_thread+0x5cc/0xff0 [ 29.758268] kthread+0x30d/0x420 [ 29.761607] ret_from_fork+0x24/0x30 [ 29.765300] [ 29.766902] Freed by task 232: [ 29.770067] kasan_slab_free+0xc3/0x1a0 [ 29.774016] kfree+0xc9/0x250 [ 29.777106] tipc_subscrb_put+0x22/0x30 [ 29.781071] tipc_close_conn+0x16a/0x200 [ 29.785105] tipc_send_work+0x41e/0x520 [ 29.789063] process_one_work+0x793/0x14a0 [ 29.793278] worker_thread+0x5cc/0xff0 [ 29.797138] kthread+0x30d/0x420 [ 29.800479] ret_from_fork+0x24/0x30 [ 29.804164] [ 29.805767] The buggy address belongs to the object at ffff8880a9e61300 [ 29.805767] which belongs to the cache kmalloc-96 of size 96 [ 29.818223] The buggy address is located 32 bytes inside of [ 29.818223] 96-byte region [ffff8880a9e61300, ffff8880a9e61360) [ 29.829895] The buggy address belongs to the page: [ 29.834805] page:ffffea0002a79840 count:1 mapcount:0 mapping:ffff8880a9e61000 index:0xffff8880a9e61e80 [ 29.844221] flags: 0xfff00000000100(slab) [ 29.848346] raw: 00fff00000000100 ffff8880a9e61000 ffff8880a9e61e80 0000000100000003 [ 29.856204] raw: ffffea0002a51220 ffffea000295b2a0 ffff88813fe744c0 0000000000000000 [ 29.864057] page dumped because: kasan: bad access detected [ 29.869743] [ 29.871344] Memory state around the buggy address: [ 29.876332] ffff8880a9e61200: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.883701] ffff8880a9e61280: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.891033] >ffff8880a9e61300: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.898374] ^ [ 29.902753] ffff8880a9e61380: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.910086] ffff8880a9e61400: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.917509] ================================================================== [ 29.924843] Disabling lock debugging due to kernel taint [ 29.930265] Kernel panic - not syncing: panic_on_warn set ... [ 29.930265] [ 29.937605] CPU: 0 PID: 2851 Comm: kworker/u4:4 Tainted: G B 4.14.302-syzkaller #0 [ 29.946412] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 29.955751] Workqueue: tipc_rcv tipc_recv_work [ 29.960351] Call Trace: [ 29.962939] dump_stack+0x1b2/0x281 [ 29.966552] panic+0x1f9/0x42d [ 29.969731] ? add_taint.cold+0x16/0x16 [ 29.973691] ? lock_downgrade+0x740/0x740 [ 29.977815] kasan_end_report+0x43/0x49 [ 29.981764] kasan_report_error.cold+0xa7/0x191 [ 29.986408] ? __lock_acquire+0x2c57/0x3f20 [ 29.990792] __asan_report_load8_noabort+0x68/0x70 [ 29.995698] ? tipc_subscrb_rcv_cb+0x2f0/0xa40 [ 30.000256] ? __lock_acquire+0x2c57/0x3f20 [ 30.004554] __lock_acquire+0x2c57/0x3f20 [ 30.008680] ? io_schedule_timeout+0x140/0x140 [ 30.013239] ? __wake_up_common_lock+0xcd/0x140 [ 30.017885] ? trace_hardirqs_on+0x10/0x10 [ 30.022096] ? trace_hardirqs_on+0x10/0x10 [ 30.026306] ? preempt_schedule_common+0x45/0xc0 [ 30.031039] ? ___preempt_schedule+0x16/0x18 [ 30.035427] ? tipc_recvmsg+0x43e/0x9e0 [ 30.039378] ? __local_bh_enable_ip+0x132/0x170 [ 30.044023] lock_acquire+0x170/0x3f0 [ 30.047800] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 30.052357] _raw_spin_lock_bh+0x2f/0x40 [ 30.056394] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 30.060961] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 30.065346] tipc_receive_from_sock+0x25c/0x450 [ 30.070008] ? trace_hardirqs_on+0x10/0x10 [ 30.074239] ? lock_acquire+0x170/0x3f0 [ 30.078209] ? tipc_close_conn+0x200/0x200 [ 30.082434] tipc_recv_work+0x75/0xd0 [ 30.086226] process_one_work+0x793/0x14a0 [ 30.090439] ? work_busy+0x320/0x320 [ 30.094130] ? worker_thread+0x158/0xff0 [ 30.098181] ? _raw_spin_unlock_irq+0x24/0x80 [ 30.102654] worker_thread+0x5cc/0xff0 [ 30.106523] ? rescuer_thread+0xc80/0xc80 [ 30.110644] kthread+0x30d/0x420 [ 30.113987] ? kthread_create_on_node+0xd0/0xd0 [ 30.118633] ret_from_fork+0x24/0x30 [ 30.122378] Kernel Offset: disabled [ 30.125982] Rebooting in 86400 seconds..