[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 18.958892] audit: type=1400 audit(1520397878.071:6): avc: denied { map } for pid=4235 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 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.24' (ECDSA) to the list of known hosts. syzkaller login: [ 25.291676] audit: type=1400 audit(1520397884.404:7): avc: denied { map } for pid=4248 comm="syz-execprog" path="/root/syz-execprog" dev="sda1" ino=16479 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 2018/03/07 04:44:44 parsed 1 programs 2018/03/07 04:44:44 executed programs: 0 [ 25.540651] audit: type=1400 audit(1520397884.653:8): avc: denied { map } for pid=4248 comm="syz-execprog" path="/root/syzkaller-shm290344759" dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file permissive=1 [ 25.554549] IPVS: ftp: loaded support on port[0] = 21 [ 25.813179] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready [ 26.151984] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 26.158077] 8021q: adding VLAN 0 to HW filter on device bond0 [ 26.194600] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 26.232749] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 26.251425] ================================================================== [ 26.258836] BUG: KASAN: use-after-free in ip6_xmit+0x1f76/0x2260 [ 26.264953] Read of size 8 at addr ffff8801ccc42c18 by task syz-executor0/4414 [ 26.272278] [ 26.273882] CPU: 1 PID: 4414 Comm: syz-executor0 Not tainted 4.16.0-rc4+ #253 [ 26.281131] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.290457] Call Trace: [ 26.293032] dump_stack+0x194/0x24d [ 26.296642] ? arch_local_irq_restore+0x53/0x53 [ 26.301283] ? show_regs_print_info+0x18/0x18 [ 26.305754] ? ip6_xmit+0x1f76/0x2260 [ 26.309529] print_address_description+0x73/0x250 [ 26.314343] ? ip6_xmit+0x1f76/0x2260 [ 26.318121] kasan_report+0x23c/0x360 [ 26.321896] __asan_report_load8_noabort+0x14/0x20 [ 26.326796] ip6_xmit+0x1f76/0x2260 [ 26.330405] ? ip6_finish_output2+0x23a0/0x23a0 [ 26.335047] ? fl6_update_dst+0x127/0x2b0 [ 26.339169] ? inet6_csk_route_socket+0x691/0xe80 [ 26.343988] ? trace_hardirqs_off+0x10/0x10 [ 26.348293] ? lock_acquire+0x1d5/0x580 [ 26.352239] ? lock_acquire+0x1d5/0x580 [ 26.356184] ? inet6_csk_xmit+0x114/0x580 [ 26.360303] ? trace_hardirqs_off+0x10/0x10 [ 26.364600] ? lock_release+0xa40/0xa40 [ 26.368561] inet6_csk_xmit+0x2fc/0x580 [ 26.372506] ? inet6_csk_update_pmtu+0x160/0x160 [ 26.377237] ? __sk_dst_check+0x1a5/0x380 [ 26.381361] ? sock_kfree_s+0x60/0x60 [ 26.385159] l2tp_xmit_skb+0x105f/0x1410 [ 26.389206] ? l2tp_session_create+0xb80/0xb80 [ 26.393767] ? sock_wmalloc+0x15d/0x1d0 [ 26.397722] ? iov_iter_advance+0x13f0/0x13f0 [ 26.402192] ? pppol2tp_sendmsg+0x41b/0x670 [ 26.406488] pppol2tp_sendmsg+0x470/0x670 [ 26.410611] ? selinux_socket_sendmsg+0x36/0x40 [ 26.415254] ? pppol2tp_getsockopt+0x900/0x900 [ 26.419811] sock_sendmsg+0xca/0x110 [ 26.423501] ___sys_sendmsg+0x767/0x8b0 [ 26.427462] ? copy_msghdr_from_user+0x590/0x590 [ 26.432196] ? __handle_mm_fault+0x5ba/0x38c0 [ 26.436675] ? __pmd_alloc+0x4e0/0x4e0 [ 26.440535] ? trace_hardirqs_off+0x10/0x10 [ 26.444827] ? selinux_socket_setsockopt+0x80/0x80 [ 26.449725] ? lock_release+0xa40/0xa40 [ 26.453676] ? __fget_light+0x2b2/0x3c0 [ 26.457624] ? fget_raw+0x20/0x20 [ 26.461061] ? find_held_lock+0x35/0x1d0 [ 26.465110] __sys_sendmsg+0xe5/0x210 [ 26.468885] ? __sys_sendmsg+0xe5/0x210 [ 26.472833] ? SyS_shutdown+0x290/0x290 [ 26.476792] ? compat_SyS_futex+0x288/0x380 [ 26.481113] compat_SyS_sendmsg+0x2a/0x40 [ 26.485234] ? compat_SyS_getsockopt+0x420/0x420 [ 26.489961] do_fast_syscall_32+0x3ec/0xf9f [ 26.494261] ? do_int80_syscall_32+0x9c0/0x9c0 [ 26.498813] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.503547] ? syscall_return_slowpath+0x2ac/0x550 [ 26.508449] ? prepare_exit_to_usermode+0x350/0x350 [ 26.513439] ? sysret32_from_system_call+0x5/0x3c [ 26.518256] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.523076] entry_SYSENTER_compat+0x70/0x7f [ 26.527456] RIP: 0023:0xf7f16c99 [ 26.530791] RSP: 002b:00000000ffc6d90c EFLAGS: 00000282 ORIG_RAX: 0000000000000172 [ 26.538470] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000002037ffc8 [ 26.545711] RDX: 0000000000000081 RSI: 0000000000000000 RDI: 0000000000000000 [ 26.552950] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 26.560191] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 26.567431] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 26.574701] [ 26.576307] Allocated by task 4239: [ 26.579905] save_stack+0x43/0xd0 [ 26.583326] kasan_kmalloc+0xad/0xe0 [ 26.587019] kasan_slab_alloc+0x12/0x20 [ 26.590971] kmem_cache_alloc+0x12e/0x760 [ 26.595089] dst_alloc+0x11f/0x1a0 [ 26.598600] rt_dst_alloc+0xe9/0x520 [ 26.602283] ip_route_output_key_hash_rcu+0xa59/0x2f00 [ 26.607528] ip_route_output_key_hash+0x20b/0x370 [ 26.612341] __ip4_datagram_connect+0xa67/0x1240 [ 26.617069] __ip6_datagram_connect+0x749/0x12d0 [ 26.621795] ip6_datagram_connect+0x2f/0x50 [ 26.626085] inet_dgram_connect+0x16b/0x1f0 [ 26.630375] SYSC_connect+0x213/0x4a0 [ 26.634147] SyS_connect+0x24/0x30 [ 26.637657] do_syscall_64+0x281/0x940 [ 26.641515] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 26.646671] [ 26.648268] Freed by task 0: [ 26.651261] save_stack+0x43/0xd0 [ 26.654685] __kasan_slab_free+0x11a/0x170 [ 26.658887] kasan_slab_free+0xe/0x10 [ 26.662656] kmem_cache_free+0x83/0x2a0 [ 26.666599] dst_destroy+0x257/0x370 [ 26.670281] dst_destroy_rcu+0x16/0x20 [ 26.674140] rcu_process_callbacks+0xd6c/0x17f0 [ 26.678777] __do_softirq+0x2d7/0xb85 [ 26.682542] [ 26.684143] The buggy address belongs to the object at ffff8801ccc42c00 [ 26.684143] which belongs to the cache ip_dst_cache of size 168 [ 26.696854] The buggy address is located 24 bytes inside of [ 26.696854] 168-byte region [ffff8801ccc42c00, ffff8801ccc42ca8) [ 26.708606] The buggy address belongs to the page: [ 26.713506] page:ffffea0007331080 count:1 mapcount:0 mapping:ffff8801ccc42000 index:0xffff8801ccc42000 [ 26.722924] flags: 0x2fffc0000000100(slab) [ 26.727133] raw: 02fffc0000000100 ffff8801ccc42000 ffff8801ccc42000 0000000100000007 [ 26.734985] raw: ffff8801d540ee38 ffffea0007311760 ffff8801d540db00 0000000000000000 [ 26.742833] page dumped because: kasan: bad access detected [ 26.748509] [ 26.750108] Memory state around the buggy address: [ 26.755009] ffff8801ccc42b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.762342] ffff8801ccc42b80: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc [ 26.769667] >ffff8801ccc42c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.776993] ^ [ 26.781111] ffff8801ccc42c80: fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc [ 26.788436] ffff8801ccc42d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.795761] ================================================================== [ 26.803087] Disabling lock debugging due to kernel taint [ 26.808535] Kernel panic - not syncing: panic_on_warn set ... [ 26.808535] [ 26.815875] CPU: 1 PID: 4414 Comm: syz-executor0 Tainted: G B 4.16.0-rc4+ #253 [ 26.824417] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.833736] Call Trace: [ 26.836294] dump_stack+0x194/0x24d [ 26.839891] ? arch_local_irq_restore+0x53/0x53 [ 26.844527] ? kasan_end_report+0x32/0x50 [ 26.848645] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.853369] ? vsnprintf+0x1ed/0x1900 [ 26.857141] ? ip6_xmit+0x1f30/0x2260 [ 26.860912] panic+0x1e4/0x41c [ 26.864074] ? refcount_error_report+0x214/0x214 [ 26.868800] ? add_taint+0x1c/0x50 [ 26.872309] ? add_taint+0x1c/0x50 [ 26.875818] ? ip6_xmit+0x1f76/0x2260 [ 26.879584] kasan_end_report+0x50/0x50 [ 26.883524] kasan_report+0x149/0x360 [ 26.887295] __asan_report_load8_noabort+0x14/0x20 [ 26.892200] ip6_xmit+0x1f76/0x2260 [ 26.895800] ? ip6_finish_output2+0x23a0/0x23a0 [ 26.900441] ? fl6_update_dst+0x127/0x2b0 [ 26.904560] ? inet6_csk_route_socket+0x691/0xe80 [ 26.909371] ? trace_hardirqs_off+0x10/0x10 [ 26.913663] ? lock_acquire+0x1d5/0x580 [ 26.917602] ? lock_acquire+0x1d5/0x580 [ 26.921544] ? inet6_csk_xmit+0x114/0x580 [ 26.925661] ? trace_hardirqs_off+0x10/0x10 [ 26.929955] ? lock_release+0xa40/0xa40 [ 26.933905] inet6_csk_xmit+0x2fc/0x580 [ 26.937850] ? inet6_csk_update_pmtu+0x160/0x160 [ 26.942577] ? __sk_dst_check+0x1a5/0x380 [ 26.946696] ? sock_kfree_s+0x60/0x60 [ 26.950474] l2tp_xmit_skb+0x105f/0x1410 [ 26.954511] ? l2tp_session_create+0xb80/0xb80 [ 26.959060] ? sock_wmalloc+0x15d/0x1d0 [ 26.963008] ? iov_iter_advance+0x13f0/0x13f0 [ 26.967478] ? pppol2tp_sendmsg+0x41b/0x670 [ 26.971767] pppol2tp_sendmsg+0x470/0x670 [ 26.975884] ? selinux_socket_sendmsg+0x36/0x40 [ 26.980522] ? pppol2tp_getsockopt+0x900/0x900 [ 26.985075] sock_sendmsg+0xca/0x110 [ 26.988759] ___sys_sendmsg+0x767/0x8b0 [ 26.992702] ? copy_msghdr_from_user+0x590/0x590 [ 26.997429] ? __handle_mm_fault+0x5ba/0x38c0 [ 27.001895] ? __pmd_alloc+0x4e0/0x4e0 [ 27.005749] ? trace_hardirqs_off+0x10/0x10 [ 27.010036] ? selinux_socket_setsockopt+0x80/0x80 [ 27.014933] ? lock_release+0xa40/0xa40 [ 27.018876] ? __fget_light+0x2b2/0x3c0 [ 27.022823] ? fget_raw+0x20/0x20 [ 27.026252] ? find_held_lock+0x35/0x1d0 [ 27.030287] __sys_sendmsg+0xe5/0x210 [ 27.034057] ? __sys_sendmsg+0xe5/0x210 [ 27.038001] ? SyS_shutdown+0x290/0x290 [ 27.041953] ? compat_SyS_futex+0x288/0x380 [ 27.046252] compat_SyS_sendmsg+0x2a/0x40 [ 27.050367] ? compat_SyS_getsockopt+0x420/0x420 [ 27.055091] do_fast_syscall_32+0x3ec/0xf9f [ 27.059384] ? do_int80_syscall_32+0x9c0/0x9c0 [ 27.063933] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.068661] ? syscall_return_slowpath+0x2ac/0x550 [ 27.073558] ? prepare_exit_to_usermode+0x350/0x350 [ 27.078545] ? sysret32_from_system_call+0x5/0x3c [ 27.083359] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.088171] entry_SYSENTER_compat+0x70/0x7f [ 27.092549] RIP: 0023:0xf7f16c99 [ 27.095881] RSP: 002b:00000000ffc6d90c EFLAGS: 00000282 ORIG_RAX: 0000000000000172 [ 27.103556] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000002037ffc8 [ 27.110793] RDX: 0000000000000081 RSI: 0000000000000000 RDI: 0000000000000000 [ 27.118031] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 27.125269] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 27.132509] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 27.140161] Dumping ftrace buffer: [ 27.143671] (ftrace buffer empty) [ 27.147351] Kernel Offset: disabled [ 27.150947] Rebooting in 86400 seconds..