Warning: Permanently added '10.128.1.54' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 46.422974] audit: type=1400 audit(1599421158.896:8): avc: denied { execmem } for pid=6357 comm="syz-executor116" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 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 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 [ 47.172022] ================================================================== [ 47.179730] BUG: KASAN: use-after-free in __lock_acquire+0x2c57/0x3f20 [ 47.186928] Read of size 8 at addr ffff8880977ad5a0 by task kworker/u4:1/22 [ 47.194137] [ 47.195762] CPU: 0 PID: 22 Comm: kworker/u4:1 Not tainted 4.14.196-syzkaller #0 [ 47.203194] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.212557] Workqueue: tipc_rcv tipc_recv_work [ 47.217114] Call Trace: [ 47.219715] dump_stack+0x1b2/0x283 [ 47.223335] print_address_description.cold+0x54/0x1d3 [ 47.228683] kasan_report_error.cold+0x8a/0x194 [ 47.234212] ? __lock_acquire+0x2c57/0x3f20 [ 47.238850] __asan_report_load8_noabort+0x68/0x70 [ 47.243773] ? tipc_subscrb_rcv_cb+0x280/0xa40 [ 47.248398] ? __lock_acquire+0x2c57/0x3f20 [ 47.252711] __lock_acquire+0x2c57/0x3f20 [ 47.256863] ? io_schedule_timeout+0x140/0x140 [ 47.261861] ? __wake_up_common_lock+0xcd/0x140 [ 47.266526] ? trace_hardirqs_on+0x10/0x10 [ 47.270759] ? trace_hardirqs_on+0x10/0x10 [ 47.274998] ? preempt_schedule_common+0x45/0xc0 [ 47.279749] ? ___preempt_schedule+0x16/0x18 [ 47.284398] ? tipc_recvmsg+0x436/0x9d0 [ 47.288370] ? __local_bh_enable_ip+0x132/0x170 [ 47.293025] lock_acquire+0x170/0x3f0 [ 47.296837] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 47.301413] _raw_spin_lock_bh+0x2f/0x40 [ 47.305593] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 47.310160] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 47.314555] tipc_receive_from_sock+0x25c/0x450 [ 47.319225] ? trace_hardirqs_on+0x10/0x10 [ 47.323455] ? lock_acquire+0x170/0x3f0 [ 47.327434] ? tipc_close_conn+0x200/0x200 [ 47.331784] tipc_recv_work+0x75/0xd0 [ 47.335574] process_one_work+0x793/0x14a0 [ 47.340309] ? work_busy+0x320/0x320 [ 47.344042] ? worker_thread+0x158/0xff0 [ 47.348095] ? _raw_spin_unlock_irq+0x24/0x80 [ 47.352571] worker_thread+0x5cc/0xff0 [ 47.356463] ? rescuer_thread+0xc80/0xc80 [ 47.360706] kthread+0x30d/0x420 [ 47.364058] ? kthread_create_on_node+0xd0/0xd0 [ 47.368715] ret_from_fork+0x24/0x30 [ 47.372415] [ 47.374033] Allocated by task 22: [ 47.377720] kasan_kmalloc+0xeb/0x160 [ 47.381687] kmem_cache_alloc_trace+0x131/0x3d0 [ 47.386513] tipc_subscrb_connect_cb+0x40/0x150 [ 47.391157] tipc_accept_from_sock+0x25b/0x400 [ 47.395714] tipc_recv_work+0x75/0xd0 [ 47.399502] process_one_work+0x793/0x14a0 [ 47.403843] worker_thread+0x5cc/0xff0 [ 47.407835] kthread+0x30d/0x420 [ 47.411183] ret_from_fork+0x24/0x30 [ 47.414946] [ 47.416551] Freed by task 2332: [ 47.419811] kasan_slab_free+0xc3/0x1a0 [ 47.423774] kfree+0xc9/0x250 [ 47.426867] tipc_subscrb_put+0x22/0x30 [ 47.430842] tipc_close_conn+0x16a/0x200 [ 47.434888] tipc_send_work+0x41e/0x520 [ 47.438840] process_one_work+0x793/0x14a0 [ 47.443059] worker_thread+0x5cc/0xff0 [ 47.446917] kthread+0x30d/0x420 [ 47.450851] ret_from_fork+0x24/0x30 [ 47.454727] [ 47.456339] The buggy address belongs to the object at ffff8880977ad580 [ 47.456339] which belongs to the cache kmalloc-96 of size 96 [ 47.468949] The buggy address is located 32 bytes inside of [ 47.468949] 96-byte region [ffff8880977ad580, ffff8880977ad5e0) [ 47.480793] The buggy address belongs to the page: [ 47.485704] page:ffffea00025deb40 count:1 mapcount:0 mapping:ffff8880977ad000 index:0xffff8880977ad100 [ 47.495151] flags: 0xfffe0000000100(slab) [ 47.499417] raw: 00fffe0000000100 ffff8880977ad000 ffff8880977ad100 000000010000000f [ 47.507276] raw: ffffea00029c45a0 ffffea00025dea20 ffff88812fe524c0 0000000000000000 [ 47.515521] page dumped because: kasan: bad access detected [ 47.521381] [ 47.523004] Memory state around the buggy address: [ 47.528029] ffff8880977ad480: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 47.535396] ffff8880977ad500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 47.543709] >ffff8880977ad580: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 47.551295] ^ [ 47.555690] ffff8880977ad600: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 47.563267] ffff8880977ad680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 47.570925] ================================================================== [ 47.578291] Disabling lock debugging due to kernel taint [ 47.584245] Kernel panic - not syncing: panic_on_warn set ... [ 47.584245] [ 47.592212] CPU: 0 PID: 22 Comm: kworker/u4:1 Tainted: G B 4.14.196-syzkaller #0 [ 47.601461] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.610962] Workqueue: tipc_rcv tipc_recv_work [ 47.615819] Call Trace: [ 47.618404] dump_stack+0x1b2/0x283 [ 47.622599] panic+0x1f9/0x42d [ 47.625900] ? add_taint.cold+0x16/0x16 [ 47.629854] ? lock_downgrade+0x740/0x740 [ 47.633986] kasan_end_report+0x43/0x49 [ 47.637964] kasan_report_error.cold+0xa7/0x194 [ 47.642609] ? __lock_acquire+0x2c57/0x3f20 [ 47.646981] __asan_report_load8_noabort+0x68/0x70 [ 47.651912] ? tipc_subscrb_rcv_cb+0x280/0xa40 [ 47.656755] ? __lock_acquire+0x2c57/0x3f20 [ 47.661219] __lock_acquire+0x2c57/0x3f20 [ 47.665376] ? io_schedule_timeout+0x140/0x140 [ 47.670899] ? __wake_up_common_lock+0xcd/0x140 [ 47.675968] ? trace_hardirqs_on+0x10/0x10 [ 47.680185] ? trace_hardirqs_on+0x10/0x10 [ 47.684400] ? preempt_schedule_common+0x45/0xc0 [ 47.689155] ? ___preempt_schedule+0x16/0x18 [ 47.693564] ? tipc_recvmsg+0x436/0x9d0 [ 47.697532] ? __local_bh_enable_ip+0x132/0x170 [ 47.702302] lock_acquire+0x170/0x3f0 [ 47.706101] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 47.710665] _raw_spin_lock_bh+0x2f/0x40 [ 47.714702] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 47.719257] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 47.723654] tipc_receive_from_sock+0x25c/0x450 [ 47.728402] ? trace_hardirqs_on+0x10/0x10 [ 47.732773] ? lock_acquire+0x170/0x3f0 [ 47.736768] ? tipc_close_conn+0x200/0x200 [ 47.741011] tipc_recv_work+0x75/0xd0 [ 47.744796] process_one_work+0x793/0x14a0 [ 47.749032] ? work_busy+0x320/0x320 [ 47.752762] ? worker_thread+0x158/0xff0 [ 47.756809] ? _raw_spin_unlock_irq+0x24/0x80 [ 47.761281] worker_thread+0x5cc/0xff0 [ 47.765145] ? rescuer_thread+0xc80/0xc80 [ 47.769280] kthread+0x30d/0x420 [ 47.772722] ? kthread_create_on_node+0xd0/0xd0 [ 47.777384] ret_from_fork+0x24/0x30 [ 47.781822] Kernel Offset: disabled [ 47.785439] Rebooting in 86400 seconds..