[....] Starting enhanced syslogd: rsyslogd[ 18.840053] audit: type=1400 audit(1521291553.803:5): avc: denied { syslog } for pid=4125 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.814115] audit: type=1400 audit(1521291558.777:6): avc: denied { map } for pid=4265 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.27' (ECDSA) to the list of known hosts. [ 30.191029] audit: type=1400 audit(1521291565.154:7): avc: denied { map } for pid=4279 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/17 12:59:25 parsed 1 programs 2018/03/17 12:59:25 executed programs: 0 [ 30.445498] audit: type=1400 audit(1521291565.408:8): avc: denied { map } for pid=4279 comm="syz-execprog" path="/root/syzkaller-shm028053208" 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 [ 30.454865] IPVS: ftp: loaded support on port[0] = 21 [ 30.708265] ip (4331) used greatest stack depth: 16120 bytes left [ 30.743612] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready [ 31.132468] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 31.138619] 8021q: adding VLAN 0 to HW filter on device bond0 [ 31.180351] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 31.223359] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 33.076627] ================================================================== [ 33.084101] BUG: KASAN: slab-out-of-bounds in ip6_xmit+0x1f76/0x2260 [ 33.090572] Read of size 8 at addr ffff8801ac118018 by task syz-executor0/4565 [ 33.097909] [ 33.099522] CPU: 0 PID: 4565 Comm: syz-executor0 Not tainted 4.16.0-rc5+ #267 [ 33.106768] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.116097] Call Trace: [ 33.118662] dump_stack+0x194/0x24d [ 33.122274] ? arch_local_irq_restore+0x53/0x53 [ 33.126929] ? show_regs_print_info+0x18/0x18 [ 33.131407] ? ip6_xmit+0x1f76/0x2260 [ 33.135186] print_address_description+0x73/0x250 [ 33.140006] ? ip6_xmit+0x1f76/0x2260 [ 33.143789] kasan_report+0x23c/0x360 [ 33.147567] __asan_report_load8_noabort+0x14/0x20 [ 33.152471] ip6_xmit+0x1f76/0x2260 [ 33.156088] ? ip6_finish_output2+0x23a0/0x23a0 [ 33.160744] ? fl6_update_dst+0x127/0x2b0 [ 33.164868] ? inet6_csk_route_socket+0x691/0xe80 [ 33.169691] ? trace_hardirqs_off+0x10/0x10 [ 33.173989] ? lock_acquire+0x1d5/0x580 [ 33.177940] ? lock_acquire+0x1d5/0x580 [ 33.181890] ? inet6_csk_xmit+0x114/0x580 [ 33.186020] ? trace_hardirqs_off+0x10/0x10 [ 33.190325] ? lock_release+0xa40/0xa40 [ 33.194396] inet6_csk_xmit+0x2fc/0x580 [ 33.198349] ? inet6_csk_update_pmtu+0x160/0x160 [ 33.203080] ? __sk_dst_check+0x1a5/0x380 [ 33.207225] ? sock_kfree_s+0x60/0x60 [ 33.211027] l2tp_xmit_skb+0x105f/0x1410 [ 33.215085] ? l2tp_session_create+0xb80/0xb80 [ 33.219643] ? sock_wmalloc+0x15d/0x1d0 [ 33.223593] ? iov_iter_advance+0x13f0/0x13f0 [ 33.228077] ? pppol2tp_sendmsg+0x41b/0x670 [ 33.232381] pppol2tp_sendmsg+0x470/0x670 [ 33.236504] ? selinux_socket_sendmsg+0x36/0x40 [ 33.241171] ? pppol2tp_getsockopt+0x900/0x900 [ 33.245736] sock_sendmsg+0xca/0x110 [ 33.249430] ___sys_sendmsg+0x767/0x8b0 [ 33.253382] ? copy_msghdr_from_user+0x590/0x590 [ 33.258117] ? __handle_mm_fault+0x5ba/0x38c0 [ 33.262589] ? __pmd_alloc+0x4e0/0x4e0 [ 33.266450] ? trace_hardirqs_off+0x10/0x10 [ 33.270751] ? selinux_socket_setsockopt+0x80/0x80 [ 33.275754] ? lock_release+0xa40/0xa40 [ 33.279703] ? __fget_light+0x2b2/0x3c0 [ 33.283655] ? fget_raw+0x20/0x20 [ 33.287101] ? find_held_lock+0x35/0x1d0 [ 33.291152] __sys_sendmsg+0xe5/0x210 [ 33.294946] ? __sys_sendmsg+0xe5/0x210 [ 33.298895] ? SyS_shutdown+0x290/0x290 [ 33.302850] ? compat_SyS_futex+0x288/0x380 [ 33.307162] compat_SyS_sendmsg+0x2a/0x40 [ 33.311288] ? compat_SyS_getsockopt+0x420/0x420 [ 33.316031] do_fast_syscall_32+0x3ec/0xf9f [ 33.320353] ? do_int80_syscall_32+0x9c0/0x9c0 [ 33.324910] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 33.329661] ? syscall_return_slowpath+0x2ac/0x550 [ 33.334572] ? prepare_exit_to_usermode+0x350/0x350 [ 33.339564] ? sysret32_from_system_call+0x5/0x3c [ 33.344384] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.349208] entry_SYSENTER_compat+0x70/0x7f [ 33.353591] RIP: 0023:0xf7fbcc99 [ 33.356929] RSP: 002b:00000000ffb8af4c EFLAGS: 00000286 ORIG_RAX: 0000000000000172 [ 33.364610] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000002037ffc8 [ 33.371866] RDX: 0000000000000081 RSI: 0000000000000000 RDI: 0000000000000000 [ 33.379111] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 33.386355] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 33.393596] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 33.400863] [ 33.402465] Allocated by task 4286: [ 33.406069] save_stack+0x43/0xd0 [ 33.409493] kasan_kmalloc+0xad/0xe0 [ 33.413183] kasan_slab_alloc+0x12/0x20 [ 33.417132] kmem_cache_alloc+0x12e/0x760 [ 33.421255] getname_flags+0xcb/0x580 [ 33.425035] SyS_mkdir+0xc1/0x2a0 [ 33.428470] do_fast_syscall_32+0x3ec/0xf9f [ 33.432769] entry_SYSENTER_compat+0x70/0x7f [ 33.437160] [ 33.438763] Freed by task 4286: [ 33.442020] save_stack+0x43/0xd0 [ 33.445455] __kasan_slab_free+0x11a/0x170 [ 33.449667] kasan_slab_free+0xe/0x10 [ 33.453530] kmem_cache_free+0x83/0x2a0 [ 33.457479] putname+0xee/0x130 [ 33.460731] filename_create+0x245/0x520 [ 33.464767] SyS_mkdir+0xd4/0x2a0 [ 33.468193] do_fast_syscall_32+0x3ec/0xf9f [ 33.472489] entry_SYSENTER_compat+0x70/0x7f [ 33.476867] [ 33.478469] The buggy address belongs to the object at ffff8801ac118a80 [ 33.478469] which belongs to the cache names_cache of size 4096 [ 33.491184] The buggy address is located 2664 bytes to the left of [ 33.491184] 4096-byte region [ffff8801ac118a80, ffff8801ac119a80) [ 33.503644] The buggy address belongs to the page: [ 33.508551] page:ffffea0006b04600 count:1 mapcount:0 mapping:ffff8801ac118a80 index:0x0 compound_mapcount: 0 [ 33.518492] flags: 0x2fffc0000008100(slab|head) [ 33.523137] raw: 02fffc0000008100 ffff8801ac118a80 0000000000000000 0000000100000001 [ 33.530991] raw: ffffea0006b07720 ffffea0006b04220 ffff8801da5d6600 0000000000000000 [ 33.538848] page dumped because: kasan: bad access detected [ 33.544530] [ 33.546132] Memory state around the buggy address: [ 33.551037] ffff8801ac117f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.558368] ffff8801ac117f80: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc [ 33.565710] >ffff8801ac118000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.573044] ^ [ 33.577171] ffff8801ac118080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.584499] ffff8801ac118100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.591827] ================================================================== [ 33.599155] Disabling lock debugging due to kernel taint [ 33.604601] Kernel panic - not syncing: panic_on_warn set ... [ 33.604601] [ 33.611952] CPU: 0 PID: 4565 Comm: syz-executor0 Tainted: G B 4.16.0-rc5+ #267 [ 33.620498] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.629820] Call Trace: [ 33.632382] dump_stack+0x194/0x24d [ 33.635990] ? arch_local_irq_restore+0x53/0x53 [ 33.640633] ? kasan_end_report+0x32/0x50 [ 33.644755] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 33.649484] ? vsnprintf+0x1ed/0x1900 [ 33.653258] ? ip6_xmit+0x1f30/0x2260 [ 33.657035] panic+0x1e4/0x41c [ 33.660201] ? refcount_error_report+0x214/0x214 [ 33.664931] ? add_taint+0x1c/0x50 [ 33.668451] ? add_taint+0x1c/0x50 [ 33.671967] ? ip6_xmit+0x1f76/0x2260 [ 33.675748] kasan_end_report+0x50/0x50 [ 33.679696] kasan_report+0x149/0x360 [ 33.683476] __asan_report_load8_noabort+0x14/0x20 [ 33.688379] ip6_xmit+0x1f76/0x2260 [ 33.691985] ? ip6_finish_output2+0x23a0/0x23a0 [ 33.696629] ? fl6_update_dst+0x127/0x2b0 [ 33.700777] ? inet6_csk_route_socket+0x691/0xe80 [ 33.705604] ? trace_hardirqs_off+0x10/0x10 [ 33.709908] ? lock_acquire+0x1d5/0x580 [ 33.713861] ? lock_acquire+0x1d5/0x580 [ 33.717808] ? inet6_csk_xmit+0x114/0x580 [ 33.721932] ? trace_hardirqs_off+0x10/0x10 [ 33.726246] ? lock_release+0xa40/0xa40 [ 33.730203] inet6_csk_xmit+0x2fc/0x580 [ 33.734149] ? inet6_csk_update_pmtu+0x160/0x160 [ 33.738878] ? __sk_dst_check+0x1a5/0x380 [ 33.742996] ? sock_kfree_s+0x60/0x60 [ 33.746782] l2tp_xmit_skb+0x105f/0x1410 [ 33.750818] ? l2tp_session_create+0xb80/0xb80 [ 33.755371] ? sock_wmalloc+0x15d/0x1d0 [ 33.759319] ? iov_iter_advance+0x13f0/0x13f0 [ 33.763791] ? pppol2tp_sendmsg+0x41b/0x670 [ 33.768086] pppol2tp_sendmsg+0x470/0x670 [ 33.772217] ? selinux_socket_sendmsg+0x36/0x40 [ 33.776858] ? pppol2tp_getsockopt+0x900/0x900 [ 33.781412] sock_sendmsg+0xca/0x110 [ 33.785202] ___sys_sendmsg+0x767/0x8b0 [ 33.789155] ? copy_msghdr_from_user+0x590/0x590 [ 33.793885] ? __handle_mm_fault+0x5ba/0x38c0 [ 33.798355] ? __pmd_alloc+0x4e0/0x4e0 [ 33.802218] ? trace_hardirqs_off+0x10/0x10 [ 33.806513] ? selinux_socket_setsockopt+0x80/0x80 [ 33.811423] ? lock_release+0xa40/0xa40 [ 33.815385] ? __fget_light+0x2b2/0x3c0 [ 33.819332] ? fget_raw+0x20/0x20 [ 33.822766] ? find_held_lock+0x35/0x1d0 [ 33.826808] __sys_sendmsg+0xe5/0x210 [ 33.830581] ? __sys_sendmsg+0xe5/0x210 [ 33.834527] ? SyS_shutdown+0x290/0x290 [ 33.838494] ? compat_SyS_futex+0x288/0x380 [ 33.842796] compat_SyS_sendmsg+0x2a/0x40 [ 33.846916] ? compat_SyS_getsockopt+0x420/0x420 [ 33.851661] do_fast_syscall_32+0x3ec/0xf9f [ 33.855957] ? do_int80_syscall_32+0x9c0/0x9c0 [ 33.860511] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 33.865242] ? syscall_return_slowpath+0x2ac/0x550 [ 33.870142] ? prepare_exit_to_usermode+0x350/0x350 [ 33.875131] ? sysret32_from_system_call+0x5/0x3c [ 33.879959] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.884778] entry_SYSENTER_compat+0x70/0x7f [ 33.889158] RIP: 0023:0xf7fbcc99 [ 33.892493] RSP: 002b:00000000ffb8af4c EFLAGS: 00000286 ORIG_RAX: 0000000000000172 [ 33.900197] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000002037ffc8 [ 33.907439] RDX: 0000000000000081 RSI: 0000000000000000 RDI: 0000000000000000 [ 33.914688] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 33.921928] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 33.929171] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 33.936921] Dumping ftrace buffer: [ 33.940438] (ftrace buffer empty) [ 33.944120] Kernel Offset: disabled [ 33.947719] Rebooting in 86400 seconds..