[ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.189' (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: [ 28.371004] ================================================================== [ 28.378391] BUG: KASAN: use-after-free in __lock_acquire+0x2c57/0x3f20 [ 28.385034] Read of size 8 at addr ffff8880ab67f720 by task kworker/u4:2/36 [ 28.392117] [ 28.393731] CPU: 1 PID: 36 Comm: kworker/u4:2 Not tainted 4.14.302-syzkaller #0 [ 28.401153] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 28.410507] Workqueue: tipc_rcv tipc_recv_work [ 28.415080] Call Trace: [ 28.417655] dump_stack+0x1b2/0x281 [ 28.421259] print_address_description.cold+0x54/0x1d3 [ 28.426510] kasan_report_error.cold+0x8a/0x191 [ 28.431155] ? __lock_acquire+0x2c57/0x3f20 [ 28.435452] __asan_report_load8_noabort+0x68/0x70 [ 28.440355] ? tipc_subscrb_rcv_cb+0x2f0/0xa40 [ 28.444910] ? __lock_acquire+0x2c57/0x3f20 [ 28.449205] __lock_acquire+0x2c57/0x3f20 [ 28.453332] ? io_schedule_timeout+0x140/0x140 [ 28.457888] ? __wake_up_common_lock+0xcd/0x140 [ 28.462533] ? trace_hardirqs_on+0x10/0x10 [ 28.466741] ? trace_hardirqs_on+0x10/0x10 [ 28.470952] ? preempt_schedule_common+0x45/0xc0 [ 28.475682] ? ___preempt_schedule+0x16/0x18 [ 28.480064] ? tipc_recvmsg+0x43e/0x9e0 [ 28.484013] ? __local_bh_enable_ip+0x132/0x170 [ 28.488656] lock_acquire+0x170/0x3f0 [ 28.492432] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 28.496989] _raw_spin_lock_bh+0x2f/0x40 [ 28.501026] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 28.505583] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 28.509967] tipc_receive_from_sock+0x25c/0x450 [ 28.514620] ? trace_hardirqs_on+0x10/0x10 [ 28.518829] ? lock_acquire+0x170/0x3f0 [ 28.522778] ? tipc_close_conn+0x200/0x200 [ 28.526991] tipc_recv_work+0x75/0xd0 [ 28.530773] process_one_work+0x793/0x14a0 [ 28.534985] ? work_busy+0x320/0x320 [ 28.538671] ? worker_thread+0x158/0xff0 [ 28.542709] ? _raw_spin_unlock_irq+0x24/0x80 [ 28.547183] worker_thread+0x5cc/0xff0 [ 28.551068] ? rescuer_thread+0xc80/0xc80 [ 28.555202] kthread+0x30d/0x420 [ 28.558558] ? kthread_create_on_node+0xd0/0xd0 [ 28.563224] ret_from_fork+0x24/0x30 [ 28.566918] [ 28.568527] Allocated by task 36: [ 28.571960] kasan_kmalloc+0xeb/0x160 [ 28.575741] kmem_cache_alloc_trace+0x131/0x3d0 [ 28.580392] tipc_subscrb_connect_cb+0x40/0x150 [ 28.585037] tipc_accept_from_sock+0x25b/0x400 [ 28.589594] tipc_recv_work+0x75/0xd0 [ 28.593370] process_one_work+0x793/0x14a0 [ 28.597578] worker_thread+0x5cc/0xff0 [ 28.601439] kthread+0x30d/0x420 [ 28.604781] ret_from_fork+0x24/0x30 [ 28.608463] [ 28.610067] Freed by task 4786: [ 28.613323] kasan_slab_free+0xc3/0x1a0 [ 28.617282] kfree+0xc9/0x250 [ 28.620364] tipc_subscrb_put+0x22/0x30 [ 28.624313] tipc_close_conn+0x16a/0x200 [ 28.628349] tipc_send_work+0x41e/0x520 [ 28.632660] process_one_work+0x793/0x14a0 [ 28.636873] worker_thread+0x5cc/0xff0 [ 28.640741] kthread+0x30d/0x420 [ 28.644082] ret_from_fork+0x24/0x30 [ 28.647775] [ 28.649386] The buggy address belongs to the object at ffff8880ab67f700 [ 28.649386] which belongs to the cache kmalloc-96 of size 96 [ 28.661844] The buggy address is located 32 bytes inside of [ 28.661844] 96-byte region [ffff8880ab67f700, ffff8880ab67f760) [ 28.673517] The buggy address belongs to the page: [ 28.678429] page:ffffea0002ad9fc0 count:1 mapcount:0 mapping:ffff8880ab67f000 index:0xffff8880ab67fa00 [ 28.687860] flags: 0xfff00000000100(slab) [ 28.691989] raw: 00fff00000000100 ffff8880ab67f000 ffff8880ab67fa00 0000000100000004 [ 28.699847] raw: ffffea00027316e0 ffffea0002745b60 ffff88813fe744c0 0000000000000000 [ 28.707700] page dumped because: kasan: bad access detected [ 28.713380] [ 28.714981] Memory state around the buggy address: [ 28.719883] ffff8880ab67f600: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 28.727216] ffff8880ab67f680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 28.734550] >ffff8880ab67f700: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 28.741885] ^ [ 28.746267] ffff8880ab67f780: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 28.753603] ffff8880ab67f800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 28.760938] ================================================================== [ 28.768269] Disabling lock debugging due to kernel taint [ 28.773691] Kernel panic - not syncing: panic_on_warn set ... [ 28.773691] [ 28.781029] CPU: 1 PID: 36 Comm: kworker/u4:2 Tainted: G B 4.14.302-syzkaller #0 [ 28.789666] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 28.799003] Workqueue: tipc_rcv tipc_recv_work [ 28.803574] Call Trace: [ 28.806153] dump_stack+0x1b2/0x281 [ 28.809763] panic+0x1f9/0x42d [ 28.812929] ? add_taint.cold+0x16/0x16 [ 28.816879] ? lock_downgrade+0x740/0x740 [ 28.821005] kasan_end_report+0x43/0x49 [ 28.824968] kasan_report_error.cold+0xa7/0x191 [ 28.829627] ? __lock_acquire+0x2c57/0x3f20 [ 28.833929] __asan_report_load8_noabort+0x68/0x70 [ 28.838835] ? tipc_subscrb_rcv_cb+0x2f0/0xa40 [ 28.843391] ? __lock_acquire+0x2c57/0x3f20 [ 28.847690] __lock_acquire+0x2c57/0x3f20 [ 28.851813] ? io_schedule_timeout+0x140/0x140 [ 28.856376] ? __wake_up_common_lock+0xcd/0x140 [ 28.861020] ? trace_hardirqs_on+0x10/0x10 [ 28.865229] ? trace_hardirqs_on+0x10/0x10 [ 28.869438] ? preempt_schedule_common+0x45/0xc0 [ 28.874170] ? ___preempt_schedule+0x16/0x18 [ 28.878554] ? tipc_recvmsg+0x43e/0x9e0 [ 28.882502] ? __local_bh_enable_ip+0x132/0x170 [ 28.887147] lock_acquire+0x170/0x3f0 [ 28.890963] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 28.895595] _raw_spin_lock_bh+0x2f/0x40 [ 28.899630] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 28.904186] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 28.908568] tipc_receive_from_sock+0x25c/0x450 [ 28.913213] ? trace_hardirqs_on+0x10/0x10 [ 28.917420] ? lock_acquire+0x170/0x3f0 [ 28.921367] ? tipc_close_conn+0x200/0x200 [ 28.925579] tipc_recv_work+0x75/0xd0 [ 28.929355] process_one_work+0x793/0x14a0 [ 28.933563] ? work_busy+0x320/0x320 [ 28.937252] ? worker_thread+0x158/0xff0 [ 28.941285] ? _raw_spin_unlock_irq+0x24/0x80 [ 28.945757] worker_thread+0x5cc/0xff0 [ 28.949623] ? rescuer_thread+0xc80/0xc80 [ 28.953744] kthread+0x30d/0x420 [ 28.957084] ? kthread_create_on_node+0xd0/0xd0 [ 28.961725] ret_from_fork+0x24/0x30 [ 28.965554] Kernel Offset: disabled [ 28.969153] Rebooting in 86400 seconds..