[....] Starting enhanced syslogd: rsyslogd[ 16.949792] audit: type=1400 audit(1521291648.976:5): avc: denied { syslog } for pid=4040 comm="rsyslogd" capability=34 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 [?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. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 23.115572] audit: type=1400 audit(1521291655.142:6): avc: denied { map } for pid=4179 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 Warning: Permanently added '10.128.0.10' (ECDSA) to the list of known hosts. [ 29.443805] audit: type=1400 audit(1521291661.470:7): avc: denied { map } for pid=4193 comm="syzkaller777193" path="/root/syzkaller777193006" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 29.456719] IPVS: ftp: loaded support on port[0] = 21 net.ipv6.conf.syz_tun.accept_dad = 0 net.ipv6.conf.syz_tun.router_solicitations = 0 [ 29.469808] audit: type=1400 audit(1521291661.476:8): avc: denied { sys_admin } for pid=4193 comm="syzkaller777193" 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 [ 29.518240] audit: type=1400 audit(1521291661.544:9): avc: denied { net_admin } for pid=4194 comm="syzkaller777193" 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 RTNETLINK answers: File exists RTNETLINK answers: Operation not supported RTNETLINK answers: No buffer space available RTNETLINK answers: Operation not supported [ 29.757276] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument [ 30.110081] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 30.116283] 8021q: adding VLAN 0 to HW filter on device bond0 [ 30.155442] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 30.194541] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready executing program executing program executing program executing program [ 30.207615] audit: type=1400 audit(1521291662.234:10): avc: denied { sys_chroot } for pid=4194 comm="syzkaller777193" 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 32.042134] ================================================================== [ 32.049586] BUG: KASAN: slab-out-of-bounds in ip6_xmit+0x1f76/0x2260 [ 32.056065] Read of size 8 at addr ffff8801b900a018 by task syzkaller777193/4505 [ 32.063569] [ 32.065175] CPU: 1 PID: 4505 Comm: syzkaller777193 Not tainted 4.16.0-rc4+ #269 [ 32.072607] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.081935] Call Trace: [ 32.084500] dump_stack+0x194/0x24d [ 32.088105] ? arch_local_irq_restore+0x53/0x53 [ 32.092775] ? show_regs_print_info+0x18/0x18 [ 32.097263] ? ip6_xmit+0x1f76/0x2260 [ 32.101041] print_address_description+0x73/0x250 [ 32.105867] ? ip6_xmit+0x1f76/0x2260 [ 32.109653] kasan_report+0x23c/0x360 [ 32.113437] __asan_report_load8_noabort+0x14/0x20 [ 32.118348] ip6_xmit+0x1f76/0x2260 [ 32.121959] ? ip6_finish_output2+0x23d0/0x23d0 [ 32.126608] ? fl6_update_dst+0x127/0x2b0 [ 32.130735] ? inet6_csk_route_socket+0x691/0xe80 [ 32.135555] ? trace_hardirqs_off+0x10/0x10 [ 32.139852] ? lock_acquire+0x1d5/0x580 [ 32.143802] ? lock_acquire+0x1d5/0x580 [ 32.147752] ? inet6_csk_xmit+0x114/0x580 [ 32.151878] ? trace_hardirqs_off+0x10/0x10 [ 32.156177] ? lock_release+0xa40/0xa40 [ 32.160142] inet6_csk_xmit+0x2fc/0x580 [ 32.164092] ? inet6_csk_update_pmtu+0x160/0x160 [ 32.168824] ? __sk_dst_check+0x1a5/0x380 [ 32.172962] ? sock_kzfree_s+0x60/0x60 [ 32.176842] l2tp_xmit_skb+0x105f/0x1410 [ 32.180886] ? l2tp_session_create+0xb80/0xb80 [ 32.185446] ? sock_wmalloc+0x15d/0x1d0 [ 32.189396] ? iov_iter_advance+0x13f0/0x13f0 [ 32.193871] ? pppol2tp_sendmsg+0x41b/0x670 [ 32.198167] pppol2tp_sendmsg+0x470/0x670 [ 32.202299] ? selinux_socket_sendmsg+0x36/0x40 [ 32.206947] ? pppol2tp_getsockopt+0x900/0x900 [ 32.211507] sock_sendmsg+0xca/0x110 [ 32.215198] ___sys_sendmsg+0x767/0x8b0 [ 32.219151] ? copy_msghdr_from_user+0x590/0x590 [ 32.223884] ? __pmd_alloc+0x4e0/0x4e0 [ 32.227746] ? selinux_socket_connect+0x311/0x730 [ 32.232634] ? trace_hardirqs_off+0x10/0x10 [ 32.236937] ? find_held_lock+0x35/0x1d0 [ 32.240989] ? __fget_light+0x2b2/0x3c0 [ 32.244943] ? fget_raw+0x20/0x20 [ 32.248384] ? __do_page_fault+0x5f7/0xc90 [ 32.252593] ? lock_downgrade+0x980/0x980 [ 32.256725] __sys_sendmsg+0xe5/0x210 [ 32.260501] ? __sys_sendmsg+0xe5/0x210 [ 32.264451] ? SyS_shutdown+0x290/0x290 [ 32.268416] ? __do_page_fault+0x3d6/0xc90 [ 32.272647] ? move_addr_to_kernel+0x60/0x60 [ 32.277049] SyS_sendmsg+0x2d/0x50 [ 32.280565] ? __sys_sendmsg+0x210/0x210 [ 32.284609] do_syscall_64+0x281/0x940 [ 32.288475] ? __do_page_fault+0xc90/0xc90 [ 32.292684] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.297415] ? syscall_return_slowpath+0x550/0x550 [ 32.302319] ? syscall_return_slowpath+0x2ac/0x550 [ 32.307221] ? prepare_exit_to_usermode+0x350/0x350 [ 32.312213] ? retint_user+0x18/0x18 [ 32.315907] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.320732] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 32.325899] RIP: 0033:0x443b19 [ 32.329063] RSP: 002b:00000000007ef0e8 EFLAGS: 00000217 ORIG_RAX: 000000000000002e [ 32.336745] RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 0000000000443b19 [ 32.344733] RDX: 0000000000000081 RSI: 000000002037ffc8 RDI: 0000000000000004 [ 32.351980] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 32.359226] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000000000 [ 32.366468] R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000001380 [ 32.373727] [ 32.375331] Allocated by task 2962: [ 32.378937] save_stack+0x43/0xd0 [ 32.382362] kasan_kmalloc+0xad/0xe0 [ 32.386048] kasan_slab_alloc+0x12/0x20 [ 32.389994] kmem_cache_alloc+0x12e/0x760 [ 32.394118] getname_flags+0xcb/0x580 [ 32.397891] user_path_at_empty+0x2d/0x50 [ 32.402014] SyS_access+0x22c/0x6a0 [ 32.405626] do_syscall_64+0x281/0x940 [ 32.409488] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 32.414651] [ 32.416254] Freed by task 2962: [ 32.419506] save_stack+0x43/0xd0 [ 32.422944] __kasan_slab_free+0x11a/0x170 [ 32.427148] kasan_slab_free+0xe/0x10 [ 32.430922] kmem_cache_free+0x83/0x2a0 [ 32.434877] putname+0xee/0x130 [ 32.438127] filename_lookup+0x315/0x500 [ 32.442160] user_path_at_empty+0x40/0x50 [ 32.446279] SyS_access+0x22c/0x6a0 [ 32.449877] do_syscall_64+0x281/0x940 [ 32.453737] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 32.458899] [ 32.460503] The buggy address belongs to the object at ffff8801b900ac80 [ 32.460503] which belongs to the cache names_cache of size 4096 [ 32.473217] The buggy address is located 3176 bytes to the left of [ 32.473217] 4096-byte region [ffff8801b900ac80, ffff8801b900bc80) [ 32.485671] The buggy address belongs to the page: [ 32.490573] page:ffffea0006e40280 count:1 mapcount:0 mapping:ffff8801b900ac80 index:0x0 compound_mapcount: 0 [ 32.500516] flags: 0x2fffc0000008100(slab|head) [ 32.505158] raw: 02fffc0000008100 ffff8801b900ac80 0000000000000000 0000000100000001 [ 32.513026] raw: ffffea0006e5d2a0 ffffea0006e5fba0 ffff8801da5d6600 0000000000000000 [ 32.520881] page dumped because: kasan: bad access detected [ 32.526562] [ 32.528161] Memory state around the buggy address: [ 32.533062] ffff8801b9009f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.540393] ffff8801b9009f80: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc [ 32.547725] >ffff8801b900a000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.555053] ^ [ 32.559172] ffff8801b900a080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.566503] ffff8801b900a100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.573837] ================================================================== [ 32.581176] Disabling lock debugging due to kernel taint [ 32.586634] Kernel panic - not syncing: panic_on_warn set ... [ 32.586634] [ 32.593986] CPU: 1 PID: 4505 Comm: syzkaller777193 Tainted: G B 4.16.0-rc4+ #269 [ 32.602709] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.612037] Call Trace: [ 32.614605] dump_stack+0x194/0x24d [ 32.618207] ? arch_local_irq_restore+0x53/0x53 [ 32.622846] ? kasan_end_report+0x32/0x50 [ 32.626967] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.631696] ? vsnprintf+0x1ed/0x1900 [ 32.635473] ? ip6_xmit+0x1f20/0x2260 [ 32.639246] panic+0x1e4/0x41c [ 32.642412] ? refcount_error_report+0x214/0x214 [ 32.647142] ? add_taint+0x1c/0x50 [ 32.650652] ? add_taint+0x1c/0x50 [ 32.654163] ? ip6_xmit+0x1f76/0x2260 [ 32.657936] kasan_end_report+0x50/0x50 [ 32.661880] kasan_report+0x149/0x360 [ 32.665653] __asan_report_load8_noabort+0x14/0x20 [ 32.670553] ip6_xmit+0x1f76/0x2260 [ 32.674157] ? ip6_finish_output2+0x23d0/0x23d0 [ 32.678798] ? fl6_update_dst+0x127/0x2b0 [ 32.682920] ? inet6_csk_route_socket+0x691/0xe80 [ 32.687738] ? trace_hardirqs_off+0x10/0x10 [ 32.692033] ? lock_acquire+0x1d5/0x580 [ 32.695980] ? lock_acquire+0x1d5/0x580 [ 32.699925] ? inet6_csk_xmit+0x114/0x580 [ 32.704055] ? trace_hardirqs_off+0x10/0x10 [ 32.708349] ? lock_release+0xa40/0xa40 [ 32.712303] inet6_csk_xmit+0x2fc/0x580 [ 32.716255] ? inet6_csk_update_pmtu+0x160/0x160 [ 32.720985] ? __sk_dst_check+0x1a5/0x380 [ 32.725108] ? sock_kzfree_s+0x60/0x60 [ 32.728974] l2tp_xmit_skb+0x105f/0x1410 [ 32.733017] ? l2tp_session_create+0xb80/0xb80 [ 32.737580] ? sock_wmalloc+0x15d/0x1d0 [ 32.741526] ? iov_iter_advance+0x13f0/0x13f0 [ 32.745995] ? pppol2tp_sendmsg+0x41b/0x670 [ 32.750295] pppol2tp_sendmsg+0x470/0x670 [ 32.754429] ? selinux_socket_sendmsg+0x36/0x40 [ 32.759081] ? pppol2tp_getsockopt+0x900/0x900 [ 32.763657] sock_sendmsg+0xca/0x110 [ 32.767354] ___sys_sendmsg+0x767/0x8b0 [ 32.771302] ? copy_msghdr_from_user+0x590/0x590 [ 32.776034] ? __pmd_alloc+0x4e0/0x4e0 [ 32.779894] ? selinux_socket_connect+0x311/0x730 [ 32.784711] ? trace_hardirqs_off+0x10/0x10 [ 32.789020] ? find_held_lock+0x35/0x1d0 [ 32.793061] ? __fget_light+0x2b2/0x3c0 [ 32.797009] ? fget_raw+0x20/0x20 [ 32.800449] ? __do_page_fault+0x5f7/0xc90 [ 32.804657] ? lock_downgrade+0x980/0x980 [ 32.808781] __sys_sendmsg+0xe5/0x210 [ 32.812553] ? __sys_sendmsg+0xe5/0x210 [ 32.816513] ? SyS_shutdown+0x290/0x290 [ 32.820487] ? __do_page_fault+0x3d6/0xc90 [ 32.824698] ? move_addr_to_kernel+0x60/0x60 [ 32.829080] SyS_sendmsg+0x2d/0x50 [ 32.832591] ? __sys_sendmsg+0x210/0x210 [ 32.836623] do_syscall_64+0x281/0x940 [ 32.840482] ? __do_page_fault+0xc90/0xc90 [ 32.844690] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.849418] ? syscall_return_slowpath+0x550/0x550 [ 32.854323] ? syscall_return_slowpath+0x2ac/0x550 [ 32.859223] ? prepare_exit_to_usermode+0x350/0x350 [ 32.864215] ? retint_user+0x18/0x18 [ 32.867905] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.872729] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 32.877894] RIP: 0033:0x443b19 [ 32.881057] RSP: 002b:00000000007ef0e8 EFLAGS: 00000217 ORIG_RAX: 000000000000002e [ 32.888737] RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 0000000000443b19 [ 32.895977] RDX: 0000000000000081 RSI: 000000002037ffc8 RDI: 0000000000000004 [ 32.903216] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 32.910458] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000000000 [ 32.917698] R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000001380 [ 32.925422] Dumping ftrace buffer: [ 32.928949] (ftrace buffer empty) [ 32.932633] Kernel Offset: disabled [ 32.936245] Rebooting in 86400 seconds..