[....] Starting enhanced syslogd: rsyslogd[ 16.764705] audit: type=1400 audit(1520599841.579:5): avc: denied { syslog } for pid=3978 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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 23.303631] audit: type=1400 audit(1520599848.118:6): avc: denied { map } for pid=4116 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.5' (ECDSA) to the list of known hosts. net.ipv6.conf.syz_tun.accept_dad = 0 net.ipv6.conf.syz_tun.router_solicitations = 0 [ 29.661741] audit: type=1400 audit(1520599854.476:7): avc: denied { map } for pid=4130 comm="syzkaller870636" path="/root/syzkaller870636451" 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.670523] IPVS: ftp: loaded support on port[0] = 21 RTNETLINK answers: File exists RTNETLINK answers: Operation not supported RTNETLINK answers: No buffer space available RTNETLINK answers: Operation not supported [ 29.953201] 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.310482] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 30.316586] 8021q: adding VLAN 0 to HW filter on device bond0 executing program [ 30.354374] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 30.392384] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 30.402921] ================================================================== [ 30.410364] BUG: KASAN: slab-out-of-bounds in ip6_xmit+0x1f76/0x2260 [ 30.416842] Read of size 8 at addr ffff8801d2ade518 by task syzkaller870636/4131 [ 30.424348] [ 30.425953] CPU: 1 PID: 4131 Comm: syzkaller870636 Not tainted 4.16.0-rc4+ #346 [ 30.433366] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.442692] Call Trace: [ 30.445257] dump_stack+0x194/0x24d [ 30.448860] ? arch_local_irq_restore+0x53/0x53 [ 30.453500] ? show_regs_print_info+0x18/0x18 [ 30.457976] ? ip6_xmit+0x1f76/0x2260 [ 30.461749] print_address_description+0x73/0x250 [ 30.466565] ? ip6_xmit+0x1f76/0x2260 [ 30.470339] kasan_report+0x23c/0x360 [ 30.474114] __asan_report_load8_noabort+0x14/0x20 [ 30.479020] ip6_xmit+0x1f76/0x2260 [ 30.482634] ? ip6_finish_output2+0x23a0/0x23a0 [ 30.487277] ? fl6_update_dst+0x127/0x2b0 [ 30.491400] ? inet6_csk_route_socket+0x691/0xe80 [ 30.496217] ? trace_hardirqs_off+0x10/0x10 [ 30.500509] ? lock_acquire+0x1d5/0x580 [ 30.504463] ? lock_acquire+0x1d5/0x580 [ 30.508414] ? inet6_csk_xmit+0x114/0x580 [ 30.512535] ? trace_hardirqs_off+0x10/0x10 [ 30.516831] ? lock_release+0xa40/0xa40 [ 30.520793] inet6_csk_xmit+0x2fc/0x580 [ 30.524740] ? inet6_csk_update_pmtu+0x160/0x160 [ 30.529468] ? __sk_dst_check+0x1a5/0x380 [ 30.533592] ? sock_kfree_s+0x60/0x60 [ 30.537382] l2tp_xmit_skb+0x105f/0x1410 [ 30.541436] ? l2tp_session_create+0xb80/0xb80 [ 30.545998] ? sock_wmalloc+0x15d/0x1d0 [ 30.549969] ? iov_iter_advance+0x13f0/0x13f0 [ 30.554455] ? pppol2tp_sendmsg+0x41b/0x670 [ 30.558768] pppol2tp_sendmsg+0x470/0x670 [ 30.562916] ? selinux_socket_sendmsg+0x36/0x40 [ 30.567571] ? pppol2tp_getsockopt+0x900/0x900 [ 30.572129] sock_sendmsg+0xca/0x110 [ 30.575816] ___sys_sendmsg+0x767/0x8b0 [ 30.579767] ? copy_msghdr_from_user+0x590/0x590 [ 30.584500] ? __pmd_alloc+0x4e0/0x4e0 [ 30.588367] ? trace_hardirqs_off+0x10/0x10 [ 30.592659] ? find_held_lock+0x35/0x1d0 [ 30.596698] ? __fget_light+0x2b2/0x3c0 [ 30.600644] ? fget_raw+0x20/0x20 [ 30.604085] ? __do_page_fault+0x5f7/0xc90 [ 30.608292] ? lock_downgrade+0x980/0x980 [ 30.612423] __sys_sendmsg+0xe5/0x210 [ 30.616193] ? __sys_sendmsg+0xe5/0x210 [ 30.620141] ? SyS_shutdown+0x290/0x290 [ 30.624096] ? __do_page_fault+0x3d6/0xc90 [ 30.628320] ? move_addr_to_kernel+0x60/0x60 [ 30.632708] SyS_sendmsg+0x2d/0x50 [ 30.636220] ? __sys_sendmsg+0x210/0x210 [ 30.640255] do_syscall_64+0x281/0x940 [ 30.644116] ? __do_page_fault+0xc90/0xc90 [ 30.648323] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 30.653054] ? syscall_return_slowpath+0x550/0x550 [ 30.657956] ? syscall_return_slowpath+0x2ac/0x550 [ 30.662858] ? prepare_exit_to_usermode+0x350/0x350 [ 30.667847] ? retint_user+0x18/0x18 [ 30.671538] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.676357] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 30.681522] RIP: 0033:0x441e49 [ 30.684686] RSP: 002b:00007ffd17464f18 EFLAGS: 00000217 ORIG_RAX: 000000000000002e [ 30.692366] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 0000000000441e49 [ 30.699609] RDX: 0000000000000081 RSI: 000000002037ffc8 RDI: 0000000000000004 [ 30.706847] RBP: 00000000004a39bc R08: 0000000000000000 R09: 0000000000000000 [ 30.714087] R10: 0000000000000000 R11: 0000000000000217 R12: 00007ffd17464fe0 [ 30.721333] R13: 0000000000402bd0 R14: 0000000000000000 R15: 0000000000000000 [ 30.728589] [ 30.730188] Allocated by task 0: [ 30.733519] (stack is not available) [ 30.737198] [ 30.738797] Freed by task 0: [ 30.741783] (stack is not available) [ 30.745462] [ 30.747064] The buggy address belongs to the object at ffff8801d2ade500 [ 30.747064] which belongs to the cache ip_dst_cache of size 168 [ 30.759777] The buggy address is located 24 bytes inside of [ 30.759777] 168-byte region [ffff8801d2ade500, ffff8801d2ade5a8) [ 30.771532] The buggy address belongs to the page: [ 30.776440] page:ffffea00074ab780 count:1 mapcount:0 mapping:ffff8801d2ade000 index:0xffff8801d2ade600 [ 30.785875] flags: 0x2fffc0000000100(slab) [ 30.790096] raw: 02fffc0000000100 ffff8801d2ade000 ffff8801d2ade600 000000010000000e [ 30.797961] raw: ffffea000756ada0 ffff8801d6bd7138 ffff8801d5bcbc80 0000000000000000 [ 30.805811] page dumped because: kasan: bad access detected [ 30.811487] [ 30.813087] Memory state around the buggy address: [ 30.817987] ffff8801d2ade400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.825319] ffff8801d2ade480: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc [ 30.832645] >ffff8801d2ade500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.839974] ^ [ 30.844090] ffff8801d2ade580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.851418] ffff8801d2ade600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.858745] ================================================================== [ 30.866073] Disabling lock debugging due to kernel taint [ 30.871530] Kernel panic - not syncing: panic_on_warn set ... [ 30.871530] [ 30.878879] CPU: 1 PID: 4131 Comm: syzkaller870636 Tainted: G B 4.16.0-rc4+ #346 [ 30.887605] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.896937] Call Trace: [ 30.899507] dump_stack+0x194/0x24d [ 30.903119] ? arch_local_irq_restore+0x53/0x53 [ 30.907763] ? kasan_end_report+0x32/0x50 [ 30.911896] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 30.916638] ? vsnprintf+0x1ed/0x1900 [ 30.920420] ? ip6_xmit+0x1f30/0x2260 [ 30.924196] panic+0x1e4/0x41c [ 30.927360] ? refcount_error_report+0x214/0x214 [ 30.932087] ? add_taint+0x1c/0x50 [ 30.935599] ? add_taint+0x1c/0x50 [ 30.939112] ? ip6_xmit+0x1f76/0x2260 [ 30.942882] kasan_end_report+0x50/0x50 [ 30.946827] kasan_report+0x149/0x360 [ 30.950598] __asan_report_load8_noabort+0x14/0x20 [ 30.955495] ip6_xmit+0x1f76/0x2260 [ 30.959097] ? ip6_finish_output2+0x23a0/0x23a0 [ 30.963739] ? fl6_update_dst+0x127/0x2b0 [ 30.967858] ? inet6_csk_route_socket+0x691/0xe80 [ 30.972670] ? trace_hardirqs_off+0x10/0x10 [ 30.976963] ? lock_acquire+0x1d5/0x580 [ 30.980904] ? lock_acquire+0x1d5/0x580 [ 30.984846] ? inet6_csk_xmit+0x114/0x580 [ 30.988964] ? trace_hardirqs_off+0x10/0x10 [ 30.993256] ? lock_release+0xa40/0xa40 [ 30.997211] inet6_csk_xmit+0x2fc/0x580 [ 31.001157] ? inet6_csk_update_pmtu+0x160/0x160 [ 31.005881] ? __sk_dst_check+0x1a5/0x380 [ 31.009999] ? sock_kfree_s+0x60/0x60 [ 31.013790] l2tp_xmit_skb+0x105f/0x1410 [ 31.017836] ? l2tp_session_create+0xb80/0xb80 [ 31.022391] ? sock_wmalloc+0x15d/0x1d0 [ 31.026335] ? iov_iter_advance+0x13f0/0x13f0 [ 31.030802] ? pppol2tp_sendmsg+0x41b/0x670 [ 31.035097] pppol2tp_sendmsg+0x470/0x670 [ 31.039215] ? selinux_socket_sendmsg+0x36/0x40 [ 31.043856] ? pppol2tp_getsockopt+0x900/0x900 [ 31.048408] sock_sendmsg+0xca/0x110 [ 31.052091] ___sys_sendmsg+0x767/0x8b0 [ 31.056037] ? copy_msghdr_from_user+0x590/0x590 [ 31.060775] ? __pmd_alloc+0x4e0/0x4e0 [ 31.064636] ? trace_hardirqs_off+0x10/0x10 [ 31.068928] ? find_held_lock+0x35/0x1d0 [ 31.072967] ? __fget_light+0x2b2/0x3c0 [ 31.076914] ? fget_raw+0x20/0x20 [ 31.080347] ? __do_page_fault+0x5f7/0xc90 [ 31.084553] ? lock_downgrade+0x980/0x980 [ 31.088676] __sys_sendmsg+0xe5/0x210 [ 31.092447] ? __sys_sendmsg+0xe5/0x210 [ 31.096389] ? SyS_shutdown+0x290/0x290 [ 31.100339] ? __do_page_fault+0x3d6/0xc90 [ 31.104549] ? move_addr_to_kernel+0x60/0x60 [ 31.108929] SyS_sendmsg+0x2d/0x50 [ 31.112437] ? __sys_sendmsg+0x210/0x210 [ 31.116466] do_syscall_64+0x281/0x940 [ 31.120325] ? __do_page_fault+0xc90/0xc90 [ 31.124528] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 31.129254] ? syscall_return_slowpath+0x550/0x550 [ 31.134152] ? syscall_return_slowpath+0x2ac/0x550 [ 31.139051] ? prepare_exit_to_usermode+0x350/0x350 [ 31.144038] ? retint_user+0x18/0x18 [ 31.147724] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 31.152537] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 31.157696] RIP: 0033:0x441e49 [ 31.160855] RSP: 002b:00007ffd17464f18 EFLAGS: 00000217 ORIG_RAX: 000000000000002e [ 31.168532] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 0000000000441e49 [ 31.175771] RDX: 0000000000000081 RSI: 000000002037ffc8 RDI: 0000000000000004 [ 31.183031] RBP: 00000000004a39bc R08: 0000000000000000 R09: 0000000000000000 [ 31.190272] R10: 0000000000000000 R11: 0000000000000217 R12: 00007ffd17464fe0 [ 31.197517] R13: 0000000000402bd0 R14: 0000000000000000 R15: 0000000000000000 [ 31.205213] Dumping ftrace buffer: [ 31.208730] (ftrace buffer empty) [ 31.212408] Kernel Offset: disabled [ 31.216003] Rebooting in 86400 seconds..