[ 32.256291] audit: type=1800 audit(1568997322.172:33): pid=6788 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="startpar" name="rc.local" dev="sda1" ino=2465 res=0 [ 32.283465] audit: type=1800 audit(1568997322.172:34): pid=6788 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="startpar" name="rmnologin" dev="sda1" ino=2456 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 35.316622] random: sshd: uninitialized urandom read (32 bytes read) [ 35.654216] audit: type=1400 audit(1568997325.572:35): avc: denied { map } for pid=6962 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 [ 35.699053] random: sshd: uninitialized urandom read (32 bytes read) [ 36.283695] random: sshd: uninitialized urandom read (32 bytes read) [ 39.840009] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.215' (ECDSA) to the list of known hosts. [ 45.275542] random: sshd: uninitialized urandom read (32 bytes read) [ 45.392958] audit: type=1400 audit(1568997335.312:36): avc: denied { map } for pid=6974 comm="syz-executor129" path="/root/syz-executor129842576" 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 [ 45.671107] IPVS: ftp: loaded support on port[0] = 21 [ 46.614778] chnl_net:caif_netlink_parms(): no params data found [ 46.643941] bridge0: port 1(bridge_slave_0) entered blocking state [ 46.650639] bridge0: port 1(bridge_slave_0) entered disabled state [ 46.657854] device bridge_slave_0 entered promiscuous mode [ 46.664882] bridge0: port 2(bridge_slave_1) entered blocking state [ 46.672054] bridge0: port 2(bridge_slave_1) entered disabled state [ 46.678950] device bridge_slave_1 entered promiscuous mode [ 46.694282] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 46.704885] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 46.719918] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 46.727302] team0: Port device team_slave_0 added [ 46.733160] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 46.740743] team0: Port device team_slave_1 added [ 46.745949] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 46.753485] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 46.812560] device hsr_slave_0 entered promiscuous mode [ 46.850505] device hsr_slave_1 entered promiscuous mode [ 46.920532] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 46.927504] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 46.941716] bridge0: port 2(bridge_slave_1) entered blocking state [ 46.948366] bridge0: port 2(bridge_slave_1) entered forwarding state [ 46.955434] bridge0: port 1(bridge_slave_0) entered blocking state [ 46.961976] bridge0: port 1(bridge_slave_0) entered forwarding state [ 46.988033] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 46.994359] 8021q: adding VLAN 0 to HW filter on device bond0 [ 47.002146] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 47.010555] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 47.028821] bridge0: port 1(bridge_slave_0) entered disabled state [ 47.046143] bridge0: port 2(bridge_slave_1) entered disabled state [ 47.056114] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 47.062748] 8021q: adding VLAN 0 to HW filter on device team0 [ 47.071585] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 47.079313] bridge0: port 1(bridge_slave_0) entered blocking state [ 47.085705] bridge0: port 1(bridge_slave_0) entered forwarding state [ 47.094770] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 47.102953] bridge0: port 2(bridge_slave_1) entered blocking state [ 47.109291] bridge0: port 2(bridge_slave_1) entered forwarding state [ 47.129841] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 47.140863] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 47.154324] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 47.161630] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 47.170829] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 47.178538] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 47.187127] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready executing program [ 47.195480] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 47.203178] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 47.215115] IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready [ 47.227420] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 47.392204] ================================================================== [ 47.400517] BUG: KASAN: use-after-free in tcp_init_tso_segs+0x1ae/0x200 [ 47.407376] Read of size 2 at addr ffff8880972d27b0 by task syz-executor129/6975 [ 47.415416] [ 47.417541] CPU: 1 PID: 6975 Comm: syz-executor129 Not tainted 4.14.145 #0 [ 47.425091] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.435107] Call Trace: [ 47.437711] dump_stack+0x138/0x197 [ 47.441367] ? tcp_init_tso_segs+0x1ae/0x200 [ 47.445978] print_address_description.cold+0x7c/0x1dc [ 47.451382] ? tcp_init_tso_segs+0x1ae/0x200 [ 47.455790] kasan_report.cold+0xa9/0x2af [ 47.460669] __asan_report_load2_noabort+0x14/0x20 [ 47.465909] tcp_init_tso_segs+0x1ae/0x200 [ 47.470169] ? tcp_tso_segs+0x7d/0x1c0 [ 47.474308] tcp_write_xmit+0x15e/0x4960 [ 47.478396] ? tcp_v4_md5_lookup+0x23/0x30 [ 47.482890] ? tcp_established_options+0x2c5/0x420 [ 47.488233] ? tcp_current_mss+0x1dc/0x2f0 [ 47.492657] ? __alloc_skb+0x3ee/0x500 [ 47.496948] __tcp_push_pending_frames+0xa6/0x260 [ 47.502199] tcp_send_fin+0x17e/0xc40 [ 47.506206] tcp_close+0xcc8/0xfb0 [ 47.509745] ? __sock_release+0x89/0x2b0 [ 47.514209] ? ip_mc_drop_socket+0x1d6/0x230 [ 47.518946] inet_release+0xec/0x1c0 [ 47.522829] __sock_release+0xce/0x2b0 [ 47.527294] ? __sock_release+0x2b0/0x2b0 [ 47.531625] sock_close+0x1b/0x30 [ 47.535592] __fput+0x275/0x7a0 [ 47.538878] ____fput+0x16/0x20 [ 47.542167] task_work_run+0x114/0x190 [ 47.546181] do_exit+0x7df/0x2c10 [ 47.550140] ? mm_update_next_owner+0x5d0/0x5d0 [ 47.555289] ? up_read+0x1a/0x40 [ 47.559021] ? __do_page_fault+0x358/0xb80 [ 47.563889] do_group_exit+0x111/0x330 [ 47.568168] SyS_exit_group+0x1d/0x20 [ 47.571981] ? do_group_exit+0x330/0x330 [ 47.576559] do_syscall_64+0x1e8/0x640 [ 47.580608] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.586232] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 47.591649] RIP: 0033:0x440b68 [ 47.594924] RSP: 002b:00007ffdf5249b08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 47.603010] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000440b68 [ 47.610956] RDX: 0000000000000001 RSI: 000000000000003c RDI: 0000000000000001 [ 47.619412] RBP: 00000000004c6ff0 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 47.626958] R10: 0000000020000800 R11: 0000000000000246 R12: 0000000000000001 [ 47.634449] R13: 00000000006d95e0 R14: 0000000000000000 R15: 0000000000000000 [ 47.642410] [ 47.644194] Allocated by task 6975: [ 47.648460] save_stack_trace+0x16/0x20 [ 47.652460] save_stack+0x45/0xd0 [ 47.656371] kasan_kmalloc+0xce/0xf0 [ 47.660288] kasan_slab_alloc+0xf/0x20 [ 47.664692] kmem_cache_alloc_node+0x144/0x780 [ 47.669491] __alloc_skb+0x9c/0x500 [ 47.673265] sk_stream_alloc_skb+0xb3/0x780 [ 47.677582] tcp_sendmsg_locked+0xf61/0x3200 [ 47.682083] tcp_sendmsg+0x30/0x50 [ 47.685680] inet_sendmsg+0x122/0x500 [ 47.689484] sock_sendmsg+0xce/0x110 [ 47.693216] SYSC_sendto+0x206/0x310 [ 47.696934] SyS_sendto+0x40/0x50 [ 47.700391] do_syscall_64+0x1e8/0x640 [ 47.704281] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 47.709467] [ 47.711091] Freed by task 6975: [ 47.714860] save_stack_trace+0x16/0x20 [ 47.719206] save_stack+0x45/0xd0 [ 47.722667] kasan_slab_free+0x75/0xc0 [ 47.727333] kmem_cache_free+0x83/0x2b0 [ 47.731409] kfree_skbmem+0x8d/0x120 [ 47.735422] __kfree_skb+0x1e/0x30 [ 47.739069] tcp_remove_empty_skb.part.0+0x231/0x2e0 [ 47.744296] tcp_sendmsg_locked+0x1ced/0x3200 [ 47.749093] tcp_sendmsg+0x30/0x50 [ 47.753122] inet_sendmsg+0x122/0x500 [ 47.757662] sock_sendmsg+0xce/0x110 [ 47.761395] SYSC_sendto+0x206/0x310 [ 47.765390] SyS_sendto+0x40/0x50 [ 47.768989] do_syscall_64+0x1e8/0x640 [ 47.773302] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 47.778827] [ 47.780473] The buggy address belongs to the object at ffff8880972d2780 [ 47.780473] which belongs to the cache skbuff_fclone_cache of size 472 [ 47.794632] The buggy address is located 48 bytes inside of [ 47.794632] 472-byte region [ffff8880972d2780, ffff8880972d2958) [ 47.806774] The buggy address belongs to the page: [ 47.811984] page:ffffea00025cb480 count:1 mapcount:0 mapping:ffff8880972d2000 index:0x0 [ 47.820344] flags: 0x1fffc0000000100(slab) [ 47.824832] raw: 01fffc0000000100 ffff8880972d2000 0000000000000000 0000000100000006 [ 47.832893] raw: ffffea0002789720 ffff8880a9e80e48 ffff8880a9e81d80 0000000000000000 [ 47.841496] page dumped because: kasan: bad access detected [ 47.847471] [ 47.849294] Memory state around the buggy address: [ 47.854244] ffff8880972d2680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 47.861971] ffff8880972d2700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 47.869335] >ffff8880972d2780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.876780] ^ [ 47.881713] ffff8880972d2800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.889071] ffff8880972d2880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.896779] ================================================================== [ 47.904518] Disabling lock debugging due to kernel taint [ 47.911087] Kernel panic - not syncing: panic_on_warn set ... [ 47.911087] [ 47.911136] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 47.918629] CPU: 1 PID: 6975 Comm: syz-executor129 Tainted: G B 4.14.145 #0 [ 47.933918] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.943280] Call Trace: [ 47.945872] dump_stack+0x138/0x197 [ 47.949771] ? tcp_init_tso_segs+0x1ae/0x200 [ 47.954337] panic+0x1f2/0x426 [ 47.957645] ? add_taint.cold+0x16/0x16 [ 47.961625] ? ___preempt_schedule+0x16/0x18 [ 47.966035] kasan_end_report+0x47/0x4f [ 47.970119] kasan_report.cold+0x130/0x2af [ 47.974357] __asan_report_load2_noabort+0x14/0x20 [ 47.979458] tcp_init_tso_segs+0x1ae/0x200 [ 47.983853] ? tcp_tso_segs+0x7d/0x1c0 [ 47.987740] tcp_write_xmit+0x15e/0x4960 [ 47.991800] ? tcp_v4_md5_lookup+0x23/0x30 [ 47.996045] ? tcp_established_options+0x2c5/0x420 [ 48.000993] ? tcp_current_mss+0x1dc/0x2f0 [ 48.005401] ? __alloc_skb+0x3ee/0x500 [ 48.009335] __tcp_push_pending_frames+0xa6/0x260 [ 48.014181] tcp_send_fin+0x17e/0xc40 [ 48.017979] tcp_close+0xcc8/0xfb0 [ 48.021661] ? __sock_release+0x89/0x2b0 [ 48.025729] ? ip_mc_drop_socket+0x1d6/0x230 [ 48.030333] inet_release+0xec/0x1c0 [ 48.034410] __sock_release+0xce/0x2b0 [ 48.038437] ? __sock_release+0x2b0/0x2b0 [ 48.042710] sock_close+0x1b/0x30 [ 48.046172] __fput+0x275/0x7a0 [ 48.049458] ____fput+0x16/0x20 [ 48.053015] task_work_run+0x114/0x190 [ 48.056896] do_exit+0x7df/0x2c10 [ 48.060349] ? mm_update_next_owner+0x5d0/0x5d0 [ 48.065999] ? up_read+0x1a/0x40 [ 48.069638] ? __do_page_fault+0x358/0xb80 [ 48.074140] do_group_exit+0x111/0x330 [ 48.078034] SyS_exit_group+0x1d/0x20 [ 48.082105] ? do_group_exit+0x330/0x330 [ 48.086541] do_syscall_64+0x1e8/0x640 [ 48.090557] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 48.095521] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 48.100954] RIP: 0033:0x440b68 [ 48.104298] RSP: 002b:00007ffdf5249b08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 48.113933] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000440b68 [ 48.121624] RDX: 0000000000000001 RSI: 000000000000003c RDI: 0000000000000001 [ 48.129221] RBP: 00000000004c6ff0 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 48.136778] R10: 0000000020000800 R11: 0000000000000246 R12: 0000000000000001 [ 48.144630] R13: 00000000006d95e0 R14: 0000000000000000 R15: 0000000000000000 [ 48.154533] Kernel Offset: disabled [ 48.158412] Rebooting in 86400 seconds..