Warning: Permanently added '10.128.0.54' (ECDSA) to the list of known hosts. [ 36.448377] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 36.558192] audit: type=1400 audit(1569030608.768:36): avc: denied { map } for pid=6715 comm="syz-executor349" path="/root/syz-executor349182407" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 36.585152] TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. [ 36.596991] ================================================================== [ 36.604388] BUG: KASAN: use-after-free in tcp_init_tso_segs+0x1ae/0x200 [ 36.611116] Read of size 2 at addr ffff888092035cf0 by task syz-executor349/6715 [ 36.618620] [ 36.620241] CPU: 0 PID: 6715 Comm: syz-executor349 Not tainted 4.14.145 #0 [ 36.627230] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.636562] Call Trace: [ 36.639163] dump_stack+0x138/0x197 [ 36.642884] ? tcp_init_tso_segs+0x1ae/0x200 [ 36.647277] print_address_description.cold+0x7c/0x1dc [ 36.652533] ? tcp_init_tso_segs+0x1ae/0x200 [ 36.656917] kasan_report.cold+0xa9/0x2af [ 36.661043] __asan_report_load2_noabort+0x14/0x20 [ 36.665948] tcp_init_tso_segs+0x1ae/0x200 [ 36.670161] ? tcp_tso_segs+0x7d/0x1c0 [ 36.674025] tcp_write_xmit+0x15e/0x4960 [ 36.678064] ? tcp_v6_md5_lookup+0x23/0x30 [ 36.682276] ? tcp_established_options+0x2c5/0x420 [ 36.687179] ? tcp_current_mss+0x1dc/0x2f0 [ 36.691394] ? __alloc_skb+0x3ee/0x500 [ 36.695258] __tcp_push_pending_frames+0xa6/0x260 [ 36.700082] tcp_send_fin+0x17e/0xc40 [ 36.703866] tcp_close+0xcc8/0xfb0 [ 36.707392] ? lock_acquire+0x16f/0x430 [ 36.711343] ? ip_mc_drop_socket+0x1d6/0x230 [ 36.715731] inet_release+0xec/0x1c0 [ 36.719451] inet6_release+0x53/0x80 [ 36.723144] __sock_release+0xce/0x2b0 [ 36.727004] ? __sock_release+0x2b0/0x2b0 [ 36.731124] sock_close+0x1b/0x30 [ 36.734554] __fput+0x275/0x7a0 [ 36.737811] ____fput+0x16/0x20 [ 36.741084] task_work_run+0x114/0x190 [ 36.744953] do_exit+0x7df/0x2c10 [ 36.748384] ? mm_update_next_owner+0x5d0/0x5d0 [ 36.753048] ? fd_install+0x4d/0x60 [ 36.756651] ? sock_map_fd+0x56/0x80 [ 36.760342] ? SyS_socket+0x103/0x170 [ 36.764115] do_group_exit+0x111/0x330 [ 36.767988] SyS_exit_group+0x1d/0x20 [ 36.771763] ? do_group_exit+0x330/0x330 [ 36.775799] do_syscall_64+0x1e8/0x640 [ 36.779661] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.784483] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 36.789645] RIP: 0033:0x43ee88 [ 36.792813] RSP: 002b:00007ffc4166d508 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 36.800515] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ee88 [ 36.807760] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 36.815003] RBP: 00000000004be688 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 36.822259] R10: 0000000020000004 R11: 0000000000000246 R12: 0000000000000001 [ 36.829507] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 36.836756] [ 36.838358] Allocated by task 6715: [ 36.841981] save_stack_trace+0x16/0x20 [ 36.845949] save_stack+0x45/0xd0 [ 36.849378] kasan_kmalloc+0xce/0xf0 [ 36.853065] kasan_slab_alloc+0xf/0x20 [ 36.856926] kmem_cache_alloc_node+0x144/0x780 [ 36.861519] __alloc_skb+0x9c/0x500 [ 36.865134] sk_stream_alloc_skb+0xb3/0x780 [ 36.869427] tcp_sendmsg_locked+0xf61/0x3200 [ 36.873811] tcp_sendmsg+0x30/0x50 [ 36.877328] inet_sendmsg+0x122/0x500 [ 36.881109] sock_sendmsg+0xce/0x110 [ 36.884796] SYSC_sendto+0x206/0x310 [ 36.888485] SyS_sendto+0x40/0x50 [ 36.891923] do_syscall_64+0x1e8/0x640 [ 36.895798] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 36.900960] [ 36.902563] Freed by task 6715: [ 36.905818] save_stack_trace+0x16/0x20 [ 36.909766] save_stack+0x45/0xd0 [ 36.913196] kasan_slab_free+0x75/0xc0 [ 36.917057] kmem_cache_free+0x83/0x2b0 [ 36.921003] kfree_skbmem+0x8d/0x120 [ 36.924689] __kfree_skb+0x1e/0x30 [ 36.928204] tcp_remove_empty_skb.part.0+0x231/0x2e0 [ 36.933291] tcp_sendmsg_locked+0x1ced/0x3200 [ 36.937758] tcp_sendmsg+0x30/0x50 [ 36.941274] inet_sendmsg+0x122/0x500 [ 36.945048] sock_sendmsg+0xce/0x110 [ 36.948732] SYSC_sendto+0x206/0x310 [ 36.952420] SyS_sendto+0x40/0x50 [ 36.955847] do_syscall_64+0x1e8/0x640 [ 36.959712] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 36.964873] [ 36.966480] The buggy address belongs to the object at ffff888092035cc0 [ 36.966480] which belongs to the cache skbuff_fclone_cache of size 472 [ 36.979806] The buggy address is located 48 bytes inside of [ 36.979806] 472-byte region [ffff888092035cc0, ffff888092035e98) [ 36.991566] The buggy address belongs to the page: [ 36.996818] page:ffffea0002480d40 count:1 mapcount:0 mapping:ffff888092035040 index:0x0 [ 37.005036] flags: 0x1fffc0000000100(slab) [ 37.009245] raw: 01fffc0000000100 ffff888092035040 0000000000000000 0000000100000006 [ 37.017099] raw: ffffea000282ea20 ffff8880a9e1bc48 ffff8880a9e19a80 0000000000000000 [ 37.024952] page dumped because: kasan: bad access detected [ 37.030639] [ 37.032243] Memory state around the buggy address: [ 37.037147] ffff888092035b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 37.044482] ffff888092035c00: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.051820] >ffff888092035c80: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 37.059250] ^ [ 37.066353] ffff888092035d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 37.073689] ffff888092035d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 37.081057] ================================================================== [ 37.088390] Disabling lock debugging due to kernel taint [ 37.094256] Kernel panic - not syncing: panic_on_warn set ... [ 37.094256] [ 37.101796] CPU: 0 PID: 6715 Comm: syz-executor349 Tainted: G B 4.14.145 #0 [ 37.109999] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.119332] Call Trace: [ 37.121897] dump_stack+0x138/0x197 [ 37.125502] ? tcp_init_tso_segs+0x1ae/0x200 [ 37.129885] panic+0x1f2/0x426 [ 37.133055] ? add_taint.cold+0x16/0x16 [ 37.137006] ? ___preempt_schedule+0x16/0x18 [ 37.141537] kasan_end_report+0x47/0x4f [ 37.145483] kasan_report.cold+0x130/0x2af [ 37.149692] __asan_report_load2_noabort+0x14/0x20 [ 37.154597] tcp_init_tso_segs+0x1ae/0x200 [ 37.158820] ? tcp_tso_segs+0x7d/0x1c0 [ 37.162773] tcp_write_xmit+0x15e/0x4960 [ 37.166810] ? tcp_v6_md5_lookup+0x23/0x30 [ 37.171020] ? tcp_established_options+0x2c5/0x420 [ 37.175927] ? tcp_current_mss+0x1dc/0x2f0 [ 37.180138] ? __alloc_skb+0x3ee/0x500 [ 37.184028] __tcp_push_pending_frames+0xa6/0x260 [ 37.188946] tcp_send_fin+0x17e/0xc40 [ 37.192724] tcp_close+0xcc8/0xfb0 [ 37.196239] ? lock_acquire+0x16f/0x430 [ 37.200190] ? ip_mc_drop_socket+0x1d6/0x230 [ 37.204582] inet_release+0xec/0x1c0 [ 37.208270] inet6_release+0x53/0x80 [ 37.211960] __sock_release+0xce/0x2b0 [ 37.215825] ? __sock_release+0x2b0/0x2b0 [ 37.219947] sock_close+0x1b/0x30 [ 37.223376] __fput+0x275/0x7a0 [ 37.226636] ____fput+0x16/0x20 [ 37.229918] task_work_run+0x114/0x190 [ 37.233784] do_exit+0x7df/0x2c10 [ 37.237222] ? mm_update_next_owner+0x5d0/0x5d0 [ 37.241870] ? fd_install+0x4d/0x60 [ 37.245471] ? sock_map_fd+0x56/0x80 [ 37.249168] ? SyS_socket+0x103/0x170 [ 37.252948] do_group_exit+0x111/0x330 [ 37.256811] SyS_exit_group+0x1d/0x20 [ 37.260585] ? do_group_exit+0x330/0x330 [ 37.264620] do_syscall_64+0x1e8/0x640 [ 37.268481] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 37.273299] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 37.278464] RIP: 0033:0x43ee88 [ 37.281630] RSP: 002b:00007ffc4166d508 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 37.289312] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ee88 [ 37.296560] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 37.303806] RBP: 00000000004be688 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 37.311052] R10: 0000000020000004 R11: 0000000000000246 R12: 0000000000000001 [ 37.318297] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 37.326861] Kernel Offset: disabled [ 37.330478] Rebooting in 86400 seconds..