[....] Starting enhanced syslogd: rsyslogd[ 12.993554] audit: type=1400 audit(1516632457.776:5): avc: denied { syslog } for pid=3501 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.138774] audit: type=1400 audit(1516632462.921:6): avc: denied { map } for pid=3641 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.37' (ECDSA) to the list of known hosts. [ 25.130315] audit: type=1400 audit(1516632469.913:7): avc: denied { map } for pid=3655 comm="syzkaller122068" path="/root/syzkaller122068895" 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 net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 RTNETLINK answers: Operation not supported RTNETLINK answers: No buffer space available RTNETLINK answers: Operation not supported [ 25.506749] 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 executing program [ 25.835810] ================================================================== [ 25.843229] BUG: KASAN: use-after-free in erspan_build_header+0x3bf/0x3d0 [ 25.850126] Read of size 2 at addr ffff8801d82c02cb by task syzkaller122068/3656 [ 25.857627] [ 25.859230] CPU: 0 PID: 3656 Comm: syzkaller122068 Not tainted 4.15.0-rc9+ #184 [ 25.866641] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.875965] Call Trace: [ 25.878528] dump_stack+0x194/0x257 [ 25.882129] ? arch_local_irq_restore+0x53/0x53 [ 25.886769] ? show_regs_print_info+0x18/0x18 [ 25.891240] ? refcount_add+0x24/0x60 [ 25.895022] ? erspan_build_header+0x3bf/0x3d0 [ 25.899583] print_address_description+0x73/0x250 [ 25.904395] ? erspan_build_header+0x3bf/0x3d0 [ 25.908950] kasan_report+0x25b/0x340 [ 25.912729] __asan_report_load_n_noabort+0xf/0x20 [ 25.917628] erspan_build_header+0x3bf/0x3d0 [ 25.922024] erspan_xmit+0x3b8/0x13b0 [ 25.925803] ? prepare_fb_xmit+0x9a0/0x9a0 [ 25.930034] ? netif_skb_features+0x9b0/0x9b0 [ 25.934502] ? __dev_get_by_index+0x1a0/0x1a0 [ 25.938971] ? check_noncircular+0x20/0x20 [ 25.943189] packet_direct_xmit+0x315/0x6b0 [ 25.947486] packet_sendmsg+0x3aed/0x60b0 [ 25.951609] ? find_held_lock+0x35/0x1d0 [ 25.955648] ? avc_has_perm+0x35e/0x680 [ 25.959615] ? packet_cached_dev_get+0x2b0/0x2b0 [ 25.964350] ? avc_has_perm+0x43e/0x680 [ 25.968308] ? avc_has_perm_noaudit+0x520/0x520 [ 25.972948] ? packet_setsockopt+0xfa5/0x1ea0 [ 25.977426] ? fanout_add+0x1430/0x1430 [ 25.981373] ? find_held_lock+0x35/0x1d0 [ 25.985419] ? find_held_lock+0x35/0x1d0 [ 25.989462] ? sock_has_perm+0x2a4/0x420 [ 25.993498] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 25.998835] ? lock_release+0x952/0xa40 [ 26.002787] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 26.008644] ? __check_object_size+0x25d/0x4f0 [ 26.013198] ? avc_has_perm+0x43e/0x680 [ 26.017157] ? selinux_socket_sendmsg+0x36/0x40 [ 26.021795] ? security_socket_sendmsg+0x89/0xb0 [ 26.026531] ? packet_cached_dev_get+0x2b0/0x2b0 [ 26.031260] sock_sendmsg+0xca/0x110 [ 26.034952] SYSC_sendto+0x361/0x5c0 [ 26.038645] ? SYSC_connect+0x4a0/0x4a0 [ 26.042597] ? sock_has_perm+0x2a4/0x420 [ 26.046635] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 26.051977] ? selinux_netlbl_sock_rcv_skb+0x730/0x730 [ 26.057233] ? lock_downgrade+0x980/0x980 [ 26.061378] ? compat_packet_setsockopt+0xe8/0x140 [ 26.066287] ? fput+0xd2/0x140 [ 26.069457] ? compat_SyS_setsockopt+0x200/0x410 [ 26.074185] ? packet_setsockopt+0x1ea0/0x1ea0 [ 26.078745] ? scm_detach_fds_compat+0x3c0/0x3c0 [ 26.083475] SyS_sendto+0x40/0x50 [ 26.086902] ? SyS_getpeername+0x30/0x30 [ 26.090936] do_fast_syscall_32+0x3ee/0xf9d [ 26.095238] ? do_int80_syscall_32+0x9d0/0x9d0 [ 26.099789] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.104524] ? syscall_return_slowpath+0x2ad/0x550 [ 26.109424] ? prepare_exit_to_usermode+0x340/0x340 [ 26.114416] ? sysret32_from_system_call+0x5/0x3b [ 26.119237] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.124061] entry_SYSENTER_compat+0x54/0x63 [ 26.128438] RIP: 0023:0xf7f6fc79 [ 26.131771] RSP: 002b:00000000ffc3bb3c EFLAGS: 00000282 ORIG_RAX: 0000000000000171 [ 26.139852] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020003fd9 [ 26.147097] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020008000 [ 26.154339] RBP: 000000000000001c R08: 0000000000000000 R09: 0000000000000000 [ 26.161579] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 26.168818] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 26.176076] [ 26.177674] The buggy address belongs to the page: [ 26.182574] page:ffffea000760b000 count:0 mapcount:-127 mapping: (null) index:0xffff8801d82c08c0 [ 26.192249] flags: 0x2fffc0000000000() [ 26.196122] raw: 02fffc0000000000 0000000000000000 ffff8801d82c08c0 00000000ffffff80 [ 26.203981] raw: ffffea0007601020 ffffea000760ae20 0000000000000001 0000000000000000 [ 26.211829] page dumped because: kasan: bad access detected [ 26.217511] [ 26.219108] Memory state around the buggy address: [ 26.224010] ffff8801d82c0180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 26.231346] ffff8801d82c0200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 26.238673] >ffff8801d82c0280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 26.246001] ^ [ 26.251688] ffff8801d82c0300: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 26.259024] ffff8801d82c0380: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 26.266352] ================================================================== [ 26.273679] Disabling lock debugging due to kernel taint [ 26.279160] Kernel panic - not syncing: panic_on_warn set ... [ 26.279160] [ 26.286500] CPU: 0 PID: 3656 Comm: syzkaller122068 Tainted: G B 4.15.0-rc9+ #184 [ 26.295217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.304542] Call Trace: [ 26.307113] dump_stack+0x194/0x257 [ 26.310714] ? arch_local_irq_restore+0x53/0x53 [ 26.315355] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.320082] ? vsnprintf+0x1ed/0x1900 [ 26.323853] ? erspan_build_header+0x360/0x3d0 [ 26.328407] panic+0x1e4/0x41c [ 26.331571] ? refcount_error_report+0x214/0x214 [ 26.336299] ? add_taint+0x1c/0x50 [ 26.339815] ? add_taint+0x1c/0x50 [ 26.343331] ? erspan_build_header+0x3bf/0x3d0 [ 26.347884] kasan_end_report+0x50/0x50 [ 26.351836] kasan_report+0x144/0x340 [ 26.355607] __asan_report_load_n_noabort+0xf/0x20 [ 26.360503] erspan_build_header+0x3bf/0x3d0 [ 26.364881] erspan_xmit+0x3b8/0x13b0 [ 26.368653] ? prepare_fb_xmit+0x9a0/0x9a0 [ 26.372859] ? netif_skb_features+0x9b0/0x9b0 [ 26.377323] ? __dev_get_by_index+0x1a0/0x1a0 [ 26.381789] ? check_noncircular+0x20/0x20 [ 26.385997] packet_direct_xmit+0x315/0x6b0 [ 26.390296] packet_sendmsg+0x3aed/0x60b0 [ 26.394414] ? find_held_lock+0x35/0x1d0 [ 26.398447] ? avc_has_perm+0x35e/0x680 [ 26.402397] ? packet_cached_dev_get+0x2b0/0x2b0 [ 26.407130] ? avc_has_perm+0x43e/0x680 [ 26.411076] ? avc_has_perm_noaudit+0x520/0x520 [ 26.415713] ? packet_setsockopt+0xfa5/0x1ea0 [ 26.420178] ? fanout_add+0x1430/0x1430 [ 26.424122] ? find_held_lock+0x35/0x1d0 [ 26.428157] ? find_held_lock+0x35/0x1d0 [ 26.432196] ? sock_has_perm+0x2a4/0x420 [ 26.436225] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 26.441557] ? lock_release+0x952/0xa40 [ 26.445503] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 26.451358] ? __check_object_size+0x25d/0x4f0 [ 26.455908] ? avc_has_perm+0x43e/0x680 [ 26.459859] ? selinux_socket_sendmsg+0x36/0x40 [ 26.464499] ? security_socket_sendmsg+0x89/0xb0 [ 26.469227] ? packet_cached_dev_get+0x2b0/0x2b0 [ 26.473955] sock_sendmsg+0xca/0x110 [ 26.477642] SYSC_sendto+0x361/0x5c0 [ 26.481329] ? SYSC_connect+0x4a0/0x4a0 [ 26.485277] ? sock_has_perm+0x2a4/0x420 [ 26.489307] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 26.494643] ? selinux_netlbl_sock_rcv_skb+0x730/0x730 [ 26.499889] ? lock_downgrade+0x980/0x980 [ 26.504025] ? compat_packet_setsockopt+0xe8/0x140 [ 26.508928] ? fput+0xd2/0x140 [ 26.512097] ? compat_SyS_setsockopt+0x200/0x410 [ 26.516826] ? packet_setsockopt+0x1ea0/0x1ea0 [ 26.521381] ? scm_detach_fds_compat+0x3c0/0x3c0 [ 26.526109] SyS_sendto+0x40/0x50 [ 26.529533] ? SyS_getpeername+0x30/0x30 [ 26.533564] do_fast_syscall_32+0x3ee/0xf9d [ 26.537858] ? do_int80_syscall_32+0x9d0/0x9d0 [ 26.542410] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.547137] ? syscall_return_slowpath+0x2ad/0x550 [ 26.552043] ? prepare_exit_to_usermode+0x340/0x340 [ 26.557036] ? sysret32_from_system_call+0x5/0x3b [ 26.561851] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.566665] entry_SYSENTER_compat+0x54/0x63 [ 26.571042] RIP: 0023:0xf7f6fc79 [ 26.574376] RSP: 002b:00000000ffc3bb3c EFLAGS: 00000282 ORIG_RAX: 0000000000000171 [ 26.582051] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020003fd9 [ 26.589292] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020008000 [ 26.596534] RBP: 000000000000001c R08: 0000000000000000 R09: 0000000000000000 [ 26.603781] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 26.611023] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 26.618724] Dumping ftrace buffer: [ 26.622236] (ftrace buffer empty) [ 26.625916] Kernel Offset: disabled [ 26.629515] Rebooting in 86400 seconds..