[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 15.477027] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 19.629822] random: sshd: uninitialized urandom read (32 bytes read) [ 19.842622] random: sshd: uninitialized urandom read (32 bytes read) [ 20.752164] random: sshd: uninitialized urandom read (32 bytes read) [ 20.885573] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.30' (ECDSA) to the list of known hosts. [ 26.443318] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program [ 26.519984] IPVS: Creating netns size=2536 id=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 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 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 [ 30.997762] ================================================================== [ 31.005144] BUG: KASAN: use-after-free in l2tp_session_queue_purge+0xf4/0x100 [ 31.012392] Read of size 4 at addr ffff8801c3750f00 by task syz-executor788/4961 [ 31.019899] [ 31.021504] CPU: 0 PID: 4961 Comm: syz-executor788 Not tainted 4.9.109-ge1815b3 #52 [ 31.029272] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.038601] ffff8801d796fb00 ffffffff81eb3e29 ffffea00070dd400 ffff8801c3750f00 [ 31.046595] 0000000000000000 ffff8801c3750f00 ffffffff83013be0 ffff8801d796fb38 [ 31.054587] ffffffff81567a89 ffff8801c3750f00 0000000000000004 0000000000000000 [ 31.062573] Call Trace: [ 31.065138] [] dump_stack+0xc1/0x128 [ 31.070476] [] ? sock_release+0x1c0/0x1c0 [ 31.076255] [] print_address_description+0x6c/0x234 [ 31.082893] [] ? sock_release+0x1c0/0x1c0 [ 31.088667] [] kasan_report.cold.6+0x242/0x2fe [ 31.094874] [] ? l2tp_session_queue_purge+0xf4/0x100 [ 31.101605] [] __asan_report_load4_noabort+0x14/0x20 [ 31.108334] [] l2tp_session_queue_purge+0xf4/0x100 [ 31.114896] [] ? sock_release+0x1c0/0x1c0 [ 31.120670] [] pppol2tp_release+0x1fb/0x2e0 [ 31.126614] [] sock_release+0x96/0x1c0 [ 31.132124] [] sock_close+0x16/0x20 [ 31.137386] [] __fput+0x263/0x700 [ 31.142461] [] ____fput+0x15/0x20 [ 31.147554] [] task_work_run+0x10c/0x180 [ 31.153238] [] do_exit+0x9e1/0x27c0 [ 31.158497] [] ? vm_insert_mixed+0x200/0x200 [ 31.164533] [] ? release_task.part.19+0x1210/0x1210 [ 31.171178] [] ? __do_page_fault+0x5dd/0xd50 [ 31.177217] [] ? up_read+0x1a/0x40 [ 31.182381] [] ? __do_page_fault+0x183/0xd50 [ 31.188414] [] do_group_exit+0x111/0x340 [ 31.194106] [] ? do_group_exit+0x340/0x340 [ 31.199968] [] SyS_exit_group+0x1d/0x20 [ 31.205573] [] do_syscall_64+0x1a6/0x490 [ 31.211258] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 31.218158] [ 31.219766] Allocated by task 4959: [ 31.223366] save_stack_trace+0x16/0x20 [ 31.227314] save_stack+0x43/0xd0 [ 31.230739] kasan_kmalloc+0xc7/0xe0 [ 31.234427] __kmalloc+0x11d/0x300 [ 31.237940] l2tp_session_create+0x38/0x16f0 [ 31.242321] pppol2tp_connect+0x10d7/0x18f0 [ 31.246621] SYSC_connect+0x1b8/0x300 [ 31.250393] SyS_connect+0x24/0x30 [ 31.253903] do_syscall_64+0x1a6/0x490 [ 31.257779] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 31.262857] [ 31.264457] Freed by task 4941: [ 31.267712] save_stack_trace+0x16/0x20 [ 31.271655] save_stack+0x43/0xd0 [ 31.275090] kasan_slab_free+0x72/0xc0 [ 31.278949] kfree+0xfb/0x310 [ 31.282026] l2tp_session_free+0x166/0x200 [ 31.286230] l2tp_tunnel_closeall+0x284/0x350 [ 31.290706] l2tp_udp_encap_destroy+0x87/0xe0 [ 31.295172] udpv6_destroy_sock+0xb1/0xd0 [ 31.299301] sk_common_release+0x6d/0x300 [ 31.303426] udp_lib_close+0x15/0x20 [ 31.307120] inet_release+0xff/0x1d0 [ 31.310806] inet6_release+0x50/0x70 [ 31.314502] sock_release+0x96/0x1c0 [ 31.318189] sock_close+0x16/0x20 [ 31.321621] __fput+0x263/0x700 [ 31.324878] ____fput+0x15/0x20 [ 31.328139] task_work_run+0x10c/0x180 [ 31.331997] do_exit+0x9e1/0x27c0 [ 31.335423] do_group_exit+0x111/0x340 [ 31.339285] SyS_exit_group+0x1d/0x20 [ 31.343078] do_syscall_64+0x1a6/0x490 [ 31.346940] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 31.352010] [ 31.353609] The buggy address belongs to the object at ffff8801c3750f00 [ 31.353609] which belongs to the cache kmalloc-512 of size 512 [ 31.366250] The buggy address is located 0 bytes inside of [ 31.366250] 512-byte region [ffff8801c3750f00, ffff8801c3751100) [ 31.377927] The buggy address belongs to the page: [ 31.382839] page:ffffea00070dd400 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 31.393021] flags: 0x8000000000004080(slab|head) [ 31.397746] page dumped because: kasan: bad access detected [ 31.403426] [ 31.405024] Memory state around the buggy address: [ 31.409921] ffff8801c3750e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.417249] ffff8801c3750e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.424591] >ffff8801c3750f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.431922] ^ [ 31.435257] ffff8801c3750f80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb executing program [ 31.442587] ffff8801c3751000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.449919] ================================================================== [ 31.457248] Disabling lock debugging due to kernel taint [ 31.463218] Kernel panic - not syncing: panic_on_warn set ... [ 31.463218] [ 31.470575] CPU: 0 PID: 4961 Comm: syz-executor788 Tainted: G B 4.9.109-ge1815b3 #52 [ 31.479580] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.488908] ffff8801d796fa60 ffffffff81eb3e29 ffffffff843c6327 00000000ffffffff [ 31.496967] 0000000000000000 0000000000000000 ffffffff83013be0 ffff8801d796fb20 [ 31.504944] ffffffff81421925 0000000041b58ab3 ffffffff843b9a40 ffffffff81421766 [ 31.512918] Call Trace: [ 31.515481] [] dump_stack+0xc1/0x128 [ 31.520818] [] ? sock_release+0x1c0/0x1c0 [ 31.526588] [] panic+0x1bf/0x3bc [ 31.531577] [] ? add_taint.cold.6+0x16/0x16 [ 31.537519] [] ? ___preempt_schedule+0x16/0x18 [ 31.543720] [] kasan_end_report+0x47/0x4f [ 31.549487] [] kasan_report.cold.6+0x76/0x2fe [ 31.555617] [] ? l2tp_session_queue_purge+0xf4/0x100 [ 31.562346] [] __asan_report_load4_noabort+0x14/0x20 [ 31.569073] [] l2tp_session_queue_purge+0xf4/0x100 [ 31.575630] [] ? sock_release+0x1c0/0x1c0 [ 31.581408] [] pppol2tp_release+0x1fb/0x2e0 [ 31.587352] [] sock_release+0x96/0x1c0 [ 31.592863] [] sock_close+0x16/0x20 [ 31.598125] [] __fput+0x263/0x700 [ 31.603208] [] ____fput+0x15/0x20 [ 31.608285] [] task_work_run+0x10c/0x180 [ 31.613968] [] do_exit+0x9e1/0x27c0 [ 31.619216] [] ? vm_insert_mixed+0x200/0x200 [ 31.625243] [] ? release_task.part.19+0x1210/0x1210 [ 31.631880] [] ? __do_page_fault+0x5dd/0xd50 [ 31.637909] [] ? up_read+0x1a/0x40 [ 31.643070] [] ? __do_page_fault+0x183/0xd50 [ 31.649109] [] do_group_exit+0x111/0x340 [ 31.654791] [] ? do_group_exit+0x340/0x340 [ 31.660646] [] SyS_exit_group+0x1d/0x20 [ 31.666244] [] do_syscall_64+0x1a6/0x490 [ 31.671933] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 31.679304] Dumping ftrace buffer: [ 31.682814] (ftrace buffer empty) [ 31.686494] Kernel Offset: disabled [ 31.690102] Rebooting in 86400 seconds..