[[0;32m OK [0m] Started Serial Getty on ttyS0. [[0;32m OK [0m] Reached target Login Prompts. [[0;32m OK [0m] Started OpenBSD Secure Shell server. [[0;32m OK [0m] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [[0;32m OK [0m] Reached target Multi-User System. [[0;32m OK [0m] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [[0;32m OK [0m] Started Load/Save RF Kill Switch Status. [[0;32m OK [0m] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.81' (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 syzkaller login: [ 28.910345] ================================================================== [ 28.917719] BUG: KASAN: use-after-free in __lock_acquire+0x2c57/0x3f20 [ 28.924355] Read of size 8 at addr ffff8880b4a409a0 by task kworker/u4:2/32 [ 28.931419] [ 28.933020] CPU: 1 PID: 32 Comm: kworker/u4:2 Not tainted 4.14.302-syzkaller #0 [ 28.940432] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 28.949760] Workqueue: tipc_rcv tipc_recv_work [ 28.954312] Call Trace: [ 28.956870] dump_stack+0x1b2/0x281 [ 28.960469] print_address_description.cold+0x54/0x1d3 [ 28.965724] kasan_report_error.cold+0x8a/0x191 [ 28.970367] ? __lock_acquire+0x2c57/0x3f20 [ 28.974661] __asan_report_load8_noabort+0x68/0x70 [ 28.979568] ? tipc_subscrb_rcv_cb+0x2f0/0xa40 [ 28.984116] ? __lock_acquire+0x2c57/0x3f20 [ 28.988404] __lock_acquire+0x2c57/0x3f20 [ 28.992526] ? io_schedule_timeout+0x140/0x140 [ 28.997079] ? __wake_up_common_lock+0xcd/0x140 [ 29.001731] ? trace_hardirqs_on+0x10/0x10 [ 29.005935] ? trace_hardirqs_on+0x10/0x10 [ 29.010164] ? preempt_schedule_common+0x45/0xc0 [ 29.014893] ? ___preempt_schedule+0x16/0x18 [ 29.019272] ? tipc_recvmsg+0x43e/0x9e0 [ 29.023215] ? __local_bh_enable_ip+0x132/0x170 [ 29.027880] lock_acquire+0x170/0x3f0 [ 29.031658] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.036216] _raw_spin_lock_bh+0x2f/0x40 [ 29.040247] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.044798] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.049351] tipc_receive_from_sock+0x25c/0x450 [ 29.053989] ? trace_hardirqs_on+0x10/0x10 [ 29.058193] ? lock_acquire+0x170/0x3f0 [ 29.062137] ? tipc_close_conn+0x200/0x200 [ 29.066343] tipc_recv_work+0x75/0xd0 [ 29.070133] process_one_work+0x793/0x14a0 [ 29.074355] ? work_busy+0x320/0x320 [ 29.078046] ? worker_thread+0x158/0xff0 [ 29.082082] ? _raw_spin_unlock_irq+0x24/0x80 [ 29.086549] worker_thread+0x5cc/0xff0 [ 29.090414] ? rescuer_thread+0xc80/0xc80 [ 29.094533] kthread+0x30d/0x420 [ 29.097881] ? kthread_create_on_node+0xd0/0xd0 [ 29.102521] ret_from_fork+0x24/0x30 [ 29.106204] [ 29.107805] Allocated by task 32: [ 29.111233] kasan_kmalloc+0xeb/0x160 [ 29.115004] kmem_cache_alloc_trace+0x131/0x3d0 [ 29.119821] tipc_subscrb_connect_cb+0x40/0x150 [ 29.124460] tipc_accept_from_sock+0x25b/0x400 [ 29.129013] tipc_recv_work+0x75/0xd0 [ 29.132795] process_one_work+0x793/0x14a0 [ 29.137010] worker_thread+0x5cc/0xff0 [ 29.140871] kthread+0x30d/0x420 [ 29.144207] ret_from_fork+0x24/0x30 [ 29.147889] [ 29.149490] Freed by task 103: [ 29.152658] kasan_slab_free+0xc3/0x1a0 [ 29.156604] kfree+0xc9/0x250 [ 29.159682] tipc_subscrb_put+0x22/0x30 [ 29.163631] tipc_close_conn+0x16a/0x200 [ 29.167661] tipc_send_work+0x41e/0x520 [ 29.171605] process_one_work+0x793/0x14a0 [ 29.175808] worker_thread+0x5cc/0xff0 [ 29.179665] kthread+0x30d/0x420 [ 29.182999] ret_from_fork+0x24/0x30 [ 29.186699] [ 29.188298] The buggy address belongs to the object at ffff8880b4a40980 [ 29.188298] which belongs to the cache kmalloc-96 of size 96 [ 29.200758] The buggy address is located 32 bytes inside of [ 29.200758] 96-byte region [ffff8880b4a40980, ffff8880b4a409e0) [ 29.212434] The buggy address belongs to the page: [ 29.217339] page:ffffea0002d29000 count:1 mapcount:0 mapping:ffff8880b4a40000 index:0xffff8880b4a40f00 [ 29.226773] flags: 0xfff00000000100(slab) [ 29.230892] raw: 00fff00000000100 ffff8880b4a40000 ffff8880b4a40f00 0000000100000015 [ 29.238742] raw: ffffea0002be2aa0 ffffea000267bd60 ffff88813fe744c0 0000000000000000 [ 29.246592] page dumped because: kasan: bad access detected [ 29.252271] [ 29.253876] Memory state around the buggy address: [ 29.258778] ffff8880b4a40880: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.266105] ffff8880b4a40900: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc [ 29.273434] >ffff8880b4a40980: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.280761] ^ [ 29.285234] ffff8880b4a40a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.292652] ffff8880b4a40a80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 29.299980] ================================================================== [ 29.307307] Disabling lock debugging due to kernel taint [ 29.312727] Kernel panic - not syncing: panic_on_warn set ... [ 29.312727] [ 29.320167] CPU: 1 PID: 32 Comm: kworker/u4:2 Tainted: G B 4.14.302-syzkaller #0 [ 29.328795] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 29.338126] Workqueue: tipc_rcv tipc_recv_work [ 29.342676] Call Trace: [ 29.345238] dump_stack+0x1b2/0x281 [ 29.348834] panic+0x1f9/0x42d [ 29.351996] ? add_taint.cold+0x16/0x16 [ 29.355944] ? lock_downgrade+0x740/0x740 [ 29.360064] kasan_end_report+0x43/0x49 [ 29.364009] kasan_report_error.cold+0xa7/0x191 [ 29.368648] ? __lock_acquire+0x2c57/0x3f20 [ 29.372937] __asan_report_load8_noabort+0x68/0x70 [ 29.377837] ? tipc_subscrb_rcv_cb+0x2f0/0xa40 [ 29.382388] ? __lock_acquire+0x2c57/0x3f20 [ 29.386678] __lock_acquire+0x2c57/0x3f20 [ 29.390799] ? io_schedule_timeout+0x140/0x140 [ 29.395350] ? __wake_up_common_lock+0xcd/0x140 [ 29.399987] ? trace_hardirqs_on+0x10/0x10 [ 29.404192] ? trace_hardirqs_on+0x10/0x10 [ 29.408395] ? preempt_schedule_common+0x45/0xc0 [ 29.413120] ? ___preempt_schedule+0x16/0x18 [ 29.417500] ? tipc_recvmsg+0x43e/0x9e0 [ 29.421442] ? __local_bh_enable_ip+0x132/0x170 [ 29.426082] lock_acquire+0x170/0x3f0 [ 29.429853] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.434408] _raw_spin_lock_bh+0x2f/0x40 [ 29.438441] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.442991] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.447371] tipc_receive_from_sock+0x25c/0x450 [ 29.452009] ? trace_hardirqs_on+0x10/0x10 [ 29.456213] ? lock_acquire+0x170/0x3f0 [ 29.460155] ? tipc_close_conn+0x200/0x200 [ 29.464364] tipc_recv_work+0x75/0xd0 [ 29.468137] process_one_work+0x793/0x14a0 [ 29.472342] ? work_busy+0x320/0x320 [ 29.476026] ? worker_thread+0x158/0xff0 [ 29.480057] ? _raw_spin_unlock_irq+0x24/0x80 [ 29.484522] worker_thread+0x5cc/0xff0 [ 29.488380] ? rescuer_thread+0xc80/0xc80 [ 29.492496] kthread+0x30d/0x420 [ 29.495832] ? kthread_create_on_node+0xd0/0xd0 [ 29.500469] ret_from_fork+0x24/0x30 [ 29.504319] Kernel Offset: disabled [ 29.507920] Rebooting in 86400 seconds..