Warning: Permanently added '10.128.0.53' (ECDSA) to the list of known hosts. [ 48.365113] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 48.462071] audit: type=1400 audit(1569025203.847:7): avc: denied { map } for pid=1789 comm="syz-executor253" path="/root/syz-executor253496592" 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 [ 48.474529] ================================================================== [ 48.495830] BUG: KASAN: use-after-free in tcp_init_tso_segs+0x19d/0x1f0 [ 48.502573] Read of size 2 at addr ffff8881cf383430 by task syz-executor253/1789 [ 48.510079] [ 48.511687] CPU: 1 PID: 1789 Comm: syz-executor253 Not tainted 4.14.145+ #0 [ 48.518768] Call Trace: [ 48.521338] dump_stack+0xca/0x134 [ 48.524857] ? tcp_init_tso_segs+0x19d/0x1f0 [ 48.529242] ? tcp_init_tso_segs+0x19d/0x1f0 [ 48.533631] print_address_description+0x60/0x226 [ 48.538461] ? tcp_init_tso_segs+0x19d/0x1f0 [ 48.542858] ? tcp_init_tso_segs+0x19d/0x1f0 [ 48.547240] __kasan_report.cold+0x1a/0x41 [ 48.551468] ? kvm_guest_cpu_init+0x220/0x220 [ 48.555939] ? tcp_init_tso_segs+0x19d/0x1f0 [ 48.560325] tcp_init_tso_segs+0x19d/0x1f0 [ 48.564536] ? tcp_tso_segs+0x7b/0x1c0 [ 48.568400] tcp_write_xmit+0x15a/0x4730 [ 48.572439] ? ip6_mtu+0x206/0x330 [ 48.575956] ? lock_downgrade+0x5d0/0x5d0 [ 48.580082] ? lock_acquire+0x12b/0x360 [ 48.584040] __tcp_push_pending_frames+0xa0/0x230 [ 48.588859] tcp_send_fin+0x154/0xbc0 [ 48.592638] tcp_close+0xc62/0xf40 [ 48.596154] ? lock_acquire+0x12b/0x360 [ 48.600106] ? __sock_release+0x86/0x2c0 [ 48.604144] inet_release+0xe9/0x1c0 [ 48.607835] inet6_release+0x4c/0x70 [ 48.611524] __sock_release+0xd2/0x2c0 [ 48.615387] ? __sock_release+0x2c0/0x2c0 [ 48.619512] sock_close+0x15/0x20 [ 48.622943] __fput+0x25e/0x710 [ 48.626216] task_work_run+0x125/0x1a0 [ 48.630101] do_exit+0x9cb/0x2a20 [ 48.633536] ? mm_update_next_owner+0x610/0x610 [ 48.638199] do_group_exit+0x100/0x2e0 [ 48.642075] SyS_exit_group+0x19/0x20 [ 48.645858] ? do_group_exit+0x2e0/0x2e0 [ 48.649901] do_syscall_64+0x19b/0x520 [ 48.653772] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 48.658937] RIP: 0033:0x43ee58 [ 48.662109] RSP: 002b:00007ffff76770e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 48.669795] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ee58 [ 48.677042] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 48.684296] RBP: 00000000004be668 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 48.691545] R10: 0000000020004008 R11: 0000000000000246 R12: 0000000000000001 [ 48.698823] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 48.706080] [ 48.707685] Allocated by task 1789: [ 48.711306] __kasan_kmalloc.part.0+0x53/0xc0 [ 48.715779] kmem_cache_alloc+0xee/0x360 [ 48.719817] __alloc_skb+0xea/0x5c0 [ 48.723420] sk_stream_alloc_skb+0xf4/0x8a0 [ 48.727724] tcp_sendmsg_locked+0xf11/0x2f50 [ 48.732106] tcp_sendmsg+0x2b/0x40 [ 48.735629] inet_sendmsg+0x15b/0x520 [ 48.739421] sock_sendmsg+0xb7/0x100 [ 48.743123] SyS_sendto+0x1de/0x2f0 [ 48.746725] do_syscall_64+0x19b/0x520 [ 48.750586] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 48.755759] 0xffffffffffffffff [ 48.759009] [ 48.760611] Freed by task 1789: [ 48.763877] __kasan_slab_free+0x164/0x210 [ 48.768085] kmem_cache_free+0xd7/0x3b0 [ 48.772036] kfree_skbmem+0x84/0x110 [ 48.775737] tcp_remove_empty_skb+0x264/0x320 [ 48.780207] tcp_sendmsg_locked+0x1c09/0x2f50 [ 48.784675] tcp_sendmsg+0x2b/0x40 [ 48.788208] inet_sendmsg+0x15b/0x520 [ 48.791994] sock_sendmsg+0xb7/0x100 [ 48.795686] SyS_sendto+0x1de/0x2f0 [ 48.799298] do_syscall_64+0x19b/0x520 [ 48.803173] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 48.808354] 0xffffffffffffffff [ 48.811620] [ 48.813232] The buggy address belongs to the object at ffff8881cf383400 [ 48.813232] which belongs to the cache skbuff_fclone_cache of size 456 [ 48.826556] The buggy address is located 48 bytes inside of [ 48.826556] 456-byte region [ffff8881cf383400, ffff8881cf3835c8) [ 48.838317] The buggy address belongs to the page: [ 48.843221] page:ffffea00073ce080 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 48.853425] flags: 0x4000000000010200(slab|head) [ 48.858162] raw: 4000000000010200 0000000000000000 0000000000000000 00000001800c000c [ 48.866019] raw: dead000000000100 dead000000000200 ffff8881d6770400 0000000000000000 [ 48.873875] page dumped because: kasan: bad access detected [ 48.879555] [ 48.881157] Memory state around the buggy address: [ 48.886060] ffff8881cf383300: fb fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc [ 48.893393] ffff8881cf383380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 48.900724] >ffff8881cf383400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 48.908070] ^ [ 48.912973] ffff8881cf383480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 48.920307] ffff8881cf383500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 48.927638] ================================================================== [ 48.934972] Disabling lock debugging due to kernel taint [ 48.941090] Kernel panic - not syncing: panic_on_warn set ... [ 48.941090] [ 48.948470] CPU: 1 PID: 1789 Comm: syz-executor253 Tainted: G B 4.14.145+ #0 [ 48.956762] Call Trace: [ 48.959339] dump_stack+0xca/0x134 [ 48.962861] panic+0x1ea/0x3d3 [ 48.966046] ? add_taint.cold+0x16/0x16 [ 48.969998] ? tcp_init_tso_segs+0x19d/0x1f0 [ 48.974472] ? ___preempt_schedule+0x16/0x18 [ 48.978859] ? tcp_init_tso_segs+0x19d/0x1f0 [ 48.983251] end_report+0x43/0x49 [ 48.986695] ? tcp_init_tso_segs+0x19d/0x1f0 [ 48.991078] __kasan_report.cold+0xd/0x41 [ 48.995205] ? kvm_guest_cpu_init+0x220/0x220 [ 48.999674] ? tcp_init_tso_segs+0x19d/0x1f0 [ 49.004058] tcp_init_tso_segs+0x19d/0x1f0 [ 49.008280] ? tcp_tso_segs+0x7b/0x1c0 [ 49.012152] tcp_write_xmit+0x15a/0x4730 [ 49.016190] ? ip6_mtu+0x206/0x330 [ 49.019716] ? lock_downgrade+0x5d0/0x5d0 [ 49.023836] ? lock_acquire+0x12b/0x360 [ 49.027787] __tcp_push_pending_frames+0xa0/0x230 [ 49.032604] tcp_send_fin+0x154/0xbc0 [ 49.036390] tcp_close+0xc62/0xf40 [ 49.039907] ? lock_acquire+0x12b/0x360 [ 49.043865] ? __sock_release+0x86/0x2c0 [ 49.047903] inet_release+0xe9/0x1c0 [ 49.051595] inet6_release+0x4c/0x70 [ 49.055297] __sock_release+0xd2/0x2c0 [ 49.059177] ? __sock_release+0x2c0/0x2c0 [ 49.063299] sock_close+0x15/0x20 [ 49.066738] __fput+0x25e/0x710 [ 49.069997] task_work_run+0x125/0x1a0 [ 49.073867] do_exit+0x9cb/0x2a20 [ 49.077303] ? mm_update_next_owner+0x610/0x610 [ 49.081952] do_group_exit+0x100/0x2e0 [ 49.085981] SyS_exit_group+0x19/0x20 [ 49.089768] ? do_group_exit+0x2e0/0x2e0 [ 49.093807] do_syscall_64+0x19b/0x520 [ 49.097685] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 49.102851] RIP: 0033:0x43ee58 [ 49.106018] RSP: 002b:00007ffff76770e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 49.113712] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ee58 [ 49.120965] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 49.128211] RBP: 00000000004be668 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 49.135470] R10: 0000000020004008 R11: 0000000000000246 R12: 0000000000000001 [ 49.142752] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 49.150800] Kernel Offset: 0x35000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 49.161702] Rebooting in 86400 seconds..