Warning: Permanently added '10.128.10.56' (ECDSA) to the list of known hosts. [ 51.017554] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 51.132623] audit: type=1400 audit(1568994303.592:36): avc: denied { map } for pid=6881 comm="syz-executor344" path="/root/syz-executor344989055" 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 [ 51.161268] ================================================================== [ 51.168769] BUG: KASAN: use-after-free in tcp_init_tso_segs+0x1ae/0x200 [ 51.175500] Read of size 2 at addr ffff8880925fda70 by task syz-executor344/6881 [ 51.183007] [ 51.184618] CPU: 0 PID: 6881 Comm: syz-executor344 Not tainted 4.14.145 #0 [ 51.191634] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.200997] Call Trace: [ 51.203596] dump_stack+0x138/0x197 [ 51.207203] ? tcp_init_tso_segs+0x1ae/0x200 [ 51.211608] print_address_description.cold+0x7c/0x1dc [ 51.216868] ? tcp_init_tso_segs+0x1ae/0x200 [ 51.221255] kasan_report.cold+0xa9/0x2af [ 51.225387] __asan_report_load2_noabort+0x14/0x20 [ 51.230341] tcp_init_tso_segs+0x1ae/0x200 [ 51.234556] ? tcp_tso_segs+0x7d/0x1c0 [ 51.238423] tcp_write_xmit+0x15e/0x4960 [ 51.242495] ? tcp_v6_md5_lookup+0x23/0x30 [ 51.246717] ? tcp_established_options+0x2c5/0x420 [ 51.251626] ? tcp_current_mss+0x1dc/0x2f0 [ 51.255841] ? __alloc_skb+0x3ee/0x500 [ 51.259705] __tcp_push_pending_frames+0xa6/0x260 [ 51.264529] tcp_send_fin+0x17e/0xc40 [ 51.268305] tcp_close+0xcc8/0xfb0 [ 51.271852] ? lock_acquire+0x16f/0x430 [ 51.275803] ? ip_mc_drop_socket+0x1d6/0x230 [ 51.280200] inet_release+0xec/0x1c0 [ 51.283891] inet6_release+0x53/0x80 [ 51.287582] __sock_release+0xce/0x2b0 [ 51.291446] ? __sock_release+0x2b0/0x2b0 [ 51.295666] sock_close+0x1b/0x30 [ 51.299116] __fput+0x275/0x7a0 [ 51.302375] ____fput+0x16/0x20 [ 51.305633] task_work_run+0x114/0x190 [ 51.309510] do_exit+0x7df/0x2c10 [ 51.312945] ? mm_update_next_owner+0x5d0/0x5d0 [ 51.317607] ? fd_install+0x4d/0x60 [ 51.321558] ? sock_map_fd+0x56/0x80 [ 51.325247] ? SyS_socket+0x103/0x170 [ 51.329022] do_group_exit+0x111/0x330 [ 51.332888] SyS_exit_group+0x1d/0x20 [ 51.336670] ? do_group_exit+0x330/0x330 [ 51.340709] do_syscall_64+0x1e8/0x640 [ 51.344572] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 51.349393] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 51.354557] RIP: 0033:0x43ee88 [ 51.357723] RSP: 002b:00007ffcc4d9eb28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 51.365439] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ee88 [ 51.372689] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 51.379936] RBP: 00000000004be688 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 51.387183] R10: 0000000020000004 R11: 0000000000000246 R12: 0000000000000001 [ 51.394430] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 51.401686] [ 51.403291] Allocated by task 6881: [ 51.406903] save_stack_trace+0x16/0x20 [ 51.410855] save_stack+0x45/0xd0 [ 51.414291] kasan_kmalloc+0xce/0xf0 [ 51.417979] kasan_slab_alloc+0xf/0x20 [ 51.421843] kmem_cache_alloc_node+0x144/0x780 [ 51.426400] __alloc_skb+0x9c/0x500 [ 51.430007] sk_stream_alloc_skb+0xb3/0x780 [ 51.434310] tcp_sendmsg_locked+0xf61/0x3200 [ 51.438698] tcp_sendmsg+0x30/0x50 [ 51.442222] inet_sendmsg+0x122/0x500 [ 51.445998] sock_sendmsg+0xce/0x110 [ 51.449688] SYSC_sendto+0x206/0x310 [ 51.453377] SyS_sendto+0x40/0x50 [ 51.456806] do_syscall_64+0x1e8/0x640 [ 51.460677] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 51.465840] [ 51.467450] Freed by task 6881: [ 51.470716] save_stack_trace+0x16/0x20 [ 51.474667] save_stack+0x45/0xd0 [ 51.478096] kasan_slab_free+0x75/0xc0 [ 51.481961] kmem_cache_free+0x83/0x2b0 [ 51.485907] kfree_skbmem+0x8d/0x120 [ 51.489595] __kfree_skb+0x1e/0x30 [ 51.493227] tcp_remove_empty_skb.part.0+0x231/0x2e0 [ 51.498306] tcp_sendmsg_locked+0x1ced/0x3200 [ 51.502780] tcp_sendmsg+0x30/0x50 [ 51.506404] inet_sendmsg+0x122/0x500 [ 51.510180] sock_sendmsg+0xce/0x110 [ 51.513871] SYSC_sendto+0x206/0x310 [ 51.517558] SyS_sendto+0x40/0x50 [ 51.520984] do_syscall_64+0x1e8/0x640 [ 51.524849] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 51.530085] [ 51.531690] The buggy address belongs to the object at ffff8880925fda40 [ 51.531690] which belongs to the cache skbuff_fclone_cache of size 472 [ 51.545014] The buggy address is located 48 bytes inside of [ 51.545014] 472-byte region [ffff8880925fda40, ffff8880925fdc18) [ 51.556783] The buggy address belongs to the page: [ 51.561691] page:ffffea0002497f40 count:1 mapcount:0 mapping:ffff8880925fd040 index:0x0 [ 51.569811] flags: 0x1fffc0000000100(slab) [ 51.574029] raw: 01fffc0000000100 ffff8880925fd040 0000000000000000 0000000100000006 [ 51.581896] raw: ffffea000260c3e0 ffff8880a9e1bc48 ffff8880a9e19a80 0000000000000000 [ 51.589748] page dumped because: kasan: bad access detected [ 51.595458] [ 51.597060] Memory state around the buggy address: [ 51.601963] ffff8880925fd900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 51.609296] ffff8880925fd980: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.616632] >ffff8880925fda00: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 51.623965] ^ [ 51.630956] ffff8880925fda80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 51.638297] ffff8880925fdb00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 51.645648] ================================================================== [ 51.652981] Disabling lock debugging due to kernel taint [ 51.658679] Kernel panic - not syncing: panic_on_warn set ... [ 51.658679] [ 51.666047] CPU: 0 PID: 6881 Comm: syz-executor344 Tainted: G B 4.14.145 #0 [ 51.674247] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.683576] Call Trace: [ 51.686144] dump_stack+0x138/0x197 [ 51.689748] ? tcp_init_tso_segs+0x1ae/0x200 [ 51.694145] panic+0x1f2/0x426 [ 51.697312] ? add_taint.cold+0x16/0x16 [ 51.701262] kasan_end_report+0x47/0x4f [ 51.705209] kasan_report.cold+0x130/0x2af [ 51.709436] __asan_report_load2_noabort+0x14/0x20 [ 51.714355] tcp_init_tso_segs+0x1ae/0x200 [ 51.718591] ? tcp_tso_segs+0x7d/0x1c0 [ 51.722457] tcp_write_xmit+0x15e/0x4960 [ 51.726509] ? tcp_v6_md5_lookup+0x23/0x30 [ 51.730731] ? tcp_established_options+0x2c5/0x420 [ 51.735639] ? tcp_current_mss+0x1dc/0x2f0 [ 51.739849] ? __alloc_skb+0x3ee/0x500 [ 51.743714] __tcp_push_pending_frames+0xa6/0x260 [ 51.748540] tcp_send_fin+0x17e/0xc40 [ 51.752316] tcp_close+0xcc8/0xfb0 [ 51.755836] ? lock_acquire+0x16f/0x430 [ 51.759785] ? ip_mc_drop_socket+0x1d6/0x230 [ 51.764169] inet_release+0xec/0x1c0 [ 51.767859] inet6_release+0x53/0x80 [ 51.771550] __sock_release+0xce/0x2b0 [ 51.775414] ? __sock_release+0x2b0/0x2b0 [ 51.779533] sock_close+0x1b/0x30 [ 51.782970] __fput+0x275/0x7a0 [ 51.786224] ____fput+0x16/0x20 [ 51.789514] task_work_run+0x114/0x190 [ 51.793394] do_exit+0x7df/0x2c10 [ 51.796823] ? mm_update_next_owner+0x5d0/0x5d0 [ 51.801494] ? fd_install+0x4d/0x60 [ 51.805105] ? sock_map_fd+0x56/0x80 [ 51.808791] ? SyS_socket+0x103/0x170 [ 51.812568] do_group_exit+0x111/0x330 [ 51.816446] SyS_exit_group+0x1d/0x20 [ 51.820223] ? do_group_exit+0x330/0x330 [ 51.824260] do_syscall_64+0x1e8/0x640 [ 51.828121] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 51.832950] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 51.838114] RIP: 0033:0x43ee88 [ 51.841280] RSP: 002b:00007ffcc4d9eb28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 51.848974] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ee88 [ 51.856221] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 51.863465] RBP: 00000000004be688 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 51.870720] R10: 0000000020000004 R11: 0000000000000246 R12: 0000000000000001 [ 51.877972] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 51.886517] Kernel Offset: disabled [ 51.890164] Rebooting in 86400 seconds..