[?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. [ 18.619386] audit: type=1400 audit(1520594034.936:6): avc: denied { map } for pid=4223 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.45' (ECDSA) to the list of known hosts. net.ipv6.conf.syz_tun.accept_dad = 0 net.ipv6.conf.syz_tun.router_solicitations = 0 syzkaller login: [ 41.638366] audit: type=1400 audit(1520594057.955:7): avc: denied { map } for pid=4241 comm="syzkaller426748" path="/root/syzkaller426748262" 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 [ 41.643931] 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 RTNETLINK answers: Operation not supported [ 41.907740] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument [ 42.245235] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 42.251341] 8021q: adding VLAN 0 to HW filter on device bond0 executing program [ 42.287285] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 42.324333] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 42.332687] ================================================================== [ 42.340087] BUG: KASAN: slab-out-of-bounds in ip6_xmit+0x1f76/0x2260 [ 42.346551] Read of size 8 at addr ffff8801b738d818 by task syzkaller426748/4242 [ 42.354050] [ 42.355654] CPU: 0 PID: 4242 Comm: syzkaller426748 Not tainted 4.16.0-rc4+ #346 [ 42.363068] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.372392] Call Trace: [ 42.374955] dump_stack+0x194/0x24d [ 42.378558] ? arch_local_irq_restore+0x53/0x53 [ 42.383201] ? show_regs_print_info+0x18/0x18 [ 42.387679] ? ip6_xmit+0x1f76/0x2260 [ 42.391454] print_address_description+0x73/0x250 [ 42.396268] ? ip6_xmit+0x1f76/0x2260 [ 42.400038] kasan_report+0x23c/0x360 [ 42.403811] __asan_report_load8_noabort+0x14/0x20 [ 42.408713] ip6_xmit+0x1f76/0x2260 [ 42.412325] ? ip6_finish_output2+0x23a0/0x23a0 [ 42.416971] ? fl6_update_dst+0x127/0x2b0 [ 42.421093] ? inet6_csk_route_socket+0x691/0xe80 [ 42.425909] ? trace_hardirqs_off+0x10/0x10 [ 42.430202] ? lock_acquire+0x1d5/0x580 [ 42.434148] ? lock_acquire+0x1d5/0x580 [ 42.438090] ? inet6_csk_xmit+0x114/0x580 [ 42.442210] ? trace_hardirqs_off+0x10/0x10 [ 42.446505] ? lock_release+0xa40/0xa40 [ 42.450473] inet6_csk_xmit+0x2fc/0x580 [ 42.454419] ? inet6_csk_update_pmtu+0x160/0x160 [ 42.459147] ? __sk_dst_check+0x1a5/0x380 [ 42.463266] ? sock_kfree_s+0x60/0x60 [ 42.467054] l2tp_xmit_skb+0x105f/0x1410 [ 42.471097] ? l2tp_session_create+0xb80/0xb80 [ 42.475652] ? sock_wmalloc+0x15d/0x1d0 [ 42.479597] ? iov_iter_advance+0x13f0/0x13f0 [ 42.484064] ? pppol2tp_sendmsg+0x41b/0x670 [ 42.488361] pppol2tp_sendmsg+0x470/0x670 [ 42.492482] ? selinux_socket_sendmsg+0x36/0x40 [ 42.497124] ? pppol2tp_getsockopt+0x900/0x900 [ 42.501679] sock_sendmsg+0xca/0x110 [ 42.505375] ___sys_sendmsg+0x767/0x8b0 [ 42.509327] ? copy_msghdr_from_user+0x590/0x590 [ 42.514061] ? __pmd_alloc+0x4e0/0x4e0 [ 42.517923] ? trace_hardirqs_off+0x10/0x10 [ 42.522231] ? find_held_lock+0x35/0x1d0 [ 42.526266] ? __fget_light+0x2b2/0x3c0 [ 42.530218] ? fget_raw+0x20/0x20 [ 42.533655] ? __do_page_fault+0x5f7/0xc90 [ 42.537859] ? lock_downgrade+0x980/0x980 [ 42.541986] __sys_sendmsg+0xe5/0x210 [ 42.545755] ? __sys_sendmsg+0xe5/0x210 [ 42.549700] ? SyS_shutdown+0x290/0x290 [ 42.553652] ? __do_page_fault+0x3d6/0xc90 [ 42.557865] ? move_addr_to_kernel+0x60/0x60 [ 42.562258] SyS_sendmsg+0x2d/0x50 [ 42.565769] ? __sys_sendmsg+0x210/0x210 [ 42.569801] do_syscall_64+0x281/0x940 [ 42.573661] ? __do_page_fault+0xc90/0xc90 [ 42.577867] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 42.582596] ? syscall_return_slowpath+0x550/0x550 [ 42.587496] ? syscall_return_slowpath+0x2ac/0x550 [ 42.592398] ? prepare_exit_to_usermode+0x350/0x350 [ 42.597397] ? retint_user+0x18/0x18 [ 42.601087] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.605906] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 42.611065] RIP: 0033:0x4418d9 [ 42.614228] RSP: 002b:00007ffc928778a8 EFLAGS: 00000217 ORIG_RAX: 000000000000002e [ 42.621914] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 00000000004418d9 [ 42.629153] RDX: 0000000000000081 RSI: 000000002037ffc8 RDI: 0000000000000004 [ 42.636399] RBP: 00000000004a343c R08: 0000000000000000 R09: 0000000000000000 [ 42.643638] R10: 0000000000000000 R11: 0000000000000217 R12: 00007ffc92877970 [ 42.650878] R13: 0000000000402660 R14: 0000000000000000 R15: 0000000000000000 [ 42.658136] [ 42.659734] Allocated by task 0: [ 42.663066] (stack is not available) [ 42.666749] [ 42.668344] Freed by task 0: [ 42.671407] (stack is not available) [ 42.675092] [ 42.676696] The buggy address belongs to the object at ffff8801b738d800 [ 42.676696] which belongs to the cache ip_dst_cache of size 168 [ 42.689410] The buggy address is located 24 bytes inside of [ 42.689410] 168-byte region [ffff8801b738d800, ffff8801b738d8a8) [ 42.701165] The buggy address belongs to the page: [ 42.706067] page:ffffea0006dce340 count:1 mapcount:0 mapping:ffff8801b738d000 index:0xffff8801b738d000 [ 42.715482] flags: 0x2fffc0000000100(slab) [ 42.719687] raw: 02fffc0000000100 ffff8801b738d000 ffff8801b738d000 0000000100000009 [ 42.727582] raw: ffff8801d5bac838 ffffea00072b8f20 ffff8801d5bad680 0000000000000000 [ 42.735431] page dumped because: kasan: bad access detected [ 42.741107] [ 42.742704] Memory state around the buggy address: [ 42.747603] ffff8801b738d700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.754949] ffff8801b738d780: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc [ 42.762285] >ffff8801b738d800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.769611] ^ [ 42.773725] ffff8801b738d880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.781051] ffff8801b738d900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.788376] ================================================================== [ 42.795703] Disabling lock debugging due to kernel taint [ 42.801156] Kernel panic - not syncing: panic_on_warn set ... [ 42.801156] [ 42.808498] CPU: 0 PID: 4242 Comm: syzkaller426748 Tainted: G B 4.16.0-rc4+ #346 [ 42.817212] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.826531] Call Trace: [ 42.829091] dump_stack+0x194/0x24d [ 42.832689] ? arch_local_irq_restore+0x53/0x53 [ 42.837326] ? kasan_end_report+0x32/0x50 [ 42.841444] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 42.846171] ? vsnprintf+0x1ed/0x1900 [ 42.849941] ? ip6_xmit+0x1f30/0x2260 [ 42.853710] panic+0x1e4/0x41c [ 42.856870] ? refcount_error_report+0x214/0x214 [ 42.861598] ? add_taint+0x1c/0x50 [ 42.865106] ? add_taint+0x1c/0x50 [ 42.868618] ? ip6_xmit+0x1f76/0x2260 [ 42.872387] kasan_end_report+0x50/0x50 [ 42.876328] kasan_report+0x149/0x360 [ 42.880103] __asan_report_load8_noabort+0x14/0x20 [ 42.885002] ip6_xmit+0x1f76/0x2260 [ 42.888605] ? ip6_finish_output2+0x23a0/0x23a0 [ 42.893249] ? fl6_update_dst+0x127/0x2b0 [ 42.897365] ? inet6_csk_route_socket+0x691/0xe80 [ 42.902179] ? trace_hardirqs_off+0x10/0x10 [ 42.906475] ? lock_acquire+0x1d5/0x580 [ 42.910416] ? lock_acquire+0x1d5/0x580 [ 42.914357] ? inet6_csk_xmit+0x114/0x580 [ 42.918474] ? trace_hardirqs_off+0x10/0x10 [ 42.922766] ? lock_release+0xa40/0xa40 [ 42.926716] inet6_csk_xmit+0x2fc/0x580 [ 42.930659] ? inet6_csk_update_pmtu+0x160/0x160 [ 42.935382] ? __sk_dst_check+0x1a5/0x380 [ 42.939497] ? sock_kfree_s+0x60/0x60 [ 42.943282] l2tp_xmit_skb+0x105f/0x1410 [ 42.947316] ? l2tp_session_create+0xb80/0xb80 [ 42.951865] ? sock_wmalloc+0x15d/0x1d0 [ 42.955809] ? iov_iter_advance+0x13f0/0x13f0 [ 42.960271] ? pppol2tp_sendmsg+0x41b/0x670 [ 42.964560] pppol2tp_sendmsg+0x470/0x670 [ 42.968680] ? selinux_socket_sendmsg+0x36/0x40 [ 42.973317] ? pppol2tp_getsockopt+0x900/0x900 [ 42.977866] sock_sendmsg+0xca/0x110 [ 42.981549] ___sys_sendmsg+0x767/0x8b0 [ 42.985494] ? copy_msghdr_from_user+0x590/0x590 [ 42.990221] ? __pmd_alloc+0x4e0/0x4e0 [ 42.994077] ? trace_hardirqs_off+0x10/0x10 [ 42.998367] ? find_held_lock+0x35/0x1d0 [ 43.002400] ? __fget_light+0x2b2/0x3c0 [ 43.006341] ? fget_raw+0x20/0x20 [ 43.009773] ? __do_page_fault+0x5f7/0xc90 [ 43.013976] ? lock_downgrade+0x980/0x980 [ 43.018099] __sys_sendmsg+0xe5/0x210 [ 43.021869] ? __sys_sendmsg+0xe5/0x210 [ 43.025814] ? SyS_shutdown+0x290/0x290 [ 43.029760] ? __do_page_fault+0x3d6/0xc90 [ 43.033968] ? move_addr_to_kernel+0x60/0x60 [ 43.038348] SyS_sendmsg+0x2d/0x50 [ 43.041855] ? __sys_sendmsg+0x210/0x210 [ 43.045885] do_syscall_64+0x281/0x940 [ 43.049738] ? __do_page_fault+0xc90/0xc90 [ 43.053940] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 43.058665] ? syscall_return_slowpath+0x550/0x550 [ 43.063562] ? syscall_return_slowpath+0x2ac/0x550 [ 43.068461] ? prepare_exit_to_usermode+0x350/0x350 [ 43.073450] ? retint_user+0x18/0x18 [ 43.077134] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.081948] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 43.087107] RIP: 0033:0x4418d9 [ 43.090266] RSP: 002b:00007ffc928778a8 EFLAGS: 00000217 ORIG_RAX: 000000000000002e [ 43.097941] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 00000000004418d9 [ 43.105180] RDX: 0000000000000081 RSI: 000000002037ffc8 RDI: 0000000000000004 [ 43.112420] RBP: 00000000004a343c R08: 0000000000000000 R09: 0000000000000000 [ 43.119656] R10: 0000000000000000 R11: 0000000000000217 R12: 00007ffc92877970 [ 43.126904] R13: 0000000000402660 R14: 0000000000000000 R15: 0000000000000000 [ 43.134530] Dumping ftrace buffer: [ 43.138035] (ftrace buffer empty) [ 43.141712] Kernel Offset: disabled [ 43.145311] Rebooting in 86400 seconds..