[?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. [ 17.594898] audit: type=1400 audit(1520409524.527:6): avc: denied { map } for pid=4117 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.31' (ECDSA) to the list of known hosts. syzkaller login: [ 23.884703] audit: type=1400 audit(1520409530.817:7): avc: denied { map } for pid=4131 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 07:58:51 parsed 1 programs 2018/03/07 07:58:51 executed programs: 0 [ 24.139267] audit: type=1400 audit(1520409531.071:8): avc: denied { map } for pid=4131 comm="syz-execprog" path="/root/syzkaller-shm727487244" 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 [ 24.152498] IPVS: ftp: loaded support on port[0] = 21 [ 24.415561] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready [ 24.767812] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 24.773912] 8021q: adding VLAN 0 to HW filter on device bond0 [ 24.812533] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 24.851266] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 24.868748] ================================================================== [ 24.876181] BUG: KASAN: use-after-free in ip6_xmit+0x1f76/0x2260 [ 24.882300] Read of size 8 at addr ffff8801b48a7818 by task syz-executor0/4296 [ 24.889629] [ 24.891230] CPU: 0 PID: 4296 Comm: syz-executor0 Not tainted 4.16.0-rc4+ #253 [ 24.898471] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.907798] Call Trace: [ 24.910360] dump_stack+0x194/0x24d [ 24.913962] ? arch_local_irq_restore+0x53/0x53 [ 24.918692] ? show_regs_print_info+0x18/0x18 [ 24.923164] ? ip6_xmit+0x1f76/0x2260 [ 24.926939] print_address_description+0x73/0x250 [ 24.931756] ? ip6_xmit+0x1f76/0x2260 [ 24.935531] kasan_report+0x23c/0x360 [ 24.939309] __asan_report_load8_noabort+0x14/0x20 [ 24.944209] ip6_xmit+0x1f76/0x2260 [ 24.947819] ? ip6_finish_output2+0x23a0/0x23a0 [ 24.952468] ? fl6_update_dst+0x127/0x2b0 [ 24.956592] ? inet6_csk_route_socket+0x691/0xe80 [ 24.961409] ? trace_hardirqs_off+0x10/0x10 [ 24.965706] ? lock_acquire+0x1d5/0x580 [ 24.969654] ? lock_acquire+0x1d5/0x580 [ 24.973598] ? inet6_csk_xmit+0x114/0x580 [ 24.977728] ? trace_hardirqs_off+0x10/0x10 [ 24.982033] ? lock_release+0xa40/0xa40 [ 24.985996] inet6_csk_xmit+0x2fc/0x580 [ 24.989950] ? inet6_csk_update_pmtu+0x160/0x160 [ 24.994681] ? __sk_dst_check+0x1a5/0x380 [ 24.998808] ? sock_kfree_s+0x60/0x60 [ 25.002597] l2tp_xmit_skb+0x105f/0x1410 [ 25.006643] ? l2tp_session_create+0xb80/0xb80 [ 25.011202] ? sock_wmalloc+0x15d/0x1d0 [ 25.015155] ? iov_iter_advance+0x13f0/0x13f0 [ 25.019639] ? pppol2tp_sendmsg+0x41b/0x670 [ 25.023943] pppol2tp_sendmsg+0x470/0x670 [ 25.028069] ? selinux_socket_sendmsg+0x36/0x40 [ 25.032714] ? pppol2tp_getsockopt+0x900/0x900 [ 25.037268] sock_sendmsg+0xca/0x110 [ 25.040955] ___sys_sendmsg+0x767/0x8b0 [ 25.044905] ? copy_msghdr_from_user+0x590/0x590 [ 25.049640] ? __handle_mm_fault+0x5ba/0x38c0 [ 25.054117] ? __pmd_alloc+0x4e0/0x4e0 [ 25.057976] ? trace_hardirqs_off+0x10/0x10 [ 25.062268] ? selinux_socket_setsockopt+0x80/0x80 [ 25.067173] ? __fget_light+0x2b2/0x3c0 [ 25.071120] ? fget_raw+0x20/0x20 [ 25.074558] ? find_held_lock+0x35/0x1d0 [ 25.078606] __sys_sendmsg+0xe5/0x210 [ 25.082377] ? __sys_sendmsg+0xe5/0x210 [ 25.086323] ? SyS_shutdown+0x290/0x290 [ 25.090278] ? compat_SyS_futex+0x288/0x380 [ 25.094593] compat_SyS_sendmsg+0x2a/0x40 [ 25.098717] ? compat_SyS_getsockopt+0x420/0x420 [ 25.103450] do_fast_syscall_32+0x3ec/0xf9f [ 25.107751] ? do_int80_syscall_32+0x9c0/0x9c0 [ 25.112306] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.117045] ? syscall_return_slowpath+0x2ac/0x550 [ 25.121947] ? prepare_exit_to_usermode+0x350/0x350 [ 25.126939] ? sysret32_from_system_call+0x5/0x3c [ 25.131761] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.136582] entry_SYSENTER_compat+0x70/0x7f [ 25.140968] RIP: 0023:0xf7fcdc99 [ 25.144306] RSP: 002b:00000000ff95bfcc EFLAGS: 00000282 ORIG_RAX: 0000000000000172 [ 25.151987] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000002037ffc8 [ 25.159233] RDX: 0000000000000081 RSI: 0000000000000000 RDI: 0000000000000000 [ 25.166475] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 25.173718] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 25.180959] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 25.188215] [ 25.189818] Allocated by task 4124: [ 25.193417] save_stack+0x43/0xd0 [ 25.196839] kasan_kmalloc+0xad/0xe0 [ 25.200521] kasan_slab_alloc+0x12/0x20 [ 25.204466] kmem_cache_alloc+0x12e/0x760 [ 25.208584] dst_alloc+0x11f/0x1a0 [ 25.212096] rt_dst_alloc+0xe9/0x520 [ 25.215779] ip_route_output_key_hash_rcu+0xa59/0x2f00 [ 25.221030] ip_route_output_key_hash+0x20b/0x370 [ 25.225853] __ip4_datagram_connect+0xa67/0x1240 [ 25.230579] __ip6_datagram_connect+0x749/0x12d0 [ 25.235309] ip6_datagram_connect+0x2f/0x50 [ 25.239601] inet_dgram_connect+0x16b/0x1f0 [ 25.243892] SYSC_connect+0x213/0x4a0 [ 25.247668] SyS_connect+0x24/0x30 [ 25.251182] do_syscall_64+0x281/0x940 [ 25.255049] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 25.260209] [ 25.261811] Freed by task 0: [ 25.264801] save_stack+0x43/0xd0 [ 25.268221] __kasan_slab_free+0x11a/0x170 [ 25.272423] kasan_slab_free+0xe/0x10 [ 25.276197] kmem_cache_free+0x83/0x2a0 [ 25.280149] dst_destroy+0x257/0x370 [ 25.283834] dst_destroy_rcu+0x16/0x20 [ 25.287695] rcu_process_callbacks+0xd6c/0x17f0 [ 25.292336] __do_softirq+0x2d7/0xb85 [ 25.296110] [ 25.297710] The buggy address belongs to the object at ffff8801b48a7800 [ 25.297710] which belongs to the cache ip_dst_cache of size 168 [ 25.310425] The buggy address is located 24 bytes inside of [ 25.310425] 168-byte region [ffff8801b48a7800, ffff8801b48a78a8) [ 25.322182] The buggy address belongs to the page: [ 25.327083] page:ffffea0006d229c0 count:1 mapcount:0 mapping:ffff8801b48a7000 index:0xffff8801b48a7000 [ 25.336497] flags: 0x2fffc0000000100(slab) [ 25.340706] raw: 02fffc0000000100 ffff8801b48a7000 ffff8801b48a7000 000000010000000a [ 25.348558] raw: ffff8801d58ac638 ffffea000749e6a0 ffff8801d5ba3800 0000000000000000 [ 25.356406] page dumped because: kasan: bad access detected [ 25.362083] [ 25.363679] Memory state around the buggy address: [ 25.368578] ffff8801b48a7700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.375907] ffff8801b48a7780: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc [ 25.383235] >ffff8801b48a7800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 25.390562] ^ [ 25.394680] ffff8801b48a7880: fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc [ 25.402012] ffff8801b48a7900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 25.409344] ================================================================== [ 25.416675] Disabling lock debugging due to kernel taint [ 25.422133] Kernel panic - not syncing: panic_on_warn set ... [ 25.422133] [ 25.429483] CPU: 0 PID: 4296 Comm: syz-executor0 Tainted: G B 4.16.0-rc4+ #253 [ 25.438042] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.447373] Call Trace: [ 25.449932] dump_stack+0x194/0x24d [ 25.453531] ? arch_local_irq_restore+0x53/0x53 [ 25.458169] ? kasan_end_report+0x32/0x50 [ 25.462302] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.467029] ? vsnprintf+0x1ed/0x1900 [ 25.470800] ? ip6_xmit+0x1f30/0x2260 [ 25.474573] panic+0x1e4/0x41c [ 25.477736] ? refcount_error_report+0x214/0x214 [ 25.482462] ? add_taint+0x1c/0x50 [ 25.485972] ? add_taint+0x1c/0x50 [ 25.489480] ? ip6_xmit+0x1f76/0x2260 [ 25.493250] kasan_end_report+0x50/0x50 [ 25.497191] kasan_report+0x149/0x360 [ 25.500963] __asan_report_load8_noabort+0x14/0x20 [ 25.505860] ip6_xmit+0x1f76/0x2260 [ 25.509463] ? ip6_finish_output2+0x23a0/0x23a0 [ 25.514103] ? fl6_update_dst+0x127/0x2b0 [ 25.518220] ? inet6_csk_route_socket+0x691/0xe80 [ 25.523038] ? trace_hardirqs_off+0x10/0x10 [ 25.527327] ? lock_acquire+0x1d5/0x580 [ 25.531284] ? lock_acquire+0x1d5/0x580 [ 25.535229] ? inet6_csk_xmit+0x114/0x580 [ 25.539345] ? trace_hardirqs_off+0x10/0x10 [ 25.543641] ? lock_release+0xa40/0xa40 [ 25.547591] inet6_csk_xmit+0x2fc/0x580 [ 25.551534] ? inet6_csk_update_pmtu+0x160/0x160 [ 25.556261] ? __sk_dst_check+0x1a5/0x380 [ 25.560379] ? sock_kfree_s+0x60/0x60 [ 25.564160] l2tp_xmit_skb+0x105f/0x1410 [ 25.568197] ? l2tp_session_create+0xb80/0xb80 [ 25.572747] ? sock_wmalloc+0x15d/0x1d0 [ 25.576692] ? iov_iter_advance+0x13f0/0x13f0 [ 25.581159] ? pppol2tp_sendmsg+0x41b/0x670 [ 25.585452] pppol2tp_sendmsg+0x470/0x670 [ 25.589571] ? selinux_socket_sendmsg+0x36/0x40 [ 25.594212] ? pppol2tp_getsockopt+0x900/0x900 [ 25.598767] sock_sendmsg+0xca/0x110 [ 25.602451] ___sys_sendmsg+0x767/0x8b0 [ 25.606396] ? copy_msghdr_from_user+0x590/0x590 [ 25.611125] ? __handle_mm_fault+0x5ba/0x38c0 [ 25.615592] ? __pmd_alloc+0x4e0/0x4e0 [ 25.619449] ? trace_hardirqs_off+0x10/0x10 [ 25.623740] ? selinux_socket_setsockopt+0x80/0x80 [ 25.628646] ? __fget_light+0x2b2/0x3c0 [ 25.632589] ? fget_raw+0x20/0x20 [ 25.636034] ? find_held_lock+0x35/0x1d0 [ 25.640072] __sys_sendmsg+0xe5/0x210 [ 25.643842] ? __sys_sendmsg+0xe5/0x210 [ 25.647785] ? SyS_shutdown+0x290/0x290 [ 25.651734] ? compat_SyS_futex+0x288/0x380 [ 25.656042] compat_SyS_sendmsg+0x2a/0x40 [ 25.660160] ? compat_SyS_getsockopt+0x420/0x420 [ 25.664885] do_fast_syscall_32+0x3ec/0xf9f [ 25.669178] ? do_int80_syscall_32+0x9c0/0x9c0 [ 25.673732] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.678458] ? syscall_return_slowpath+0x2ac/0x550 [ 25.683795] ? prepare_exit_to_usermode+0x350/0x350 [ 25.688789] ? sysret32_from_system_call+0x5/0x3c [ 25.693603] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.698425] entry_SYSENTER_compat+0x70/0x7f [ 25.702803] RIP: 0023:0xf7fcdc99 [ 25.706137] RSP: 002b:00000000ff95bfcc EFLAGS: 00000282 ORIG_RAX: 0000000000000172 [ 25.713817] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000002037ffc8 [ 25.721058] RDX: 0000000000000081 RSI: 0000000000000000 RDI: 0000000000000000 [ 25.728296] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 25.735534] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 25.742771] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 25.750445] Dumping ftrace buffer: [ 25.753956] (ftrace buffer empty) [ 25.757637] Kernel Offset: disabled [ 25.761232] Rebooting in 86400 seconds..