[ 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.1.14' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 52.581222] audit: type=1400 audit(1599506568.419:8): avc: denied { execmem } for pid=6360 comm="syz-executor114" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 52.603597] audit: type=1800 audit(1599506568.419:9): pid=6361 uid=0 auid=0 ses=5 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor114" name="file0" dev="sda1" ino=15708 res=0 executing program executing program executing program [ 52.696129] audit: type=1800 audit(1599506568.529:10): pid=6362 uid=0 auid=0 ses=5 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor114" name="file0" dev="sda1" ino=15708 res=0 [ 52.719474] audit: type=1800 audit(1599506568.549:11): pid=6363 uid=0 auid=0 ses=5 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor114" name="file0" dev="sda1" ino=15708 res=0 [ 52.742711] audit: type=1800 audit(1599506568.579:12): pid=6364 uid=0 auid=0 ses=5 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor114" name="file0" dev="sda1" ino=15708 res=0 executing program executing program [ 52.837666] audit: type=1800 audit(1599506568.669:13): pid=6365 uid=0 auid=0 ses=5 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor114" name="file0" dev="sda1" ino=15708 res=0 [ 52.861439] audit: type=1800 audit(1599506568.699:14): pid=6366 uid=0 auid=0 ses=5 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor114" name="file0" dev="sda1" ino=15708 res=0 executing program executing program [ 52.957579] audit: type=1800 audit(1599506568.789:15): pid=6367 uid=0 auid=0 ses=5 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor114" name="file0" dev="sda1" ino=15708 res=0 [ 52.981546] audit: type=1800 audit(1599506568.819:16): pid=6368 uid=0 auid=0 ses=5 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor114" name="file0" dev="sda1" ino=15708 res=0 executing program executing program [ 53.080853] audit: type=1800 audit(1599506568.919:17): pid=6369 uid=0 auid=0 ses=5 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor114" name="file0" dev="sda1" ino=15708 res=0 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 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 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 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 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 [ 54.893814] ================================================================== [ 54.901310] BUG: KASAN: use-after-free in __lock_acquire+0x2c57/0x3f20 [ 54.907964] Read of size 8 at addr ffff888097ba6a20 by task kworker/u4:1/22 [ 54.915276] [ 54.916941] CPU: 1 PID: 22 Comm: kworker/u4:1 Not tainted 4.14.196-syzkaller #0 [ 54.924401] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 54.933755] Workqueue: tipc_rcv tipc_recv_work [ 54.938330] Call Trace: [ 54.940913] dump_stack+0x1b2/0x283 [ 54.944530] print_address_description.cold+0x54/0x1d3 [ 54.949805] kasan_report_error.cold+0x8a/0x194 [ 54.954474] ? __lock_acquire+0x2c57/0x3f20 [ 54.958829] __asan_report_load8_noabort+0x68/0x70 [ 54.963786] ? tipc_subscrb_rcv_cb+0x280/0xa40 [ 54.968357] ? __lock_acquire+0x2c57/0x3f20 [ 54.972682] __lock_acquire+0x2c57/0x3f20 [ 54.976825] ? io_schedule_timeout+0x140/0x140 [ 54.981395] ? __wake_up_common_lock+0xcd/0x140 [ 54.986051] ? trace_hardirqs_on+0x10/0x10 [ 54.990280] ? trace_hardirqs_on+0x10/0x10 [ 54.994498] ? preempt_schedule_common+0x45/0xc0 [ 54.999240] ? ___preempt_schedule+0x16/0x18 [ 55.003632] ? tipc_recvmsg+0x436/0x9d0 [ 55.007592] ? __local_bh_enable_ip+0x132/0x170 [ 55.012263] lock_acquire+0x170/0x3f0 [ 55.016049] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 55.020637] _raw_spin_lock_bh+0x2f/0x40 [ 55.024685] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 55.029254] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 55.033659] tipc_receive_from_sock+0x25c/0x450 [ 55.038317] ? trace_hardirqs_on+0x10/0x10 [ 55.042543] ? lock_acquire+0x170/0x3f0 [ 55.046504] ? tipc_close_conn+0x200/0x200 [ 55.050739] tipc_recv_work+0x75/0xd0 [ 55.054525] process_one_work+0x793/0x14a0 [ 55.058750] ? work_busy+0x320/0x320 [ 55.062453] ? worker_thread+0x158/0xff0 [ 55.066498] ? _raw_spin_unlock_irq+0x24/0x80 [ 55.070992] worker_thread+0x5cc/0xff0 [ 55.074868] ? rescuer_thread+0xc80/0xc80 [ 55.078996] kthread+0x30d/0x420 [ 55.082358] ? kthread_create_on_node+0xd0/0xd0 [ 55.087022] ret_from_fork+0x24/0x30 [ 55.090752] [ 55.092356] Allocated by task 22: [ 55.095807] kasan_kmalloc+0xeb/0x160 [ 55.099600] kmem_cache_alloc_trace+0x131/0x3d0 [ 55.104271] tipc_subscrb_connect_cb+0x40/0x150 [ 55.108925] tipc_accept_from_sock+0x25b/0x400 [ 55.113538] tipc_recv_work+0x75/0xd0 [ 55.117321] process_one_work+0x793/0x14a0 [ 55.121542] worker_thread+0x5cc/0xff0 [ 55.125431] kthread+0x30d/0x420 [ 55.128808] ret_from_fork+0x24/0x30 [ 55.132502] [ 55.134138] Freed by task 5901: [ 55.137407] kasan_slab_free+0xc3/0x1a0 [ 55.141468] kfree+0xc9/0x250 [ 55.144555] tipc_subscrb_put+0x22/0x30 [ 55.148526] tipc_close_conn+0x16a/0x200 [ 55.152589] tipc_send_work+0x41e/0x520 [ 55.156562] process_one_work+0x793/0x14a0 [ 55.160790] worker_thread+0x5cc/0xff0 [ 55.164664] kthread+0x30d/0x420 [ 55.168014] ret_from_fork+0x24/0x30 [ 55.171702] [ 55.173307] The buggy address belongs to the object at ffff888097ba6a00 [ 55.173307] which belongs to the cache kmalloc-96 of size 96 [ 55.185772] The buggy address is located 32 bytes inside of [ 55.185772] 96-byte region [ffff888097ba6a00, ffff888097ba6a60) [ 55.197460] The buggy address belongs to the page: [ 55.202376] page:ffffea00025ee980 count:1 mapcount:0 mapping:ffff888097ba6000 index:0x0 [ 55.210502] flags: 0xfffe0000000100(slab) [ 55.214634] raw: 00fffe0000000100 ffff888097ba6000 0000000000000000 0000000100000020 [ 55.222515] raw: ffffea00025fd160 ffff88812fe50448 ffff88812fe524c0 0000000000000000 [ 55.230740] page dumped because: kasan: bad access detected [ 55.236431] [ 55.238050] Memory state around the buggy address: [ 55.242961] ffff888097ba6900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 55.250310] ffff888097ba6980: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 55.257655] >ffff888097ba6a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 55.264996] ^ [ 55.269385] ffff888097ba6a80: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc [ 55.276745] ffff888097ba6b00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 55.284087] ================================================================== [ 55.291427] Disabling lock debugging due to kernel taint [ 55.296866] Kernel panic - not syncing: panic_on_warn set ... [ 55.296866] [ 55.304217] CPU: 1 PID: 22 Comm: kworker/u4:1 Tainted: G B 4.14.196-syzkaller #0 [ 55.312890] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 55.322244] Workqueue: tipc_rcv tipc_recv_work [ 55.326810] Call Trace: [ 55.329384] dump_stack+0x1b2/0x283 [ 55.333001] panic+0x1f9/0x42d [ 55.336177] ? add_taint.cold+0x16/0x16 [ 55.340138] ? lock_downgrade+0x740/0x740 [ 55.344271] kasan_end_report+0x43/0x49 [ 55.348232] kasan_report_error.cold+0xa7/0x194 [ 55.352898] ? __lock_acquire+0x2c57/0x3f20 [ 55.357207] __asan_report_load8_noabort+0x68/0x70 [ 55.362128] ? tipc_subscrb_rcv_cb+0x280/0xa40 [ 55.366710] ? __lock_acquire+0x2c57/0x3f20 [ 55.371018] __lock_acquire+0x2c57/0x3f20 [ 55.375167] ? io_schedule_timeout+0x140/0x140 [ 55.379740] ? __wake_up_common_lock+0xcd/0x140 [ 55.384397] ? trace_hardirqs_on+0x10/0x10 [ 55.388632] ? trace_hardirqs_on+0x10/0x10 [ 55.392875] ? preempt_schedule_common+0x45/0xc0 [ 55.397631] ? ___preempt_schedule+0x16/0x18 [ 55.402024] ? tipc_recvmsg+0x436/0x9d0 [ 55.405982] ? __local_bh_enable_ip+0x132/0x170 [ 55.410639] lock_acquire+0x170/0x3f0 [ 55.414433] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 55.419006] _raw_spin_lock_bh+0x2f/0x40 [ 55.423071] ? tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 55.427638] tipc_subscrb_rcv_cb+0x4d4/0xa40 [ 55.432032] tipc_receive_from_sock+0x25c/0x450 [ 55.436687] ? trace_hardirqs_on+0x10/0x10 [ 55.440927] ? lock_acquire+0x170/0x3f0 [ 55.444897] ? tipc_close_conn+0x200/0x200 [ 55.449117] tipc_recv_work+0x75/0xd0 [ 55.452924] process_one_work+0x793/0x14a0 [ 55.457159] ? work_busy+0x320/0x320 [ 55.460856] ? worker_thread+0x158/0xff0 [ 55.464914] ? _raw_spin_unlock_irq+0x24/0x80 [ 55.469412] worker_thread+0x5cc/0xff0 [ 55.473288] ? rescuer_thread+0xc80/0xc80 [ 55.477420] kthread+0x30d/0x420 [ 55.480785] ? kthread_create_on_node+0xd0/0xd0 [ 55.485489] ret_from_fork+0x24/0x30 [ 55.490345] Kernel Offset: disabled [ 55.493962] Rebooting in 86400 seconds..