Warning: Permanently added '10.128.15.205' (ECDSA) to the list of known hosts. [ 63.521457] random: sshd: uninitialized urandom read (32 bytes read) [ 63.610550] audit: type=1400 audit(1569049559.981:7): avc: denied { map } for pid=1797 comm="syz-executor126" path="/root/syz-executor126983570" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 executing program [ 64.350913] ================================================================== [ 64.358372] BUG: KASAN: use-after-free in tcp_init_tso_segs+0x19d/0x1f0 [ 64.365118] Read of size 2 at addr ffff8881d09b8a30 by task syz-executor126/1798 [ 64.372690] [ 64.374299] CPU: 0 PID: 1798 Comm: syz-executor126 Not tainted 4.14.145+ #0 [ 64.381374] Call Trace: [ 64.383948] dump_stack+0xca/0x134 [ 64.387485] ? tcp_init_tso_segs+0x19d/0x1f0 [ 64.391872] ? tcp_init_tso_segs+0x19d/0x1f0 [ 64.396259] print_address_description+0x60/0x226 [ 64.401099] ? tcp_init_tso_segs+0x19d/0x1f0 [ 64.405487] ? tcp_init_tso_segs+0x19d/0x1f0 [ 64.409870] __kasan_report.cold+0x1a/0x41 [ 64.414088] ? kvm_guest_cpu_init+0x220/0x220 [ 64.418558] ? tcp_init_tso_segs+0x19d/0x1f0 [ 64.422947] tcp_init_tso_segs+0x19d/0x1f0 [ 64.427159] ? tcp_tso_segs+0x7b/0x1c0 [ 64.431038] tcp_write_xmit+0x15a/0x4730 [ 64.435083] ? memset+0x20/0x40 [ 64.438358] __tcp_push_pending_frames+0xa0/0x230 [ 64.443205] tcp_send_fin+0x154/0xbc0 [ 64.447003] tcp_close+0xc62/0xf40 [ 64.450531] inet_release+0xe9/0x1c0 [ 64.454279] __sock_release+0xd2/0x2c0 [ 64.458157] ? __sock_release+0x2c0/0x2c0 [ 64.462291] sock_close+0x15/0x20 [ 64.465734] __fput+0x25e/0x710 [ 64.468997] task_work_run+0x125/0x1a0 [ 64.472874] do_exit+0x9cb/0x2a20 [ 64.476326] ? mm_update_next_owner+0x610/0x610 [ 64.480988] do_group_exit+0x100/0x2e0 [ 64.484855] SyS_exit_group+0x19/0x20 [ 64.488635] ? do_group_exit+0x2e0/0x2e0 [ 64.492672] do_syscall_64+0x19b/0x520 [ 64.496544] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 64.501710] RIP: 0033:0x440618 [ 64.504877] RSP: 002b:00007fff65354948 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 64.512566] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000440618 [ 64.519815] RDX: 0000000000000001 RSI: 000000000000003c RDI: 0000000000000001 [ 64.527074] RBP: 00000000004c6970 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 64.534324] R10: 0000000020000802 R11: 0000000000000246 R12: 0000000000000001 [ 64.541599] R13: 00000000006d95e0 R14: 0000000000000000 R15: 0000000000000000 [ 64.548857] [ 64.550463] Allocated by task 1798: [ 64.554085] __kasan_kmalloc.part.0+0x53/0xc0 [ 64.558643] kmem_cache_alloc+0xee/0x360 [ 64.562706] __alloc_skb+0xea/0x5c0 [ 64.566311] sk_stream_alloc_skb+0xf4/0x8a0 [ 64.570611] tcp_sendmsg_locked+0xf11/0x2f50 [ 64.574996] tcp_sendmsg+0x2b/0x40 [ 64.578525] inet_sendmsg+0x15b/0x520 [ 64.582311] sock_sendmsg+0xb7/0x100 [ 64.585999] SyS_sendto+0x1de/0x2f0 [ 64.589604] do_syscall_64+0x19b/0x520 [ 64.593470] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 64.598648] 0xffffffffffffffff [ 64.601901] [ 64.603504] Freed by task 1798: [ 64.606758] __kasan_slab_free+0x164/0x210 [ 64.610978] kmem_cache_free+0xd7/0x3b0 [ 64.614926] kfree_skbmem+0x84/0x110 [ 64.618617] tcp_remove_empty_skb+0x264/0x320 [ 64.623089] tcp_sendmsg_locked+0x1c09/0x2f50 [ 64.627559] tcp_sendmsg+0x2b/0x40 [ 64.631078] inet_sendmsg+0x15b/0x520 [ 64.634854] sock_sendmsg+0xb7/0x100 [ 64.638558] SyS_sendto+0x1de/0x2f0 [ 64.642161] do_syscall_64+0x19b/0x520 [ 64.646025] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 64.651190] 0xffffffffffffffff [ 64.654444] [ 64.656049] The buggy address belongs to the object at ffff8881d09b8a00 [ 64.656049] which belongs to the cache skbuff_fclone_cache of size 456 [ 64.669374] The buggy address is located 48 bytes inside of [ 64.669374] 456-byte region [ffff8881d09b8a00, ffff8881d09b8bc8) [ 64.681138] The buggy address belongs to the page: [ 64.686044] page:ffffea0007426e00 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 64.695988] flags: 0x4000000000010200(slab|head) [ 64.700721] raw: 4000000000010200 0000000000000000 0000000000000000 00000001800c000c [ 64.708577] raw: dead000000000100 dead000000000200 ffff8881dab70400 0000000000000000 [ 64.716433] page dumped because: kasan: bad access detected [ 64.722115] [ 64.723717] Memory state around the buggy address: [ 64.728623] ffff8881d09b8900: fb fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc [ 64.735956] ffff8881d09b8980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.743303] >ffff8881d09b8a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.750637] ^ [ 64.755541] ffff8881d09b8a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.762891] ffff8881d09b8b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.770236] ================================================================== [ 64.777572] Disabling lock debugging due to kernel taint [ 64.783402] Kernel panic - not syncing: panic_on_warn set ... [ 64.783402] [ 64.790774] CPU: 0 PID: 1798 Comm: syz-executor126 Tainted: G B 4.14.145+ #0 [ 64.799086] Call Trace: [ 64.801656] dump_stack+0xca/0x134 [ 64.805175] panic+0x1ea/0x3d3 [ 64.808343] ? add_taint.cold+0x16/0x16 [ 64.812293] ? tcp_init_tso_segs+0x19d/0x1f0 [ 64.816677] ? ___preempt_schedule+0x16/0x18 [ 64.821079] ? tcp_init_tso_segs+0x19d/0x1f0 [ 64.825462] end_report+0x43/0x49 [ 64.828909] ? tcp_init_tso_segs+0x19d/0x1f0 [ 64.833304] __kasan_report.cold+0xd/0x41 [ 64.837444] ? kvm_guest_cpu_init+0x220/0x220 [ 64.841924] ? tcp_init_tso_segs+0x19d/0x1f0 [ 64.846310] tcp_init_tso_segs+0x19d/0x1f0 [ 64.850521] ? tcp_tso_segs+0x7b/0x1c0 [ 64.854382] tcp_write_xmit+0x15a/0x4730 [ 64.858422] ? memset+0x20/0x40 [ 64.861682] __tcp_push_pending_frames+0xa0/0x230 [ 64.866513] tcp_send_fin+0x154/0xbc0 [ 64.870310] tcp_close+0xc62/0xf40 [ 64.873830] inet_release+0xe9/0x1c0 [ 64.877520] __sock_release+0xd2/0x2c0 [ 64.881396] ? __sock_release+0x2c0/0x2c0 [ 64.885534] sock_close+0x15/0x20 [ 64.888963] __fput+0x25e/0x710 [ 64.892221] task_work_run+0x125/0x1a0 [ 64.896100] do_exit+0x9cb/0x2a20 [ 64.899533] ? mm_update_next_owner+0x610/0x610 [ 64.904184] do_group_exit+0x100/0x2e0 [ 64.908066] SyS_exit_group+0x19/0x20 [ 64.911857] ? do_group_exit+0x2e0/0x2e0 [ 64.915896] do_syscall_64+0x19b/0x520 [ 64.919775] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 64.924939] RIP: 0033:0x440618 [ 64.928103] RSP: 002b:00007fff65354948 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 64.935798] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000440618 [ 64.943043] RDX: 0000000000000001 RSI: 000000000000003c RDI: 0000000000000001 [ 64.950291] RBP: 00000000004c6970 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 64.957557] R10: 0000000020000802 R11: 0000000000000246 R12: 0000000000000001 [ 64.964804] R13: 00000000006d95e0 R14: 0000000000000000 R15: 0000000000000000 [ 64.972685] Kernel Offset: 0x20e00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 64.983607] Rebooting in 86400 seconds..