Warning: Permanently added '10.128.1.7' (ECDSA) to the list of known hosts. [ 54.715183] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 54.829223] audit: type=1400 audit(1569014938.094:36): avc: denied { map } for pid=6843 comm="syz-executor848" path="/root/syz-executor848805846" 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 [ 54.858606] ================================================================== [ 54.866152] BUG: KASAN: use-after-free in tcp_init_tso_segs+0x1ae/0x200 [ 54.872887] Read of size 2 at addr ffff888099f0d570 by task syz-executor848/6843 [ 54.880511] [ 54.882122] CPU: 0 PID: 6843 Comm: syz-executor848 Not tainted 4.14.145 #0 [ 54.889113] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 54.898455] Call Trace: [ 54.901028] dump_stack+0x138/0x197 [ 54.904633] ? tcp_init_tso_segs+0x1ae/0x200 [ 54.909022] print_address_description.cold+0x7c/0x1dc [ 54.914277] ? tcp_init_tso_segs+0x1ae/0x200 [ 54.918675] kasan_report.cold+0xa9/0x2af [ 54.922801] __asan_report_load2_noabort+0x14/0x20 [ 54.927709] tcp_init_tso_segs+0x1ae/0x200 [ 54.931921] ? tcp_tso_segs+0x7d/0x1c0 [ 54.935801] tcp_write_xmit+0x15e/0x4960 [ 54.939870] ? tcp_v6_md5_lookup+0x23/0x30 [ 54.944083] ? tcp_established_options+0x2c5/0x420 [ 54.948992] ? tcp_current_mss+0x1dc/0x2f0 [ 54.953208] ? __alloc_skb+0x3ee/0x500 [ 54.957077] __tcp_push_pending_frames+0xa6/0x260 [ 54.961900] tcp_send_fin+0x17e/0xc40 [ 54.965678] tcp_close+0xcc8/0xfb0 [ 54.969198] ? lock_acquire+0x16f/0x430 [ 54.973151] ? ip_mc_drop_socket+0x1d6/0x230 [ 54.977538] inet_release+0xec/0x1c0 [ 54.981231] inet6_release+0x53/0x80 [ 54.984921] __sock_release+0xce/0x2b0 [ 54.988796] ? __sock_release+0x2b0/0x2b0 [ 54.992958] sock_close+0x1b/0x30 [ 54.996416] __fput+0x275/0x7a0 [ 54.999697] ____fput+0x16/0x20 [ 55.002961] task_work_run+0x114/0x190 [ 55.006832] do_exit+0x7df/0x2c10 [ 55.010268] ? mm_update_next_owner+0x5d0/0x5d0 [ 55.014916] ? fd_install+0x4d/0x60 [ 55.018518] ? sock_map_fd+0x56/0x80 [ 55.022211] ? SyS_socket+0x103/0x170 [ 55.025988] do_group_exit+0x111/0x330 [ 55.029853] SyS_exit_group+0x1d/0x20 [ 55.033630] ? do_group_exit+0x330/0x330 [ 55.037676] do_syscall_64+0x1e8/0x640 [ 55.041553] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 55.046386] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 55.051554] RIP: 0033:0x43ee88 [ 55.054721] RSP: 002b:00007ffda3b44468 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 55.062406] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ee88 [ 55.069665] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 55.076914] RBP: 00000000004be688 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 55.084160] R10: 0000000020000004 R11: 0000000000000246 R12: 0000000000000001 [ 55.091433] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 55.098699] [ 55.100311] Allocated by task 6843: [ 55.103930] save_stack_trace+0x16/0x20 [ 55.107888] save_stack+0x45/0xd0 [ 55.111320] kasan_kmalloc+0xce/0xf0 [ 55.115031] kasan_slab_alloc+0xf/0x20 [ 55.118924] kmem_cache_alloc_node+0x144/0x780 [ 55.123505] __alloc_skb+0x9c/0x500 [ 55.127134] sk_stream_alloc_skb+0xb3/0x780 [ 55.131436] tcp_sendmsg_locked+0xf61/0x3200 [ 55.135995] tcp_sendmsg+0x30/0x50 [ 55.139511] inet_sendmsg+0x122/0x500 [ 55.143291] sock_sendmsg+0xce/0x110 [ 55.147043] SYSC_sendto+0x206/0x310 [ 55.150741] SyS_sendto+0x40/0x50 [ 55.154181] do_syscall_64+0x1e8/0x640 [ 55.158118] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 55.163491] [ 55.165104] Freed by task 6843: [ 55.168380] save_stack_trace+0x16/0x20 [ 55.172351] save_stack+0x45/0xd0 [ 55.175784] kasan_slab_free+0x75/0xc0 [ 55.179662] kmem_cache_free+0x83/0x2b0 [ 55.183614] kfree_skbmem+0x8d/0x120 [ 55.187320] __kfree_skb+0x1e/0x30 [ 55.190851] tcp_remove_empty_skb.part.0+0x231/0x2e0 [ 55.195941] tcp_sendmsg_locked+0x1ced/0x3200 [ 55.200411] tcp_sendmsg+0x30/0x50 [ 55.203930] inet_sendmsg+0x122/0x500 [ 55.207706] sock_sendmsg+0xce/0x110 [ 55.211400] SYSC_sendto+0x206/0x310 [ 55.215102] SyS_sendto+0x40/0x50 [ 55.218620] do_syscall_64+0x1e8/0x640 [ 55.222486] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 55.227648] [ 55.229255] The buggy address belongs to the object at ffff888099f0d540 [ 55.229255] which belongs to the cache skbuff_fclone_cache of size 472 [ 55.242580] The buggy address is located 48 bytes inside of [ 55.242580] 472-byte region [ffff888099f0d540, ffff888099f0d718) [ 55.254343] The buggy address belongs to the page: [ 55.259263] page:ffffea000267c340 count:1 mapcount:0 mapping:ffff888099f0d040 index:0x0 [ 55.267393] flags: 0x1fffc0000000100(slab) [ 55.271608] raw: 01fffc0000000100 ffff888099f0d040 0000000000000000 0000000100000006 [ 55.279482] raw: ffffea00020ec620 ffffea00025107e0 ffff8880a9e82d80 0000000000000000 [ 55.287337] page dumped because: kasan: bad access detected [ 55.293022] [ 55.294624] Memory state around the buggy address: [ 55.299527] ffff888099f0d400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 55.306863] ffff888099f0d480: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc [ 55.314220] >ffff888099f0d500: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 55.321556] ^ [ 55.328543] ffff888099f0d580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.335878] ffff888099f0d600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.343222] ================================================================== [ 55.350557] Disabling lock debugging due to kernel taint [ 55.356664] Kernel panic - not syncing: panic_on_warn set ... [ 55.356664] [ 55.364034] CPU: 0 PID: 6843 Comm: syz-executor848 Tainted: G B 4.14.145 #0 [ 55.372255] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 55.381599] Call Trace: [ 55.384171] dump_stack+0x138/0x197 [ 55.387780] ? tcp_init_tso_segs+0x1ae/0x200 [ 55.392167] panic+0x1f2/0x426 [ 55.395336] ? add_taint.cold+0x16/0x16 [ 55.399284] ? ___preempt_schedule+0x16/0x18 [ 55.403685] kasan_end_report+0x47/0x4f [ 55.407651] kasan_report.cold+0x130/0x2af [ 55.411878] __asan_report_load2_noabort+0x14/0x20 [ 55.416784] tcp_init_tso_segs+0x1ae/0x200 [ 55.420992] ? tcp_tso_segs+0x7d/0x1c0 [ 55.424859] tcp_write_xmit+0x15e/0x4960 [ 55.428899] ? tcp_v6_md5_lookup+0x23/0x30 [ 55.433108] ? tcp_established_options+0x2c5/0x420 [ 55.438013] ? tcp_current_mss+0x1dc/0x2f0 [ 55.442224] ? __alloc_skb+0x3ee/0x500 [ 55.446088] __tcp_push_pending_frames+0xa6/0x260 [ 55.450909] tcp_send_fin+0x17e/0xc40 [ 55.454689] tcp_close+0xcc8/0xfb0 [ 55.458220] ? lock_acquire+0x16f/0x430 [ 55.462171] ? ip_mc_drop_socket+0x1d6/0x230 [ 55.466555] inet_release+0xec/0x1c0 [ 55.470245] inet6_release+0x53/0x80 [ 55.473953] __sock_release+0xce/0x2b0 [ 55.477816] ? __sock_release+0x2b0/0x2b0 [ 55.481955] sock_close+0x1b/0x30 [ 55.485386] __fput+0x275/0x7a0 [ 55.488645] ____fput+0x16/0x20 [ 55.491905] task_work_run+0x114/0x190 [ 55.495768] do_exit+0x7df/0x2c10 [ 55.499198] ? mm_update_next_owner+0x5d0/0x5d0 [ 55.503845] ? fd_install+0x4d/0x60 [ 55.507447] ? sock_map_fd+0x56/0x80 [ 55.511136] ? SyS_socket+0x103/0x170 [ 55.514912] do_group_exit+0x111/0x330 [ 55.518776] SyS_exit_group+0x1d/0x20 [ 55.522549] ? do_group_exit+0x330/0x330 [ 55.526590] do_syscall_64+0x1e8/0x640 [ 55.530452] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 55.535282] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 55.540447] RIP: 0033:0x43ee88 [ 55.543628] RSP: 002b:00007ffda3b44468 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 55.551312] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ee88 [ 55.558558] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 55.565818] RBP: 00000000004be688 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 55.573064] R10: 0000000020000004 R11: 0000000000000246 R12: 0000000000000001 [ 55.580311] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 55.589108] Kernel Offset: disabled [ 55.592756] Rebooting in 86400 seconds..