[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 14.921728] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 29.982754] random: sshd: uninitialized urandom read (32 bytes read) [ 30.369079] random: sshd: uninitialized urandom read (32 bytes read) [ 30.858490] random: sshd: uninitialized urandom read (32 bytes read) [ 47.684117] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.19' (ECDSA) to the list of known hosts. [ 53.323502] random: sshd: uninitialized urandom read (32 bytes read) net.ipv6.conf.syz_tun.accept_dad = 0 net.ipv6.conf.syz_tun.router_solicitations = 0 [ 53.413138] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 67.644661] ================================================================== [ 67.652051] BUG: KASAN: use-after-free in l2tp_session_queue_purge+0xf4/0x100 [ 67.659341] Read of size 4 at addr ffff8801d4234a00 by task syz-executor241/5487 [ 67.666848] [ 67.668453] CPU: 0 PID: 5487 Comm: syz-executor241 Not tainted 4.9.124-g09eb2ba #83 [ 67.676219] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 67.685547] ffff8801d39e7ca8 ffffffff81eb95e9 ffffea0007508d00 ffff8801d4234a00 [ 67.693645] 0000000000000000 ffff8801d4234a00 0000000000000000 ffff8801d39e7ce0 [ 67.701645] ffffffff8156c35e ffff8801d4234a00 0000000000000004 0000000000000000 [ 67.709642] Call Trace: [ 67.712202] [] dump_stack+0xc1/0x128 [ 67.717543] [] print_address_description+0x6c/0x234 [ 67.724183] [] kasan_report.cold.6+0x242/0x2fe [ 67.730592] [] ? l2tp_session_queue_purge+0xf4/0x100 [ 67.737321] [] __asan_report_load4_noabort+0x14/0x20 [ 67.744046] [] l2tp_session_queue_purge+0xf4/0x100 [ 67.750605] [] pppol2tp_release+0x1fb/0x2e0 [ 67.756554] [] __sock_release+0xd7/0x260 [ 67.762240] [] ? __sock_release+0x260/0x260 [ 67.768189] [] sock_close+0x19/0x20 [ 67.773442] [] __fput+0x263/0x700 [ 67.778521] [] ____fput+0x15/0x20 [ 67.783605] [] task_work_run+0x10c/0x180 [ 67.789291] [] exit_to_usermode_loop+0xfc/0x120 [ 67.795591] [] do_syscall_64+0x364/0x490 [ 67.801282] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 67.808231] [ 67.809842] Allocated by task 5488: [ 67.813447] save_stack_trace+0x16/0x20 [ 67.817396] save_stack+0x43/0xd0 [ 67.820820] kasan_kmalloc+0xc7/0xe0 [ 67.824507] __kmalloc+0x11d/0x300 [ 67.828020] l2tp_session_create+0x38/0x16f0 [ 67.832400] pppol2tp_connect+0x10d7/0x18f0 [ 67.836694] SYSC_connect+0x1b8/0x300 [ 67.840472] SyS_connect+0x24/0x30 [ 67.843987] do_syscall_64+0x1a6/0x490 [ 67.847848] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 67.852925] [ 67.854530] Freed by task 5466: [ 67.857785] save_stack_trace+0x16/0x20 [ 67.861786] save_stack+0x43/0xd0 [ 67.865222] kasan_slab_free+0x72/0xc0 [ 67.869087] kfree+0xfb/0x310 [ 67.872172] l2tp_session_free+0x166/0x200 [ 67.876379] l2tp_tunnel_closeall+0x284/0x350 [ 67.880851] l2tp_udp_encap_destroy+0x87/0xe0 [ 67.885320] udpv6_destroy_sock+0xb1/0xd0 [ 67.889441] sk_common_release+0x6d/0x300 [ 67.893561] udp_lib_close+0x15/0x20 [ 67.897259] inet_release+0xff/0x1d0 [ 67.900946] inet6_release+0x50/0x70 [ 67.904635] __sock_release+0xd7/0x260 [ 67.908492] sock_close+0x19/0x20 [ 67.911921] __fput+0x263/0x700 [ 67.915173] ____fput+0x15/0x20 [ 67.918428] task_work_run+0x10c/0x180 [ 67.922288] do_exit+0x9e1/0x27b0 [ 67.925714] do_group_exit+0x111/0x340 [ 67.929712] SyS_exit_group+0x1d/0x20 [ 67.933495] do_syscall_64+0x1a6/0x490 [ 67.937364] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 67.942479] [ 67.944088] The buggy address belongs to the object at ffff8801d4234a00 [ 67.944088] which belongs to the cache kmalloc-512 of size 512 [ 67.956721] The buggy address is located 0 bytes inside of [ 67.956721] 512-byte region [ffff8801d4234a00, ffff8801d4234c00) [ 67.968400] The buggy address belongs to the page: [ 67.973305] page:ffffea0007508d00 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 67.983492] flags: 0x8000000000004080(slab|head) [ 67.988226] page dumped because: kasan: bad access detected [ 67.994051] [ 67.995664] Memory state around the buggy address: [ 68.000567] ffff8801d4234900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.007906] ffff8801d4234980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 68.015241] >ffff8801d4234a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.022574] ^ [ 68.025920] ffff8801d4234a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.033253] ffff8801d4234b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.040590] ================================================================== [ 68.048028] Disabling lock debugging due to kernel taint [ 68.053874] Kernel panic - not syncing: panic_on_warn set ... [ 68.053874] [ 68.061225] CPU: 0 PID: 5487 Comm: syz-executor241 Tainted: G B 4.9.124-g09eb2ba #83 [ 68.070206] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 68.079536] ffff8801d39e7c08 ffffffff81eb95e9 ffffffff843c828b 00000000ffffffff [ 68.087562] 0000000000000000 0000000000000000 0000000000000000 ffff8801d39e7cc8 [ 68.095585] ffffffff81423eb5 0000000041b58ab3 ffffffff843bb8e8 ffffffff81423cf6 [ 68.103598] Call Trace: [ 68.106167] [] dump_stack+0xc1/0x128 [ 68.111510] [] panic+0x1bf/0x3bc [ 68.116504] [] ? add_taint.cold.6+0x16/0x16 [ 68.122465] [] ? ___preempt_schedule+0x16/0x18 [ 68.128677] [] kasan_end_report+0x47/0x4f [ 68.134448] [] kasan_report.cold.6+0x76/0x2fe [ 68.140589] [] ? l2tp_session_queue_purge+0xf4/0x100 [ 68.147323] [] __asan_report_load4_noabort+0x14/0x20 [ 68.154053] [] l2tp_session_queue_purge+0xf4/0x100 [ 68.160613] [] pppol2tp_release+0x1fb/0x2e0 [ 68.166566] [] __sock_release+0xd7/0x260 [ 68.172261] [] ? __sock_release+0x260/0x260 [ 68.178209] [] sock_close+0x19/0x20 [ 68.183461] [] __fput+0x263/0x700 [ 68.188538] [] ____fput+0x15/0x20 [ 68.193614] [] task_work_run+0x10c/0x180 [ 68.199299] [] exit_to_usermode_loop+0xfc/0x120 [ 68.205620] [] do_syscall_64+0x364/0x490 [ 68.211331] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 68.218494] Dumping ftrace buffer: [ 68.222013] (ftrace buffer empty) [ 68.225706] Kernel Offset: disabled [ 68.229310] Rebooting in 86400 seconds..