[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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.440755] audit: type=1400 audit(1520777911.090:6): avc: denied { map } for pid=4169 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.22' (ECDSA) to the list of known hosts. syzkaller login: [ 38.306886] audit: type=1400 audit(1520777931.956:7): avc: denied { map } for pid=4187 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/11 14:18:52 parsed 1 programs [ 38.540389] audit: type=1400 audit(1520777932.189:8): avc: denied { map } for pid=4187 comm="syz-execprog" path="/root/syzkaller-shm169942357" 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 [ 38.549542] IPVS: ftp: loaded support on port[0] = 21 2018/03/11 14:18:52 executed programs: 0 [ 38.565987] audit: type=1400 audit(1520777932.194:9): avc: denied { sys_admin } for pid=4192 comm="syz-executor0" capability=21 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 [ 38.595426] audit: type=1400 audit(1520777932.239:10): avc: denied { net_admin } for pid=4194 comm="syz-executor0" capability=12 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 [ 38.820780] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready [ 39.168467] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 39.174569] 8021q: adding VLAN 0 to HW filter on device bond0 [ 39.210702] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 39.247925] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 39.263375] audit: type=1400 audit(1520777932.913:11): avc: denied { sys_chroot } for pid=4194 comm="syz-executor0" capability=18 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 [ 39.271862] ================================================================== [ 39.295153] BUG: KASAN: use-after-free in ip6_xmit+0x1f76/0x2260 [ 39.301280] Read of size 8 at addr ffff8801b6577818 by task syz-executor0/4352 [ 39.308618] [ 39.310220] CPU: 0 PID: 4352 Comm: syz-executor0 Not tainted 4.16.0-rc4+ #259 [ 39.317463] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.326789] Call Trace: [ 39.329353] dump_stack+0x194/0x24d [ 39.332956] ? arch_local_irq_restore+0x53/0x53 [ 39.337596] ? show_regs_print_info+0x18/0x18 [ 39.342068] ? ip6_xmit+0x1f76/0x2260 [ 39.345840] print_address_description+0x73/0x250 [ 39.350652] ? ip6_xmit+0x1f76/0x2260 [ 39.354422] kasan_report+0x23c/0x360 [ 39.358196] __asan_report_load8_noabort+0x14/0x20 [ 39.363097] ip6_xmit+0x1f76/0x2260 [ 39.366705] ? ip6_finish_output2+0x23a0/0x23a0 [ 39.371346] ? fl6_update_dst+0x127/0x2b0 [ 39.375466] ? inet6_csk_route_socket+0x691/0xe80 [ 39.380281] ? trace_hardirqs_off+0x10/0x10 [ 39.384573] ? lock_acquire+0x1d5/0x580 [ 39.388517] ? lock_acquire+0x1d5/0x580 [ 39.392459] ? inet6_csk_xmit+0x114/0x580 [ 39.396579] ? trace_hardirqs_off+0x10/0x10 [ 39.400873] ? lock_release+0xa40/0xa40 [ 39.404837] inet6_csk_xmit+0x2fc/0x580 [ 39.408788] ? inet6_csk_update_pmtu+0x160/0x160 [ 39.413519] ? __sk_dst_check+0x1a5/0x380 [ 39.417642] ? sock_kfree_s+0x60/0x60 [ 39.421431] l2tp_xmit_skb+0x105f/0x1410 [ 39.425472] ? l2tp_session_create+0xb80/0xb80 [ 39.430027] ? sock_wmalloc+0x15d/0x1d0 [ 39.433973] ? iov_iter_advance+0x13f0/0x13f0 [ 39.438442] ? pppol2tp_sendmsg+0x41b/0x670 [ 39.442739] pppol2tp_sendmsg+0x470/0x670 [ 39.446887] ? selinux_socket_sendmsg+0x36/0x40 [ 39.451532] ? pppol2tp_getsockopt+0x900/0x900 [ 39.456090] sock_sendmsg+0xca/0x110 [ 39.459779] SYSC_sendto+0x361/0x5c0 [ 39.463480] ? SYSC_connect+0x4a0/0x4a0 [ 39.467430] ? find_held_lock+0x35/0x1d0 [ 39.471470] ? lock_downgrade+0x980/0x980 [ 39.475614] ? __do_page_fault+0x3d6/0xc90 [ 39.479826] SyS_sendto+0x40/0x50 [ 39.483252] ? SyS_getpeername+0x30/0x30 [ 39.487286] do_fast_syscall_32+0x3ec/0xf9f [ 39.491588] ? do_int80_syscall_32+0x9c0/0x9c0 [ 39.496142] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 39.501656] ? syscall_return_slowpath+0x2ac/0x550 [ 39.506561] ? sysret32_from_system_call+0x5/0x3c [ 39.511381] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 39.516201] entry_SYSENTER_compat+0x70/0x7f [ 39.520579] RIP: 0023:0xf7f76c99 [ 39.523913] RSP: 002b:000000000844e9cc EFLAGS: 00000202 ORIG_RAX: 0000000000000171 [ 39.531592] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020001180 [ 39.538834] RDX: 0000000000000000 RSI: 0000000000040001 RDI: 00000000200021c0 [ 39.546076] RBP: 0000000000000080 R08: 0000000000000000 R09: 0000000000000000 [ 39.553316] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 39.560562] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 39.567818] [ 39.569414] Allocated by task 4173: [ 39.573013] save_stack+0x43/0xd0 [ 39.576433] kasan_kmalloc+0xad/0xe0 [ 39.580112] kasan_slab_alloc+0x12/0x20 [ 39.584057] kmem_cache_alloc+0x12e/0x760 [ 39.588178] dst_alloc+0x11f/0x1a0 [ 39.591689] rt_dst_alloc+0xe9/0x520 [ 39.595372] ip_route_output_key_hash_rcu+0xa59/0x2f00 [ 39.600619] ip_route_output_key_hash+0x20b/0x370 [ 39.605432] __ip4_datagram_connect+0xa67/0x1240 [ 39.610157] __ip6_datagram_connect+0x749/0x12d0 [ 39.614882] ip6_datagram_connect+0x2f/0x50 [ 39.619173] inet_dgram_connect+0x16b/0x1f0 [ 39.623463] SYSC_connect+0x213/0x4a0 [ 39.627231] SyS_connect+0x24/0x30 [ 39.630741] do_syscall_64+0x281/0x940 [ 39.634598] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 39.639757] [ 39.641355] Freed by task 0: [ 39.644346] save_stack+0x43/0xd0 [ 39.647794] __kasan_slab_free+0x11a/0x170 [ 39.651998] kasan_slab_free+0xe/0x10 [ 39.655769] kmem_cache_free+0x83/0x2a0 [ 39.659712] dst_destroy+0x257/0x370 [ 39.663394] dst_destroy_rcu+0x16/0x20 [ 39.667255] rcu_process_callbacks+0xd6c/0x17f0 [ 39.671895] __do_softirq+0x2d7/0xb85 [ 39.675664] [ 39.677265] The buggy address belongs to the object at ffff8801b6577800 [ 39.677265] which belongs to the cache ip_dst_cache of size 168 [ 39.689981] The buggy address is located 24 bytes inside of [ 39.689981] 168-byte region [ffff8801b6577800, ffff8801b65778a8) [ 39.701745] The buggy address belongs to the page: [ 39.706645] page:ffffea0006d95dc0 count:1 mapcount:0 mapping:ffff8801b6577000 index:0x0 [ 39.714759] flags: 0x2fffc0000000100(slab) [ 39.718964] raw: 02fffc0000000100 ffff8801b6577000 0000000000000000 0000000100000010 [ 39.726817] raw: ffff8801d5922648 ffffea0006ba2f60 ffff8801d5409b00 0000000000000000 [ 39.734676] page dumped because: kasan: bad access detected [ 39.740359] [ 39.741958] Memory state around the buggy address: [ 39.746859] ffff8801b6577700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 39.754274] ffff8801b6577780: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc [ 39.761612] >ffff8801b6577800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.768938] ^ [ 39.773061] ffff8801b6577880: fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc [ 39.780978] ffff8801b6577900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.788304] ================================================================== [ 39.795630] Disabling lock debugging due to kernel taint [ 39.801089] Kernel panic - not syncing: panic_on_warn set ... [ 39.801089] [ 39.808424] CPU: 0 PID: 4352 Comm: syz-executor0 Tainted: G B 4.16.0-rc4+ #259 [ 39.816966] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.826291] Call Trace: [ 39.828855] dump_stack+0x194/0x24d [ 39.832454] ? arch_local_irq_restore+0x53/0x53 [ 39.837092] ? kasan_end_report+0x32/0x50 [ 39.841210] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 39.845937] ? vsnprintf+0x1ed/0x1900 [ 39.849711] ? ip6_xmit+0x1f30/0x2260 [ 39.853482] panic+0x1e4/0x41c [ 39.856650] ? refcount_error_report+0x214/0x214 [ 39.861381] ? add_taint+0x1c/0x50 [ 39.864890] ? add_taint+0x1c/0x50 [ 39.868411] ? ip6_xmit+0x1f76/0x2260 [ 39.872179] kasan_end_report+0x50/0x50 [ 39.876133] kasan_report+0x149/0x360 [ 39.879907] __asan_report_load8_noabort+0x14/0x20 [ 39.884822] ip6_xmit+0x1f76/0x2260 [ 39.888425] ? ip6_finish_output2+0x23a0/0x23a0 [ 39.893067] ? fl6_update_dst+0x127/0x2b0 [ 39.897186] ? inet6_csk_route_socket+0x691/0xe80 [ 39.901996] ? trace_hardirqs_off+0x10/0x10 [ 39.906286] ? lock_acquire+0x1d5/0x580 [ 39.910227] ? lock_acquire+0x1d5/0x580 [ 39.914170] ? inet6_csk_xmit+0x114/0x580 [ 39.918288] ? trace_hardirqs_off+0x10/0x10 [ 39.922580] ? lock_release+0xa40/0xa40 [ 39.926531] inet6_csk_xmit+0x2fc/0x580 [ 39.930472] ? inet6_csk_update_pmtu+0x160/0x160 [ 39.935200] ? __sk_dst_check+0x1a5/0x380 [ 39.939318] ? sock_kfree_s+0x60/0x60 [ 39.943100] l2tp_xmit_skb+0x105f/0x1410 [ 39.947135] ? l2tp_session_create+0xb80/0xb80 [ 39.951689] ? sock_wmalloc+0x15d/0x1d0 [ 39.955633] ? iov_iter_advance+0x13f0/0x13f0 [ 39.960098] ? pppol2tp_sendmsg+0x41b/0x670 [ 39.964390] pppol2tp_sendmsg+0x470/0x670 [ 39.968507] ? selinux_socket_sendmsg+0x36/0x40 [ 39.973144] ? pppol2tp_getsockopt+0x900/0x900 [ 39.977694] sock_sendmsg+0xca/0x110 [ 39.981377] SYSC_sendto+0x361/0x5c0 [ 39.985059] ? SYSC_connect+0x4a0/0x4a0 [ 39.989001] ? find_held_lock+0x35/0x1d0 [ 39.993044] ? lock_downgrade+0x980/0x980 [ 39.997174] ? __do_page_fault+0x3d6/0xc90 [ 40.001383] SyS_sendto+0x40/0x50 [ 40.004806] ? SyS_getpeername+0x30/0x30 [ 40.008840] do_fast_syscall_32+0x3ec/0xf9f [ 40.013131] ? do_int80_syscall_32+0x9c0/0x9c0 [ 40.017684] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 40.023192] ? syscall_return_slowpath+0x2ac/0x550 [ 40.028093] ? sysret32_from_system_call+0x5/0x3c [ 40.032908] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.037722] entry_SYSENTER_compat+0x70/0x7f [ 40.042098] RIP: 0023:0xf7f76c99 [ 40.045429] RSP: 002b:000000000844e9cc EFLAGS: 00000202 ORIG_RAX: 0000000000000171 [ 40.053104] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020001180 [ 40.060343] RDX: 0000000000000000 RSI: 0000000000040001 RDI: 00000000200021c0 [ 40.067581] RBP: 0000000000000080 R08: 0000000000000000 R09: 0000000000000000 [ 40.074826] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 40.082066] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 40.089723] Dumping ftrace buffer: [ 40.093230] (ftrace buffer empty) [ 40.096907] Kernel Offset: disabled [ 40.100504] Rebooting in 86400 seconds..