[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 15.526498] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 29.746364] random: sshd: uninitialized urandom read (32 bytes read) [ 29.949894] random: sshd: uninitialized urandom read (32 bytes read) [ 30.540974] random: sshd: uninitialized urandom read (32 bytes read) [ 32.499843] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.48' (ECDSA) to the list of known hosts. [ 37.957119] random: sshd: uninitialized urandom read (32 bytes read) RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported [ 38.038878] IPVS: Creating netns size=2536 id=1 Error: argument "bridge0" is wrong: Device does not exist Error: argument "bridge0" is wrong: Device does not exist Error: argument "bond0" is wrong: Device does not exist Error: argument "bond0" is wrong: Device does not exist [ 38.118219] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 38.129416] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready Error: argument "team0" is wrong: Device does not exist Error: argument "team0" is wrong: Device does not exist [ 38.170182] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bond: link is not ready [ 38.181123] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bond: link is not ready [ 38.221313] IPv6: ADDRCONF(NETDEV_UP): veth0_to_team: link is not ready [ 38.232351] IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready [ 38.244272] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready RTNETLINK answers: Operation not supported [ 38.264823] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready Cannot find device "bridge0" Cannot find device "bridge0" Cannot find device "bridge0" Cannot find device "bridge0" Cannot find device "vcan0" Cannot find device "vcan0" Cannot find device "vcan0" Cannot find device "vcan0" RTNETLINK answers: Operation not supported Cannot find device "gre0" Cannot find device "gre0" Cannot find device "gre0" Cannot find device "gre0" Cannot find device "gretap0" Cannot find device "gretap0" Cannot find device "gretap0" Cannot find device "gretap0" Cannot find device "ip_vti0" Cannot find device "ip_vti0" Cannot find device "ip_vti0" Cannot find device "ip_vti0" Cannot find device "ip6_vti0" Cannot find device "ip6_vti0" Cannot find device "ip6_vti0" Cannot find device "ip6_vti0" Cannot find device "ip6tnl0" Cannot find device "ip6tnl0" Cannot find device "ip6tnl0" Cannot find device "ip6tnl0" Cannot find device "ip6gre0" Cannot find device "ip6gre0" Cannot find device "ip6gre0" Cannot find device "ip6gre0" Cannot find device "ip6gretap0" Cannot find device "ip6gretap0" Cannot find device "ip6gretap0" Cannot find device "ip6gretap0" Cannot find device "erspan0" Cannot find device "erspan0" Cannot find device "erspan0" Cannot find device "erspan0" Cannot find device "bond0" Cannot find device "bond0" Cannot find device "bond0" Cannot find device "bond0" Cannot find device "team0" Cannot find device "team0" Cannot find device "team0" Cannot find device "team0" [ 38.721170] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 38.745018] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 38.751130] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 38.758570] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready executing program [ 38.951080] ================================================================== [ 38.958461] BUG: KASAN: use-after-free in tcp_connect+0x2633/0x2fa0 [ 38.964846] Read of size 4 at addr ffff8801d7dc36a8 by task syz-executor533/4165 [ 38.972358] [ 38.973965] CPU: 0 PID: 4165 Comm: syz-executor533 Not tainted 4.9.105-gd7e64f8 #43 [ 38.981727] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.991059] ffff8801c5c3f930 ffffffff81eb41a9 ffffea00075f7080 ffff8801d7dc36a8 [ 38.999064] 0000000000000000 ffff8801d7dc36a8 ffff8801c2660698 ffff8801c5c3f968 [ 39.007042] ffffffff81567e49 ffff8801d7dc36a8 0000000000000004 0000000000000000 [ 39.015036] Call Trace: [ 39.017598] [] dump_stack+0xc1/0x128 [ 39.022938] [] print_address_description+0x6c/0x234 [ 39.029580] [] kasan_report.cold.6+0x242/0x2fe [ 39.035811] [] ? tcp_connect+0x2633/0x2fa0 [ 39.041680] [] __asan_report_load4_noabort+0x14/0x20 [ 39.048403] [] tcp_connect+0x2633/0x2fa0 [ 39.054082] [] ? tcp_push_one+0xe0/0xe0 [ 39.059677] [] ? dst_release+0x70/0xb0 [ 39.065185] [] tcp_v4_connect+0x19f0/0x1c20 [ 39.071148] [] ? tcp_v4_inbound_md5_hash+0x3f0/0x3f0 [ 39.077882] [] ? selinux_socket_connect+0x167/0x4a0 [ 39.084528] [] __inet_stream_connect+0x6e0/0xbf0 [ 39.090909] [] ? mark_held_locks+0xc7/0x130 [ 39.096855] [] ? inet_bind+0x8b0/0x8b0 [ 39.102374] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 39.109188] [] ? lock_sock_nested+0x90/0x120 [ 39.115224] [] ? trace_hardirqs_on+0xd/0x10 [ 39.121183] [] ? __local_bh_enable_ip+0x6a/0xd0 [ 39.127492] [] inet_stream_connect+0x55/0xa0 [ 39.133523] [] SYSC_connect+0x1b8/0x300 [ 39.139118] [] ? SYSC_bind+0x280/0x280 [ 39.144627] [] ? fput+0xd2/0x140 [ 39.149619] [] ? __sys_sendmsg+0xf1/0x190 [ 39.155386] [] ? SyS_shutdown+0x1b0/0x1b0 [ 39.161154] [] ? do_futex+0x17c0/0x17c0 [ 39.166752] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 39.173563] [] SyS_connect+0x24/0x30 [ 39.178896] [] ? SyS_accept+0x30/0x30 [ 39.184317] [] do_syscall_64+0x1a6/0x490 [ 39.190000] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 39.196909] [ 39.198509] Allocated by task 4164: [ 39.202108] save_stack_trace+0x16/0x20 [ 39.206059] save_stack+0x43/0xd0 [ 39.209483] kasan_kmalloc+0xc7/0xe0 [ 39.213163] kasan_slab_alloc+0x12/0x20 [ 39.217107] kmem_cache_alloc+0xbe/0x290 [ 39.221138] __alloc_skb+0xe6/0x600 [ 39.224736] sk_stream_alloc_skb+0xa3/0x5d0 [ 39.229037] tcp_sendmsg+0xe57/0x3040 [ 39.232810] inet_sendmsg+0x203/0x4d0 [ 39.236588] sock_sendmsg+0xcc/0x110 [ 39.240275] sock_write_iter+0x223/0x3b0 [ 39.244305] __vfs_write+0x3e0/0x580 [ 39.247987] vfs_write+0x187/0x530 [ 39.251498] SyS_write+0xd9/0x1c0 [ 39.254920] do_syscall_64+0x1a6/0x490 [ 39.258795] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 39.263867] [ 39.265464] Freed by task 4165: [ 39.268714] save_stack_trace+0x16/0x20 [ 39.272662] save_stack+0x43/0xd0 [ 39.276170] kasan_slab_free+0x72/0xc0 [ 39.280027] kmem_cache_free+0xbe/0x310 [ 39.283972] kfree_skbmem+0x7c/0x100 [ 39.287658] __kfree_skb+0x1d/0x20 [ 39.291168] tcp_connect+0xaaf/0x2fa0 [ 39.294947] tcp_v4_connect+0x19f0/0x1c20 [ 39.299069] __inet_stream_connect+0x6e0/0xbf0 [ 39.303633] inet_stream_connect+0x55/0xa0 [ 39.307846] SYSC_connect+0x1b8/0x300 [ 39.311624] SyS_connect+0x24/0x30 [ 39.315143] do_syscall_64+0x1a6/0x490 [ 39.319011] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 39.324088] [ 39.325689] The buggy address belongs to the object at ffff8801d7dc3680 [ 39.325689] which belongs to the cache skbuff_fclone_cache of size 456 [ 39.339015] The buggy address is located 40 bytes inside of [ 39.339015] 456-byte region [ffff8801d7dc3680, ffff8801d7dc3848) [ 39.350774] The buggy address belongs to the page: [ 39.355676] page:ffffea00075f7080 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 39.365862] flags: 0x8000000000004080(slab|head) [ 39.370588] page dumped because: kasan: bad access detected [ 39.376264] [ 39.377864] Memory state around the buggy address: [ 39.382763] ffff8801d7dc3580: fb fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc [ 39.390092] ffff8801d7dc3600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.397429] >ffff8801d7dc3680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.404759] ^ [ 39.409401] ffff8801d7dc3700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.416845] ffff8801d7dc3780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.424178] ================================================================== [ 39.431529] Disabling lock debugging due to kernel taint [ 39.437421] Kernel panic - not syncing: panic_on_warn set ... [ 39.437421] [ 39.444767] CPU: 0 PID: 4165 Comm: syz-executor533 Tainted: G B 4.9.105-gd7e64f8 #43 [ 39.453751] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.463096] ffff8801c5c3f890 ffffffff81eb41a9 ffffffff843c625d 00000000ffffffff [ 39.471076] 0000000000000000 0000000000000000 ffff8801c2660698 ffff8801c5c3f950 [ 39.479071] ffffffff81421e15 0000000041b58ab3 ffffffff843b9990 ffffffff81421c56 [ 39.487065] Call Trace: [ 39.489636] [] dump_stack+0xc1/0x128 [ 39.494981] [] panic+0x1bf/0x3bc [ 39.499977] [] ? add_taint.cold.6+0x16/0x16 [ 39.505922] [] ? ___preempt_schedule+0x16/0x18 [ 39.512150] [] kasan_end_report+0x47/0x4f [ 39.517924] [] kasan_report.cold.6+0x76/0x2fe [ 39.524040] [] ? tcp_connect+0x2633/0x2fa0 [ 39.529900] [] __asan_report_load4_noabort+0x14/0x20 [ 39.536621] [] tcp_connect+0x2633/0x2fa0 [ 39.542740] [] ? tcp_push_one+0xe0/0xe0 [ 39.548336] [] ? dst_release+0x70/0xb0 [ 39.553851] [] tcp_v4_connect+0x19f0/0x1c20 [ 39.559796] [] ? tcp_v4_inbound_md5_hash+0x3f0/0x3f0 [ 39.566531] [] ? selinux_socket_connect+0x167/0x4a0 [ 39.573168] [] __inet_stream_connect+0x6e0/0xbf0 [ 39.579550] [] ? mark_held_locks+0xc7/0x130 [ 39.585490] [] ? inet_bind+0x8b0/0x8b0 [ 39.591001] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 39.597819] [] ? lock_sock_nested+0x90/0x120 [ 39.603871] [] ? trace_hardirqs_on+0xd/0x10 [ 39.609834] [] ? __local_bh_enable_ip+0x6a/0xd0 [ 39.616130] [] inet_stream_connect+0x55/0xa0 [ 39.622160] [] SYSC_connect+0x1b8/0x300 [ 39.627757] [] ? SYSC_bind+0x280/0x280 [ 39.633269] [] ? fput+0xd2/0x140 [ 39.638262] [] ? __sys_sendmsg+0xf1/0x190 [ 39.644041] [] ? SyS_shutdown+0x1b0/0x1b0 [ 39.649814] [] ? do_futex+0x17c0/0x17c0 [ 39.655414] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 39.662236] [] SyS_connect+0x24/0x30 [ 39.667584] [] ? SyS_accept+0x30/0x30 [ 39.673010] [] do_syscall_64+0x1a6/0x490 [ 39.678692] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 39.685998] Dumping ftrace buffer: [ 39.689521] (ftrace buffer empty) [ 39.693208] Kernel Offset: disabled [ 39.696827] Rebooting in 86400 seconds..