[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.28' (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 syzkaller login: [ 29.038326] ================================================================== [ 29.045700] BUG: KASAN: use-after-free in __lock_acquire+0x2c57/0x3f20 [ 29.052530] Read of size 8 at addr ffff8880b308fea0 by task kworker/u4:2/35 [ 29.059599] [ 29.061203] CPU: 0 PID: 35 Comm: kworker/u4:2 Not tainted 4.14.290-syzkaller #0 [ 29.068637] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 29.077972] Workqueue: tipc_rcv tipc_recv_work [ 29.082526] Call Trace: [ 29.085090] dump_stack+0x1b2/0x281 [ 29.088697] print_address_description.cold+0x54/0x1d3 [ 29.093952] kasan_report_error.cold+0x8a/0x191 [ 29.098598] ? __lock_acquire+0x2c57/0x3f20 [ 29.102905] __asan_report_load8_noabort+0x68/0x70 [ 29.107817] ? tipc_subscrb_rcv_cb+0x340/0xa40 [ 29.112371] ? __lock_acquire+0x2c57/0x3f20 [ 29.116669] __lock_acquire+0x2c57/0x3f20 [ 29.120792] ? io_schedule_timeout+0x140/0x140 [ 29.125347] ? __wake_up_common_lock+0xcd/0x140 [ 29.129988] ? trace_hardirqs_on+0x10/0x10 [ 29.134211] ? trace_hardirqs_on+0x10/0x10 [ 29.138429] ? preempt_schedule_common+0x45/0xc0 [ 29.143159] ? ___preempt_schedule+0x16/0x18 [ 29.147563] ? tipc_recvmsg+0x43e/0x9e0 [ 29.151516] ? __local_bh_enable_ip+0x132/0x170 [ 29.156160] lock_acquire+0x170/0x3f0 [ 29.159937] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.164494] _raw_spin_lock_bh+0x2f/0x40 [ 29.168528] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.173089] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.177479] tipc_receive_from_sock+0x25c/0x450 [ 29.182215] ? trace_hardirqs_on+0x10/0x10 [ 29.186423] ? lock_acquire+0x170/0x3f0 [ 29.190391] ? tipc_close_conn+0x200/0x200 [ 29.194634] tipc_recv_work+0x75/0xd0 [ 29.198414] process_one_work+0x793/0x14a0 [ 29.202635] ? work_busy+0x320/0x320 [ 29.206323] ? worker_thread+0x158/0xff0 [ 29.210359] ? _raw_spin_unlock_irq+0x24/0x80 [ 29.214832] worker_thread+0x5cc/0xff0 [ 29.218698] ? rescuer_thread+0xc80/0xc80 [ 29.222819] kthread+0x30d/0x420 [ 29.226161] ? kthread_create_on_node+0xd0/0xd0 [ 29.230808] ret_from_fork+0x24/0x30 [ 29.234495] [ 29.236097] Allocated by task 35: [ 29.239533] kasan_kmalloc+0xeb/0x160 [ 29.243309] kmem_cache_alloc_trace+0x131/0x3d0 [ 29.248064] tipc_subscrb_connect_cb+0x40/0x150 [ 29.252735] tipc_accept_from_sock+0x25b/0x400 [ 29.257297] tipc_recv_work+0x75/0xd0 [ 29.261086] process_one_work+0x793/0x14a0 [ 29.265299] worker_thread+0x5cc/0xff0 [ 29.269174] kthread+0x30d/0x420 [ 29.272558] ret_from_fork+0x24/0x30 [ 29.276248] [ 29.277863] Freed by task 23: [ 29.280959] kasan_slab_free+0xc3/0x1a0 [ 29.284909] kfree+0xc9/0x250 [ 29.288011] tipc_subscrb_put+0x22/0x30 [ 29.291976] tipc_close_conn+0x16a/0x200 [ 29.296009] tipc_send_work+0x41e/0x520 [ 29.299963] process_one_work+0x793/0x14a0 [ 29.304173] worker_thread+0x5cc/0xff0 [ 29.308035] kthread+0x30d/0x420 [ 29.311388] ret_from_fork+0x24/0x30 [ 29.315091] [ 29.316696] The buggy address belongs to the object at ffff8880b308fe80 [ 29.316696] which belongs to the cache kmalloc-96 of size 96 [ 29.329157] The buggy address is located 32 bytes inside of [ 29.329157] 96-byte region [ffff8880b308fe80, ffff8880b308fee0) [ 29.340833] The buggy address belongs to the page: [ 29.345754] page:ffffea0002cc23c0 count:1 mapcount:0 mapping:ffff8880b308f000 index:0xffff8880b308f900 [ 29.355182] flags: 0xfff00000000100(slab) [ 29.359309] raw: 00fff00000000100 ffff8880b308f000 ffff8880b308f900 0000000100000014 [ 29.367165] raw: ffffea0002c12520 ffffea000288caa0 ffff88813fe744c0 0000000000000000 [ 29.375016] page dumped because: kasan: bad access detected [ 29.380723] [ 29.382324] Memory state around the buggy address: [ 29.387226] ffff8880b308fd80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.394563] ffff8880b308fe00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.401902] >ffff8880b308fe80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.409233] ^ [ 29.413717] ffff8880b308ff00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.421055] ffff8880b308ff80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 29.428387] ================================================================== [ 29.435718] Disabling lock debugging due to kernel taint [ 29.441339] Kernel panic - not syncing: panic_on_warn set ... [ 29.441339] [ 29.448690] CPU: 0 PID: 35 Comm: kworker/u4:2 Tainted: G B 4.14.290-syzkaller #0 [ 29.457330] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 29.466681] Workqueue: tipc_rcv tipc_recv_work [ 29.471242] Call Trace: [ 29.473813] dump_stack+0x1b2/0x281 [ 29.477415] panic+0x1f9/0x42d [ 29.480584] ? add_taint.cold+0x16/0x16 [ 29.484536] ? lock_downgrade+0x740/0x740 [ 29.488663] kasan_end_report+0x43/0x49 [ 29.492633] kasan_report_error.cold+0xa7/0x191 [ 29.497285] ? __lock_acquire+0x2c57/0x3f20 [ 29.501591] __asan_report_load8_noabort+0x68/0x70 [ 29.506518] ? tipc_subscrb_rcv_cb+0x340/0xa40 [ 29.511082] ? __lock_acquire+0x2c57/0x3f20 [ 29.515385] __lock_acquire+0x2c57/0x3f20 [ 29.519519] ? io_schedule_timeout+0x140/0x140 [ 29.524077] ? __wake_up_common_lock+0xcd/0x140 [ 29.528774] ? trace_hardirqs_on+0x10/0x10 [ 29.532998] ? trace_hardirqs_on+0x10/0x10 [ 29.537210] ? preempt_schedule_common+0x45/0xc0 [ 29.541946] ? ___preempt_schedule+0x16/0x18 [ 29.546333] ? tipc_recvmsg+0x43e/0x9e0 [ 29.552323] ? __local_bh_enable_ip+0x132/0x170 [ 29.556970] lock_acquire+0x170/0x3f0 [ 29.560751] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.565310] _raw_spin_lock_bh+0x2f/0x40 [ 29.569347] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.573908] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 29.578309] tipc_receive_from_sock+0x25c/0x450 [ 29.582956] ? trace_hardirqs_on+0x10/0x10 [ 29.587167] ? lock_acquire+0x170/0x3f0 [ 29.591119] ? tipc_close_conn+0x200/0x200 [ 29.595333] tipc_recv_work+0x75/0xd0 [ 29.599127] process_one_work+0x793/0x14a0 [ 29.603343] ? work_busy+0x320/0x320 [ 29.607033] ? worker_thread+0x158/0xff0 [ 29.611071] ? _raw_spin_unlock_irq+0x24/0x80 [ 29.615543] worker_thread+0x5cc/0xff0 [ 29.620697] ? rescuer_thread+0xc80/0xc80 [ 29.624822] kthread+0x30d/0x420 [ 29.628163] ? kthread_create_on_node+0xd0/0xd0 [ 29.632809] ret_from_fork+0x24/0x30 [ 29.636652] Kernel Offset: disabled [ 29.640347] Rebooting in 86400 seconds..