[....] Starting enhanced syslogd: rsyslogd[ 15.256280] audit: type=1400 audit(1520760448.542:5): avc: denied { syslog } for pid=3881 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: [ 18.440617] audit: type=1400 audit(1520760451.726:6): avc: denied { map } for pid=4018 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.10.2' (ECDSA) to the list of known hosts. net.ipv6.conf.syz_tun.accept_dad = 0 net.ipv6.conf.syz_tun.router_solicitations = 0 [ 24.789131] audit: type=1400 audit(1520760458.074:7): avc: denied { map } for pid=4032 comm="syzkaller308484" path="/root/syzkaller308484954" 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 RTNETLINK answers: File exists 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 [ 25.410618] 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 [ 25.763303] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 25.769410] 8021q: adding VLAN 0 to HW filter on device bond0 executing program [ 25.808366] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 25.845868] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 25.858226] ================================================================== [ 25.865639] BUG: KASAN: use-after-free in ip6_xmit+0x1f76/0x2260 [ 25.871757] Read of size 8 at addr ffff8801c779c018 by task syzkaller308484/4032 [ 25.879259] [ 25.880863] CPU: 0 PID: 4032 Comm: syzkaller308484 Not tainted 4.16.0-rc4+ #349 [ 25.888283] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.897615] Call Trace: [ 25.900178] dump_stack+0x194/0x24d [ 25.903780] ? arch_local_irq_restore+0x53/0x53 [ 25.908426] ? show_regs_print_info+0x18/0x18 [ 25.912900] ? ip6_xmit+0x1f76/0x2260 [ 25.916674] print_address_description+0x73/0x250 [ 25.921490] ? ip6_xmit+0x1f76/0x2260 [ 25.925264] kasan_report+0x23c/0x360 [ 25.929043] __asan_report_load8_noabort+0x14/0x20 [ 25.933944] ip6_xmit+0x1f76/0x2260 [ 25.937555] ? ip6_finish_output2+0x23a0/0x23a0 [ 25.942200] ? fl6_update_dst+0x127/0x2b0 [ 25.946329] ? inet6_csk_route_socket+0x691/0xe80 [ 25.951147] ? trace_hardirqs_off+0x10/0x10 [ 25.955439] ? lock_acquire+0x1d5/0x580 [ 25.959384] ? lock_acquire+0x1d5/0x580 [ 25.963331] ? inet6_csk_xmit+0x114/0x580 [ 25.967453] ? trace_hardirqs_off+0x10/0x10 [ 25.971749] ? lock_release+0xa40/0xa40 [ 25.975711] inet6_csk_xmit+0x2fc/0x580 [ 25.979659] ? inet6_csk_update_pmtu+0x160/0x160 [ 25.984390] ? __sk_dst_check+0x1a5/0x380 [ 25.988511] ? sock_kfree_s+0x60/0x60 [ 25.992299] l2tp_xmit_skb+0x105f/0x1410 [ 25.996351] ? l2tp_session_create+0xb80/0xb80 [ 26.000905] ? sock_wmalloc+0x15d/0x1d0 [ 26.004852] ? iov_iter_advance+0x13f0/0x13f0 [ 26.009330] ? pppol2tp_sendmsg+0x41b/0x670 [ 26.013627] pppol2tp_sendmsg+0x470/0x670 [ 26.017749] ? selinux_socket_sendmsg+0x36/0x40 [ 26.022390] ? pppol2tp_getsockopt+0x900/0x900 [ 26.026945] sock_sendmsg+0xca/0x110 [ 26.030632] SYSC_sendto+0x361/0x5c0 [ 26.034323] ? SYSC_connect+0x4a0/0x4a0 [ 26.038279] ? inet_dgram_connect+0x172/0x1f0 [ 26.042746] ? SYSC_connect+0x2e0/0x4a0 [ 26.046717] ? mm_fault_error+0x2c0/0x2c0 [ 26.050837] ? move_addr_to_kernel+0x60/0x60 [ 26.055232] SyS_sendto+0x40/0x50 [ 26.058656] ? SyS_getpeername+0x30/0x30 [ 26.062694] do_syscall_64+0x281/0x940 [ 26.066554] ? __do_page_fault+0xc90/0xc90 [ 26.070763] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.075504] ? syscall_return_slowpath+0x550/0x550 [ 26.080413] ? syscall_return_slowpath+0x2ac/0x550 [ 26.085317] ? prepare_exit_to_usermode+0x350/0x350 [ 26.090307] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 26.095653] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.100476] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 26.105636] RIP: 0033:0x442469 [ 26.108797] RSP: 002b:00007fff23c8ab28 EFLAGS: 00000212 ORIG_RAX: 000000000000002c [ 26.116476] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 0000000000442469 [ 26.123716] RDX: 0000000000000000 RSI: 0000000020001180 RDI: 0000000000000004 [ 26.130958] RBP: 00000000004a422d R08: 00000000200021c0 R09: 0000000000000080 [ 26.138288] R10: 0000000000040001 R11: 0000000000000212 R12: 00007fff23c8ac00 [ 26.145529] R13: 0000000000403490 R14: 0000000000000000 R15: 0000000000000000 [ 26.152795] [ 26.154391] The buggy address belongs to the page: [ 26.159290] page:ffffea00071de700 count:0 mapcount:-127 mapping:0000000000000000 index:0xffff8801c779cd40 [ 26.168964] flags: 0x2fffc0000000000() [ 26.172823] raw: 02fffc0000000000 0000000000000000 ffff8801c779cd40 00000000ffffff80 [ 26.180684] raw: ffffea00071da120 ffffea00071ca220 0000000000000002 0000000000000000 [ 26.188543] page dumped because: kasan: bad access detected [ 26.194223] [ 26.195818] Memory state around the buggy address: [ 26.200719] ffff8801c779bf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.208056] ffff8801c779bf80: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc [ 26.215389] >ffff8801c779c000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 26.222716] ^ [ 26.226836] ffff8801c779c080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 26.234166] ffff8801c779c100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 26.241491] ================================================================== [ 26.248817] Disabling lock debugging due to kernel taint [ 26.254263] Kernel panic - not syncing: panic_on_warn set ... [ 26.254263] [ 26.261606] CPU: 0 PID: 4032 Comm: syzkaller308484 Tainted: G B 4.16.0-rc4+ #349 [ 26.270330] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.279653] Call Trace: [ 26.282216] dump_stack+0x194/0x24d [ 26.285814] ? arch_local_irq_restore+0x53/0x53 [ 26.290451] ? kasan_end_report+0x32/0x50 [ 26.294580] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.299306] ? vsnprintf+0x1ed/0x1900 [ 26.303078] ? ip6_xmit+0x1f30/0x2260 [ 26.306850] panic+0x1e4/0x41c [ 26.310017] ? refcount_error_report+0x214/0x214 [ 26.314747] ? add_taint+0x1c/0x50 [ 26.318255] ? add_taint+0x1c/0x50 [ 26.321767] ? ip6_xmit+0x1f76/0x2260 [ 26.325538] kasan_end_report+0x50/0x50 [ 26.329482] kasan_report+0x149/0x360 [ 26.333258] __asan_report_load8_noabort+0x14/0x20 [ 26.338163] ip6_xmit+0x1f76/0x2260 [ 26.341767] ? ip6_finish_output2+0x23a0/0x23a0 [ 26.346410] ? fl6_update_dst+0x127/0x2b0 [ 26.350529] ? inet6_csk_route_socket+0x691/0xe80 [ 26.355347] ? trace_hardirqs_off+0x10/0x10 [ 26.359647] ? lock_acquire+0x1d5/0x580 [ 26.363591] ? lock_acquire+0x1d5/0x580 [ 26.367534] ? inet6_csk_xmit+0x114/0x580 [ 26.371655] ? trace_hardirqs_off+0x10/0x10 [ 26.375950] ? lock_release+0xa40/0xa40 [ 26.379906] inet6_csk_xmit+0x2fc/0x580 [ 26.383852] ? inet6_csk_update_pmtu+0x160/0x160 [ 26.388579] ? __sk_dst_check+0x1a5/0x380 [ 26.392701] ? sock_kfree_s+0x60/0x60 [ 26.396482] l2tp_xmit_skb+0x105f/0x1410 [ 26.400523] ? l2tp_session_create+0xb80/0xb80 [ 26.405077] ? sock_wmalloc+0x15d/0x1d0 [ 26.409030] ? iov_iter_advance+0x13f0/0x13f0 [ 26.413498] ? pppol2tp_sendmsg+0x41b/0x670 [ 26.417793] pppol2tp_sendmsg+0x470/0x670 [ 26.421927] ? selinux_socket_sendmsg+0x36/0x40 [ 26.426570] ? pppol2tp_getsockopt+0x900/0x900 [ 26.431134] sock_sendmsg+0xca/0x110 [ 26.434821] SYSC_sendto+0x361/0x5c0 [ 26.438521] ? SYSC_connect+0x4a0/0x4a0 [ 26.442471] ? inet_dgram_connect+0x172/0x1f0 [ 26.446940] ? SYSC_connect+0x2e0/0x4a0 [ 26.450907] ? mm_fault_error+0x2c0/0x2c0 [ 26.455031] ? move_addr_to_kernel+0x60/0x60 [ 26.459420] SyS_sendto+0x40/0x50 [ 26.462849] ? SyS_getpeername+0x30/0x30 [ 26.466904] do_syscall_64+0x281/0x940 [ 26.470768] ? __do_page_fault+0xc90/0xc90 [ 26.474975] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.479701] ? syscall_return_slowpath+0x550/0x550 [ 26.484601] ? syscall_return_slowpath+0x2ac/0x550 [ 26.489507] ? prepare_exit_to_usermode+0x350/0x350 [ 26.494496] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 26.499829] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.504645] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 26.509805] RIP: 0033:0x442469 [ 26.512963] RSP: 002b:00007fff23c8ab28 EFLAGS: 00000212 ORIG_RAX: 000000000000002c [ 26.520650] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 0000000000442469 [ 26.527907] RDX: 0000000000000000 RSI: 0000000020001180 RDI: 0000000000000004 [ 26.535155] RBP: 00000000004a422d R08: 00000000200021c0 R09: 0000000000000080 [ 26.542398] R10: 0000000000040001 R11: 0000000000000212 R12: 00007fff23c8ac00 [ 26.549649] R13: 0000000000403490 R14: 0000000000000000 R15: 0000000000000000 [ 26.557378] Dumping ftrace buffer: [ 26.560908] (ftrace buffer empty) [ 26.564590] Kernel Offset: disabled [ 26.568194] Rebooting in 86400 seconds..