[....] Starting enhanced syslogd: rsyslogd[ 13.137514] audit: type=1400 audit(1516680073.473:5): avc: denied { syslog } for pid=3497 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: [ 20.031402] audit: type=1400 audit(1516680080.367:6): avc: denied { map } for pid=3639 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.52' (ECDSA) to the list of known hosts. [ 26.282765] audit: type=1400 audit(1516680086.618:7): avc: denied { map } for pid=3653 comm="syzkaller377964" path="/root/syzkaller377964546" 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 [ 26.665487] 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 [ 27.012105] ================================================================== [ 27.019512] BUG: KASAN: slab-out-of-bounds in erspan_build_header+0x3bf/0x3d0 [ 27.026757] Read of size 2 at addr ffff8801d9b9804b by task syzkaller377964/3654 [ 27.034264] [ 27.035966] CPU: 0 PID: 3654 Comm: syzkaller377964 Not tainted 4.15.0-rc9+ #185 [ 27.043381] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.052705] Call Trace: [ 27.055266] dump_stack+0x194/0x257 [ 27.058867] ? arch_local_irq_restore+0x53/0x53 [ 27.063508] ? show_regs_print_info+0x18/0x18 [ 27.067978] ? refcount_add+0x24/0x60 [ 27.071754] ? erspan_build_header+0x3bf/0x3d0 [ 27.076311] print_address_description+0x73/0x250 [ 27.081129] ? erspan_build_header+0x3bf/0x3d0 [ 27.085684] kasan_report+0x25b/0x340 [ 27.089461] __asan_report_load_n_noabort+0xf/0x20 [ 27.094360] erspan_build_header+0x3bf/0x3d0 [ 27.098746] erspan_xmit+0x3b8/0x13b0 [ 27.102521] ? prepare_fb_xmit+0x9a0/0x9a0 [ 27.106738] ? netif_skb_features+0x9b0/0x9b0 [ 27.111206] ? __dev_get_by_index+0x1a0/0x1a0 [ 27.115673] ? check_noncircular+0x20/0x20 [ 27.119892] packet_direct_xmit+0x315/0x6b0 [ 27.124190] packet_sendmsg+0x3aed/0x60b0 [ 27.128315] ? find_held_lock+0x35/0x1d0 [ 27.132355] ? avc_has_perm+0x35e/0x680 [ 27.136318] ? packet_cached_dev_get+0x2b0/0x2b0 [ 27.141051] ? avc_has_perm+0x43e/0x680 [ 27.145006] ? avc_has_perm_noaudit+0x520/0x520 [ 27.149661] ? packet_setsockopt+0xfa5/0x1ea0 [ 27.154134] ? fanout_add+0x1430/0x1430 [ 27.158086] ? find_held_lock+0x35/0x1d0 [ 27.162149] ? find_held_lock+0x35/0x1d0 [ 27.166193] ? sock_has_perm+0x2a4/0x420 [ 27.170231] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 27.175566] ? lock_release+0x952/0xa40 [ 27.179526] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 27.185397] ? __check_object_size+0x25d/0x4f0 [ 27.189950] ? avc_has_perm+0x43e/0x680 [ 27.193909] ? selinux_socket_sendmsg+0x36/0x40 [ 27.198557] ? security_socket_sendmsg+0x89/0xb0 [ 27.203288] ? packet_cached_dev_get+0x2b0/0x2b0 [ 27.208023] sock_sendmsg+0xca/0x110 [ 27.211714] SYSC_sendto+0x361/0x5c0 [ 27.215401] ? SYSC_connect+0x4a0/0x4a0 [ 27.219358] ? sock_has_perm+0x2a4/0x420 [ 27.223392] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 27.228732] ? selinux_netlbl_sock_rcv_skb+0x730/0x730 [ 27.233978] ? lock_downgrade+0x980/0x980 [ 27.238114] ? compat_packet_setsockopt+0xe8/0x140 [ 27.243030] ? fput+0xd2/0x140 [ 27.246200] ? compat_SyS_setsockopt+0x200/0x410 [ 27.250926] ? packet_setsockopt+0x1ea0/0x1ea0 [ 27.255484] ? scm_detach_fds_compat+0x3c0/0x3c0 [ 27.260215] SyS_sendto+0x40/0x50 [ 27.263639] ? SyS_getpeername+0x30/0x30 [ 27.267675] do_fast_syscall_32+0x3ee/0xf9d [ 27.271973] ? do_int80_syscall_32+0x9d0/0x9d0 [ 27.276527] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.281259] ? syscall_return_slowpath+0x2ad/0x550 [ 27.286161] ? prepare_exit_to_usermode+0x340/0x340 [ 27.291152] ? sysret32_from_system_call+0x5/0x3b [ 27.295972] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.300802] entry_SYSENTER_compat+0x54/0x63 [ 27.305183] RIP: 0023:0xf7fcfc79 [ 27.308519] RSP: 002b:00000000ffc6976c EFLAGS: 00000286 ORIG_RAX: 0000000000000171 [ 27.316197] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020011000 [ 27.323448] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020008000 [ 27.330697] RBP: 000000000000001c R08: 0000000000000000 R09: 0000000000000000 [ 27.337940] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 27.345189] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 27.352446] [ 27.354047] Allocated by task 2203: [ 27.357648] save_stack+0x43/0xd0 [ 27.361072] kasan_kmalloc+0xad/0xe0 [ 27.364756] kasan_slab_alloc+0x12/0x20 [ 27.368709] kmem_cache_alloc+0x12e/0x760 [ 27.372841] copy_signal+0xfe/0xa11 [ 27.376438] copy_process.part.38+0x1ed2/0x4b20 [ 27.381076] _do_fork+0x1f7/0xfe0 [ 27.384507] SyS_clone+0x37/0x50 [ 27.387847] do_syscall_64+0x273/0x920 [ 27.391708] return_from_SYSCALL_64+0x0/0x75 [ 27.396083] [ 27.397679] Freed by task 0: [ 27.400669] save_stack+0x43/0xd0 [ 27.404092] kasan_slab_free+0x71/0xc0 [ 27.407951] kmem_cache_free+0x83/0x2a0 [ 27.411902] __put_task_struct+0x33f/0x580 [ 27.416113] delayed_put_task_struct+0xca/0x3d0 [ 27.420752] rcu_process_callbacks+0xd6c/0x17f0 [ 27.425399] __do_softirq+0x2d7/0xb85 [ 27.429172] [ 27.430771] The buggy address belongs to the object at ffff8801d9b980c0 [ 27.430771] which belongs to the cache signal_cache of size 1296 [ 27.443572] The buggy address is located 117 bytes to the left of [ 27.443572] 1296-byte region [ffff8801d9b980c0, ffff8801d9b985d0) [ 27.455935] The buggy address belongs to the page: [ 27.460836] page:ffffea000766e600 count:1 mapcount:0 mapping:ffff8801d9b980c0 index:0x0 compound_mapcount: 0 [ 27.470774] flags: 0x2fffc0000008100(slab|head) [ 27.475416] raw: 02fffc0000008100 ffff8801d9b980c0 0000000000000000 0000000100000005 [ 27.483276] raw: ffffea000766c420 ffffea000766da20 ffff8801dae27e40 0000000000000000 [ 27.491126] page dumped because: kasan: bad access detected [ 27.496822] [ 27.498422] Memory state around the buggy address: [ 27.503322] ffff8801d9b97f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.510652] ffff8801d9b97f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.517984] >ffff8801d9b98000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.525313] ^ [ 27.531002] ffff8801d9b98080: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 27.538340] ffff8801d9b98100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 27.545666] ================================================================== [ 27.552993] Disabling lock debugging due to kernel taint [ 27.558459] Kernel panic - not syncing: panic_on_warn set ... [ 27.558459] [ 27.565817] CPU: 0 PID: 3654 Comm: syzkaller377964 Tainted: G B 4.15.0-rc9+ #185 [ 27.574565] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.583892] Call Trace: [ 27.586453] dump_stack+0x194/0x257 [ 27.590055] ? arch_local_irq_restore+0x53/0x53 [ 27.594705] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.599432] ? vsnprintf+0x1ed/0x1900 [ 27.603203] ? erspan_build_header+0x360/0x3d0 [ 27.607763] panic+0x1e4/0x41c [ 27.610933] ? refcount_error_report+0x214/0x214 [ 27.615660] ? add_taint+0x1c/0x50 [ 27.619168] ? add_taint+0x1c/0x50 [ 27.622698] ? erspan_build_header+0x3bf/0x3d0 [ 27.627252] kasan_end_report+0x50/0x50 [ 27.631197] kasan_report+0x144/0x340 [ 27.634981] __asan_report_load_n_noabort+0xf/0x20 [ 27.639880] erspan_build_header+0x3bf/0x3d0 [ 27.644263] erspan_xmit+0x3b8/0x13b0 [ 27.648038] ? prepare_fb_xmit+0x9a0/0x9a0 [ 27.652253] ? netif_skb_features+0x9b0/0x9b0 [ 27.656726] ? __dev_get_by_index+0x1a0/0x1a0 [ 27.661193] ? check_noncircular+0x20/0x20 [ 27.665403] packet_direct_xmit+0x315/0x6b0 [ 27.669707] packet_sendmsg+0x3aed/0x60b0 [ 27.673827] ? find_held_lock+0x35/0x1d0 [ 27.677861] ? avc_has_perm+0x35e/0x680 [ 27.681818] ? packet_cached_dev_get+0x2b0/0x2b0 [ 27.686547] ? avc_has_perm+0x43e/0x680 [ 27.690494] ? avc_has_perm_noaudit+0x520/0x520 [ 27.695141] ? packet_setsockopt+0xfa5/0x1ea0 [ 27.699608] ? fanout_add+0x1430/0x1430 [ 27.703552] ? find_held_lock+0x35/0x1d0 [ 27.707590] ? find_held_lock+0x35/0x1d0 [ 27.711626] ? sock_has_perm+0x2a4/0x420 [ 27.715660] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 27.720991] ? lock_release+0x952/0xa40 [ 27.724941] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 27.730810] ? __check_object_size+0x25d/0x4f0 [ 27.735362] ? avc_has_perm+0x43e/0x680 [ 27.739311] ? selinux_socket_sendmsg+0x36/0x40 [ 27.743956] ? security_socket_sendmsg+0x89/0xb0 [ 27.748680] ? packet_cached_dev_get+0x2b0/0x2b0 [ 27.753408] sock_sendmsg+0xca/0x110 [ 27.757101] SYSC_sendto+0x361/0x5c0 [ 27.760802] ? SYSC_connect+0x4a0/0x4a0 [ 27.764756] ? sock_has_perm+0x2a4/0x420 [ 27.768788] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 27.774127] ? selinux_netlbl_sock_rcv_skb+0x730/0x730 [ 27.779382] ? lock_downgrade+0x980/0x980 [ 27.783507] ? compat_packet_setsockopt+0xe8/0x140 [ 27.788408] ? fput+0xd2/0x140 [ 27.791575] ? compat_SyS_setsockopt+0x200/0x410 [ 27.796301] ? packet_setsockopt+0x1ea0/0x1ea0 [ 27.800864] ? scm_detach_fds_compat+0x3c0/0x3c0 [ 27.805601] SyS_sendto+0x40/0x50 [ 27.809029] ? SyS_getpeername+0x30/0x30 [ 27.813065] do_fast_syscall_32+0x3ee/0xf9d [ 27.817359] ? do_int80_syscall_32+0x9d0/0x9d0 [ 27.821921] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.826649] ? syscall_return_slowpath+0x2ad/0x550 [ 27.831550] ? prepare_exit_to_usermode+0x340/0x340 [ 27.836540] ? sysret32_from_system_call+0x5/0x3b [ 27.841355] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.846178] entry_SYSENTER_compat+0x54/0x63 [ 27.850556] RIP: 0023:0xf7fcfc79 [ 27.853889] RSP: 002b:00000000ffc6976c EFLAGS: 00000286 ORIG_RAX: 0000000000000171 [ 27.861566] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020011000 [ 27.868805] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020008000 [ 27.876057] RBP: 000000000000001c R08: 0000000000000000 R09: 0000000000000000 [ 27.883306] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 27.890547] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 27.898239] Dumping ftrace buffer: [ 27.901758] (ftrace buffer empty) [ 27.905438] Kernel Offset: disabled [ 27.909035] Rebooting in 86400 seconds..