[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.226' (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 syzkaller login: [ 28.844237] ================================================================== [ 28.852673] BUG: KASAN: use-after-free in __lock_acquire+0x2c57/0x3f20 [ 28.859317] Read of size 8 at addr ffff8880afa64ca0 by task kworker/u4:4/2880 [ 28.866572] [ 28.868177] CPU: 0 PID: 2880 Comm: kworker/u4:4 Not tainted 4.14.302-syzkaller #0 [ 28.875762] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 28.885093] Workqueue: tipc_rcv tipc_recv_work [ 28.889643] Call Trace: [ 28.892201] dump_stack+0x1b2/0x281 [ 28.895802] print_address_description.cold+0x54/0x1d3 [ 28.901047] kasan_report_error.cold+0x8a/0x191 [ 28.905686] ? __lock_acquire+0x2c57/0x3f20 [ 28.910015] __asan_report_load8_noabort+0x68/0x70 [ 28.914931] ? tipc_subscrb_rcv_cb+0x2f0/0xa40 [ 28.919496] ? __lock_acquire+0x2c57/0x3f20 [ 28.923793] __lock_acquire+0x2c57/0x3f20 [ 28.927920] ? io_schedule_timeout+0x140/0x140 [ 28.932478] ? __wake_up_common_lock+0xcd/0x140 [ 28.937129] ? trace_hardirqs_on+0x10/0x10 [ 28.941351] ? trace_hardirqs_on+0x10/0x10 [ 28.945581] ? preempt_schedule_common+0x45/0xc0 [ 28.950325] ? ___preempt_schedule+0x16/0x18 [ 28.954708] ? tipc_recvmsg+0x43e/0x9e0 [ 28.958651] ? __local_bh_enable_ip+0x132/0x170 [ 28.963304] lock_acquire+0x170/0x3f0 [ 28.967076] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 28.971722] _raw_spin_lock_bh+0x2f/0x40 [ 28.975818] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 28.980386] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 28.984778] tipc_receive_from_sock+0x25c/0x450 [ 28.989432] ? trace_hardirqs_on+0x10/0x10 [ 28.993650] ? lock_acquire+0x170/0x3f0 [ 28.997591] ? tipc_close_conn+0x200/0x200 [ 29.001939] tipc_recv_work+0x75/0xd0 [ 29.005844] process_one_work+0x793/0x14a0 [ 29.010058] ? work_busy+0x320/0x320 [ 29.013750] ? worker_thread+0x158/0xff0 [ 29.017792] ? _raw_spin_unlock_irq+0x24/0x80 [ 29.022273] worker_thread+0x5cc/0xff0 [ 29.026156] ? rescuer_thread+0xc80/0xc80 [ 29.030284] kthread+0x30d/0x420 [ 29.033775] ? kthread_create_on_node+0xd0/0xd0 [ 29.038431] ret_from_fork+0x24/0x30 [ 29.042119] [ 29.043722] Allocated by task 2880: [ 29.047326] kasan_kmalloc+0xeb/0x160 [ 29.051099] kmem_cache_alloc_trace+0x131/0x3d0 [ 29.055738] tipc_subscrb_connect_cb+0x40/0x150 [ 29.060379] tipc_accept_from_sock+0x25b/0x400 [ 29.064930] tipc_recv_work+0x75/0xd0 [ 29.068703] process_one_work+0x793/0x14a0 [ 29.072914] worker_thread+0x5cc/0xff0 [ 29.076769] kthread+0x30d/0x420 [ 29.080105] ret_from_fork+0x24/0x30 [ 29.083796] [ 29.085394] Freed by task 2904: [ 29.088651] kasan_slab_free+0xc3/0x1a0 [ 29.092612] kfree+0xc9/0x250 [ 29.095700] tipc_subscrb_put+0x22/0x30 [ 29.099670] tipc_close_conn+0x16a/0x200 [ 29.103832] tipc_send_work+0x41e/0x520 [ 29.107797] process_one_work+0x793/0x14a0 [ 29.112034] worker_thread+0x5cc/0xff0 [ 29.115902] kthread+0x30d/0x420 [ 29.119245] ret_from_fork+0x24/0x30 [ 29.122928] [ 29.124527] The buggy address belongs to the object at ffff8880afa64c80 [ 29.124527] which belongs to the cache kmalloc-96 of size 96 [ 29.136985] The buggy address is located 32 bytes inside of [ 29.136985] 96-byte region [ffff8880afa64c80, ffff8880afa64ce0) [ 29.148652] The buggy address belongs to the page: [ 29.154313] page:ffffea0002be9900 count:1 mapcount:0 mapping:ffff8880afa64000 index:0xffff8880afa64e80 [ 29.163737] flags: 0xfff00000000100(slab) [ 29.167874] raw: 00fff00000000100 ffff8880afa64000 ffff8880afa64e80 000000010000000b [ 29.175726] raw: ffffea0002baf160 ffffea0002d08460 ffff88813fe744c0 0000000000000000 [ 29.183577] page dumped because: kasan: bad access detected [ 29.189304] [ 29.190910] Memory state around the buggy address: [ 29.195817] ffff8880afa64b80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.203152] ffff8880afa64c00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.211611] >ffff8880afa64c80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.218960] ^ [ 29.223457] ffff8880afa64d00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.230800] ffff8880afa64d80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.238130] ================================================================== [ 29.245456] Disabling lock debugging due to kernel taint [ 29.250886] Kernel panic - not syncing: panic_on_warn set ... [ 29.250886] [ 29.258225] CPU: 0 PID: 2880 Comm: kworker/u4:4 Tainted: G B 4.14.302-syzkaller #0 [ 29.267039] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 29.276383] Workqueue: tipc_rcv tipc_recv_work [ 29.280934] Call Trace: [ 29.283499] dump_stack+0x1b2/0x281 [ 29.287095] panic+0x1f9/0x42d [ 29.290256] ? add_taint.cold+0x16/0x16 [ 29.294202] ? lock_downgrade+0x740/0x740 [ 29.298317] kasan_end_report+0x43/0x49 [ 29.302259] kasan_report_error.cold+0xa7/0x191 [ 29.306896] ? __lock_acquire+0x2c57/0x3f20 [ 29.311199] __asan_report_load8_noabort+0x68/0x70 [ 29.316099] ? tipc_subscrb_rcv_cb+0x2f0/0xa40 [ 29.321320] ? __lock_acquire+0x2c57/0x3f20 [ 29.325628] __lock_acquire+0x2c57/0x3f20 [ 29.329757] ? io_schedule_timeout+0x140/0x140 [ 29.334323] ? __wake_up_common_lock+0xcd/0x140 [ 29.338967] ? trace_hardirqs_on+0x10/0x10 [ 29.343175] ? trace_hardirqs_on+0x10/0x10 [ 29.347388] ? preempt_schedule_common+0x45/0xc0 [ 29.352128] ? ___preempt_schedule+0x16/0x18 [ 29.356511] ? tipc_recvmsg+0x43e/0x9e0 [ 29.360465] ? __local_bh_enable_ip+0x132/0x170 [ 29.365109] lock_acquire+0x170/0x3f0 [ 29.368881] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.373433] _raw_spin_lock_bh+0x2f/0x40 [ 29.377469] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.382038] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.386417] tipc_receive_from_sock+0x25c/0x450 [ 29.391084] ? trace_hardirqs_on+0x10/0x10 [ 29.395315] ? lock_acquire+0x170/0x3f0 [ 29.399271] ? tipc_close_conn+0x200/0x200 [ 29.403477] tipc_recv_work+0x75/0xd0 [ 29.407251] process_one_work+0x793/0x14a0 [ 29.411473] ? work_busy+0x320/0x320 [ 29.415157] ? worker_thread+0x158/0xff0 [ 29.419191] ? _raw_spin_unlock_irq+0x24/0x80 [ 29.423684] worker_thread+0x5cc/0xff0 [ 29.427561] ? rescuer_thread+0xc80/0xc80 [ 29.431697] kthread+0x30d/0x420 [ 29.435038] ? kthread_create_on_node+0xd0/0xd0 [ 29.439688] ret_from_fork+0x24/0x30 [ 29.443533] Kernel Offset: disabled [ 29.447142] Rebooting in 86400 seconds..