Warning: Permanently added '10.128.0.185' (ECDSA) to the list of known hosts. [ 60.984281] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 61.103451] audit: type=1400 audit(1569032953.140:36): avc: denied { map } for pid=6850 comm="syz-executor730" path="/root/syz-executor730323599" dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 61.130949] TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. [ 61.144027] ================================================================== [ 61.152155] BUG: KASAN: use-after-free in tcp_init_tso_segs+0x1ae/0x200 [ 61.159118] Read of size 2 at addr ffff8880a0c207b0 by task syz-executor730/6850 [ 61.167044] [ 61.168674] CPU: 1 PID: 6850 Comm: syz-executor730 Not tainted 4.14.145 #0 [ 61.175872] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.185603] Call Trace: [ 61.188197] dump_stack+0x138/0x197 [ 61.191813] ? tcp_init_tso_segs+0x1ae/0x200 [ 61.196230] print_address_description.cold+0x7c/0x1dc [ 61.201593] ? tcp_init_tso_segs+0x1ae/0x200 [ 61.206186] kasan_report.cold+0xa9/0x2af [ 61.210885] __asan_report_load2_noabort+0x14/0x20 [ 61.216076] tcp_init_tso_segs+0x1ae/0x200 [ 61.220598] ? tcp_tso_segs+0x7d/0x1c0 [ 61.224567] tcp_write_xmit+0x15e/0x4960 [ 61.228835] ? tcp_v6_md5_lookup+0x23/0x30 [ 61.233082] ? tcp_established_options+0x2c5/0x420 [ 61.238091] ? tcp_current_mss+0x1dc/0x2f0 [ 61.242322] ? __alloc_skb+0x3ee/0x500 [ 61.246204] __tcp_push_pending_frames+0xa6/0x260 [ 61.251056] tcp_send_fin+0x17e/0xc40 [ 61.254863] tcp_close+0xcc8/0xfb0 [ 61.258403] ? lock_acquire+0x16f/0x430 [ 61.262547] ? ip_mc_drop_socket+0x1d6/0x230 [ 61.267049] inet_release+0xec/0x1c0 [ 61.270956] inet6_release+0x53/0x80 [ 61.274931] __sock_release+0xce/0x2b0 [ 61.278902] ? __sock_release+0x2b0/0x2b0 [ 61.283065] sock_close+0x1b/0x30 [ 61.286523] __fput+0x275/0x7a0 [ 61.289802] ____fput+0x16/0x20 [ 61.293084] task_work_run+0x114/0x190 [ 61.296967] do_exit+0x7df/0x2c10 [ 61.300409] ? trace_hardirqs_on+0xd/0x10 [ 61.304682] ? __local_bh_enable_ip+0x99/0x1a0 [ 61.309404] ? mm_update_next_owner+0x5d0/0x5d0 [ 61.314082] ? inet_listen+0x17c/0x2f0 [ 61.317982] ? SyS_listen+0x181/0x230 [ 61.321925] do_group_exit+0x111/0x330 [ 61.326150] SyS_exit_group+0x1d/0x20 [ 61.330034] ? do_group_exit+0x330/0x330 [ 61.334107] do_syscall_64+0x1e8/0x640 [ 61.337996] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 61.342922] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 61.348285] RIP: 0033:0x43ee98 [ 61.351561] RSP: 002b:00007ffd4a13b1d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 61.359679] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ee98 [ 61.366982] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 61.374267] RBP: 00000000004be6a8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 61.381621] R10: 0000000020004004 R11: 0000000000000246 R12: 0000000000000001 [ 61.389024] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 61.396303] [ 61.397918] Allocated by task 6850: [ 61.401538] save_stack_trace+0x16/0x20 [ 61.405703] save_stack+0x45/0xd0 [ 61.409145] kasan_kmalloc+0xce/0xf0 [ 61.412955] kasan_slab_alloc+0xf/0x20 [ 61.416833] kmem_cache_alloc_node+0x144/0x780 [ 61.421429] __alloc_skb+0x9c/0x500 [ 61.425145] sk_stream_alloc_skb+0xb3/0x780 [ 61.429560] tcp_sendmsg_locked+0xf61/0x3200 [ 61.433966] tcp_sendmsg+0x30/0x50 [ 61.437496] inet_sendmsg+0x122/0x500 [ 61.441282] sock_sendmsg+0xce/0x110 [ 61.445157] SYSC_sendto+0x206/0x310 [ 61.448915] SyS_sendto+0x40/0x50 [ 61.452380] do_syscall_64+0x1e8/0x640 [ 61.456261] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 61.461524] [ 61.463296] Freed by task 6850: [ 61.466714] save_stack_trace+0x16/0x20 [ 61.470993] save_stack+0x45/0xd0 [ 61.474438] kasan_slab_free+0x75/0xc0 [ 61.478313] kmem_cache_free+0x83/0x2b0 [ 61.482283] kfree_skbmem+0x8d/0x120 [ 61.485999] __kfree_skb+0x1e/0x30 [ 61.489535] tcp_remove_empty_skb.part.0+0x231/0x2e0 [ 61.494641] tcp_sendmsg_locked+0x1ced/0x3200 [ 61.499145] tcp_sendmsg+0x30/0x50 [ 61.502814] inet_sendmsg+0x122/0x500 [ 61.506621] sock_sendmsg+0xce/0x110 [ 61.510327] SYSC_sendto+0x206/0x310 [ 61.514033] SyS_sendto+0x40/0x50 [ 61.517562] do_syscall_64+0x1e8/0x640 [ 61.521453] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 61.526901] [ 61.528531] The buggy address belongs to the object at ffff8880a0c20780 [ 61.528531] which belongs to the cache skbuff_fclone_cache of size 472 [ 61.541956] The buggy address is located 48 bytes inside of [ 61.541956] 472-byte region [ffff8880a0c20780, ffff8880a0c20958) [ 61.553751] The buggy address belongs to the page: [ 61.558680] page:ffffea0002830800 count:1 mapcount:0 mapping:ffff8880a0c20000 index:0x0 [ 61.566826] flags: 0x1fffc0000000100(slab) [ 61.571081] raw: 01fffc0000000100 ffff8880a0c20000 0000000000000000 0000000100000006 [ 61.579082] raw: ffffea0002592360 ffff8880a9e1bd48 ffff88821b75f3c0 0000000000000000 [ 61.587150] page dumped because: kasan: bad access detected [ 61.592912] [ 61.594549] Memory state around the buggy address: [ 61.599485] ffff8880a0c20680: 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc [ 61.607021] ffff8880a0c20700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 61.614459] >ffff8880a0c20780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.621804] ^ [ 61.626808] ffff8880a0c20800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.634177] ffff8880a0c20880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.641550] ================================================================== [ 61.648994] Disabling lock debugging due to kernel taint [ 61.657068] Kernel panic - not syncing: panic_on_warn set ... [ 61.657068] [ 61.664436] CPU: 1 PID: 6850 Comm: syz-executor730 Tainted: G B 4.14.145 #0 [ 61.672652] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.682264] Call Trace: [ 61.684847] dump_stack+0x138/0x197 [ 61.688464] ? tcp_init_tso_segs+0x1ae/0x200 [ 61.692876] panic+0x1f2/0x426 [ 61.696056] ? add_taint.cold+0x16/0x16 [ 61.700020] kasan_end_report+0x47/0x4f [ 61.704003] kasan_report.cold+0x130/0x2af [ 61.708385] __asan_report_load2_noabort+0x14/0x20 [ 61.713553] tcp_init_tso_segs+0x1ae/0x200 [ 61.718351] ? tcp_tso_segs+0x7d/0x1c0 [ 61.722237] tcp_write_xmit+0x15e/0x4960 [ 61.726298] ? tcp_v6_md5_lookup+0x23/0x30 [ 61.731327] ? tcp_established_options+0x2c5/0x420 [ 61.736268] ? tcp_current_mss+0x1dc/0x2f0 [ 61.740592] ? __alloc_skb+0x3ee/0x500 [ 61.744772] __tcp_push_pending_frames+0xa6/0x260 [ 61.749745] tcp_send_fin+0x17e/0xc40 [ 61.753548] tcp_close+0xcc8/0xfb0 [ 61.757200] ? lock_acquire+0x16f/0x430 [ 61.761268] ? ip_mc_drop_socket+0x1d6/0x230 [ 61.765861] inet_release+0xec/0x1c0 [ 61.769678] inet6_release+0x53/0x80 [ 61.773395] __sock_release+0xce/0x2b0 [ 61.777580] ? __sock_release+0x2b0/0x2b0 [ 61.781723] sock_close+0x1b/0x30 [ 61.785256] __fput+0x275/0x7a0 [ 61.788523] ____fput+0x16/0x20 [ 61.791805] task_work_run+0x114/0x190 [ 61.795702] do_exit+0x7df/0x2c10 [ 61.799154] ? trace_hardirqs_on+0xd/0x10 [ 61.803445] ? __local_bh_enable_ip+0x99/0x1a0 [ 61.808032] ? mm_update_next_owner+0x5d0/0x5d0 [ 61.812690] ? inet_listen+0x17c/0x2f0 [ 61.816670] ? SyS_listen+0x181/0x230 [ 61.820569] do_group_exit+0x111/0x330 [ 61.824447] SyS_exit_group+0x1d/0x20 [ 61.828367] ? do_group_exit+0x330/0x330 [ 61.832659] do_syscall_64+0x1e8/0x640 [ 61.836762] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 61.841997] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 61.847350] RIP: 0033:0x43ee98 [ 61.850526] RSP: 002b:00007ffd4a13b1d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 61.858769] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ee98 [ 61.866128] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 61.873385] RBP: 00000000004be6a8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 61.880866] R10: 0000000020004004 R11: 0000000000000246 R12: 0000000000000001 [ 61.888316] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 61.897530] Kernel Offset: disabled [ 61.901161] Rebooting in 86400 seconds..