[....] Starting enhanced syslogd: rsyslogd[ 11.016858] audit: type=1400 audit(1514272173.979:5): avc: denied { syslog } for pid=2988 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 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. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 16.013007] audit: type=1400 audit(1514272178.975:6): avc: denied { map } for pid=3129 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 'ci-upstream-kasan-gce-3,10.128.0.41' (ECDSA) to the list of known hosts. executing program [ 22.223331] audit: type=1400 audit(1514272185.186:7): avc: denied { map } for pid=3143 comm="syzkaller688935" path="/root/syzkaller688935687" 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 [ 22.250626] ================================================================== [ 22.258004] BUG: KASAN: stack-out-of-bounds in rds_sendmsg+0x1f02/0x1f90 [ 22.264816] Read of size 8 at addr ffff8801d04efb70 by task syzkaller688935/3143 [ 22.272315] [ 22.273914] CPU: 1 PID: 3143 Comm: syzkaller688935 Not tainted 4.15.0-rc5+ #237 [ 22.281325] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.290649] Call Trace: [ 22.293215] dump_stack+0x194/0x257 [ 22.296811] ? arch_local_irq_restore+0x53/0x53 [ 22.301452] ? show_regs_print_info+0x18/0x18 [ 22.305921] ? _raw_spin_unlock_bh+0x30/0x40 [ 22.310299] ? rds_sendmsg+0x1f02/0x1f90 [ 22.314341] print_address_description+0x73/0x250 [ 22.319155] ? rds_sendmsg+0x1f02/0x1f90 [ 22.323202] kasan_report+0x25b/0x340 [ 22.326988] __asan_report_load8_noabort+0x14/0x20 [ 22.331892] rds_sendmsg+0x1f02/0x1f90 [ 22.335771] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.340239] ? find_held_lock+0x35/0x1d0 [ 22.344283] ? sock_has_perm+0x2a4/0x420 [ 22.348317] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 22.353652] ? lock_downgrade+0x980/0x980 [ 22.357769] ? dup_iter+0x242/0x260 [ 22.361368] ? lock_release+0xa40/0xa40 [ 22.365327] ? selinux_socket_sendmsg+0x36/0x40 [ 22.369968] ? security_socket_sendmsg+0x89/0xb0 [ 22.374696] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.379165] sock_sendmsg+0xca/0x110 [ 22.382851] ___sys_sendmsg+0x320/0x8b0 [ 22.386813] ? copy_msghdr_from_user+0x590/0x590 [ 22.391546] ? __pmd_alloc+0x4e0/0x4e0 [ 22.395417] ? find_held_lock+0x35/0x1d0 [ 22.399459] ? __fget_light+0x297/0x380 [ 22.403414] ? fget_raw+0x20/0x20 [ 22.406837] ? find_held_lock+0x35/0x1d0 [ 22.410884] ? __do_page_fault+0x5f7/0xc90 [ 22.415092] ? lock_downgrade+0x980/0x980 [ 22.419226] __sys_sendmmsg+0x1ee/0x620 [ 22.423169] ? __sys_sendmmsg+0x1ee/0x620 [ 22.427293] ? SyS_sendmsg+0x50/0x50 [ 22.430980] ? mm_fault_error+0x2c0/0x2c0 [ 22.435110] ? __do_page_fault+0xc90/0xc90 [ 22.439324] ? syscall_return_slowpath+0x2ad/0x550 [ 22.444222] ? prepare_exit_to_usermode+0x340/0x340 [ 22.449212] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 22.454202] SyS_sendmmsg+0x35/0x60 [ 22.457804] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 22.462526] RIP: 0033:0x43fde9 [ 22.465687] RSP: 002b:00007ffca34d0708 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 22.473370] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 22.480609] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 22.487935] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 22.495176] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 22.502502] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 22.509756] [ 22.511348] The buggy address belongs to the page: [ 22.516245] page:000000007bc22520 count:0 mapcount:0 mapping: (null) index:0x0 [ 22.524353] flags: 0x2fffc0000000000() [ 22.528211] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 22.536059] raw: 0000000000000000 ffffea0007413be0 0000000000000000 0000000000000000 [ 22.543904] page dumped because: kasan: bad access detected [ 22.549580] [ 22.551174] Memory state around the buggy address: [ 22.556069] ffff8801d04efa00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 [ 22.563396] ffff8801d04efa80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 22.570729] >ffff8801d04efb00: 00 00 00 00 00 00 f2 f2 f2 f2 00 00 00 00 04 f2 [ 22.578055] ^ [ 22.585042] ffff8801d04efb80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 22.592379] ffff8801d04efc00: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 [ 22.599703] ================================================================== [ 22.607028] Disabling lock debugging due to kernel taint [ 22.612484] Kernel panic - not syncing: panic_on_warn set ... [ 22.612484] [ 22.619833] CPU: 1 PID: 3143 Comm: syzkaller688935 Tainted: G B 4.15.0-rc5+ #237 [ 22.628548] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.637870] Call Trace: [ 22.640426] dump_stack+0x194/0x257 [ 22.644026] ? arch_local_irq_restore+0x53/0x53 [ 22.648685] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.653441] ? vsnprintf+0x1ed/0x1900 [ 22.657213] ? rds_sendmsg+0x1e50/0x1f90 [ 22.661243] panic+0x1e4/0x41c [ 22.664404] ? refcount_error_report+0x214/0x214 [ 22.669130] ? add_taint+0x1c/0x50 [ 22.672634] ? add_taint+0x1c/0x50 [ 22.676142] ? rds_sendmsg+0x1f02/0x1f90 [ 22.680169] kasan_end_report+0x50/0x50 [ 22.684110] kasan_report+0x144/0x340 [ 22.687882] __asan_report_load8_noabort+0x14/0x20 [ 22.692777] rds_sendmsg+0x1f02/0x1f90 [ 22.696645] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.701108] ? find_held_lock+0x35/0x1d0 [ 22.705140] ? sock_has_perm+0x2a4/0x420 [ 22.709168] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 22.714495] ? lock_downgrade+0x980/0x980 [ 22.718608] ? dup_iter+0x242/0x260 [ 22.722210] ? lock_release+0xa40/0xa40 [ 22.726158] ? selinux_socket_sendmsg+0x36/0x40 [ 22.730794] ? security_socket_sendmsg+0x89/0xb0 [ 22.735515] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.739978] sock_sendmsg+0xca/0x110 [ 22.743658] ___sys_sendmsg+0x320/0x8b0 [ 22.747599] ? copy_msghdr_from_user+0x590/0x590 [ 22.752321] ? __pmd_alloc+0x4e0/0x4e0 [ 22.756193] ? find_held_lock+0x35/0x1d0 [ 22.760225] ? __fget_light+0x297/0x380 [ 22.764166] ? fget_raw+0x20/0x20 [ 22.767583] ? find_held_lock+0x35/0x1d0 [ 22.771620] ? __do_page_fault+0x5f7/0xc90 [ 22.775821] ? lock_downgrade+0x980/0x980 [ 22.779949] __sys_sendmmsg+0x1ee/0x620 [ 22.783898] ? __sys_sendmmsg+0x1ee/0x620 [ 22.788027] ? SyS_sendmsg+0x50/0x50 [ 22.791715] ? mm_fault_error+0x2c0/0x2c0 [ 22.795842] ? __do_page_fault+0xc90/0xc90 [ 22.800047] ? syscall_return_slowpath+0x2ad/0x550 [ 22.804941] ? prepare_exit_to_usermode+0x340/0x340 [ 22.809926] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 22.814909] SyS_sendmmsg+0x35/0x60 [ 22.818505] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 22.823226] RIP: 0033:0x43fde9 [ 22.826382] RSP: 002b:00007ffca34d0708 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 22.834073] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 22.841318] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 22.848553] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 22.855788] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 22.863030] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 22.870308] Dumping ftrace buffer: [ 22.873814] (ftrace buffer empty) [ 22.877492] Kernel Offset: disabled [ 22.881085] Rebooting in 86400 seconds..