[....] Starting enhanced syslogd: rsyslogd[ 10.797576] audit: type=1400 audit(1514278197.531: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.649126] audit: type=1400 audit(1514278203.382: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-2,10.128.0.10' (ECDSA) to the list of known hosts. executing program [ 28.382927] audit: type=1400 audit(1514278215.116:7): avc: denied { map } for pid=3145 comm="syzkaller240897" path="/root/syzkaller240897022" 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 [ 28.409541] ================================================================== [ 28.416911] BUG: KASAN: stack-out-of-bounds in rds_sendmsg+0x1f02/0x1f90 [ 28.423716] Read of size 8 at addr ffff8801c8f57b70 by task syzkaller240897/3145 [ 28.431211] [ 28.432807] CPU: 0 PID: 3145 Comm: syzkaller240897 Not tainted 4.15.0-rc5+ #237 [ 28.440214] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.449536] Call Trace: [ 28.452090] dump_stack+0x194/0x257 [ 28.455686] ? arch_local_irq_restore+0x53/0x53 [ 28.460320] ? show_regs_print_info+0x18/0x18 [ 28.464787] ? _raw_spin_unlock_bh+0x30/0x40 [ 28.469164] ? rds_sendmsg+0x1f02/0x1f90 [ 28.473193] print_address_description+0x73/0x250 [ 28.478001] ? rds_sendmsg+0x1f02/0x1f90 [ 28.482027] kasan_report+0x25b/0x340 [ 28.485798] __asan_report_load8_noabort+0x14/0x20 [ 28.490693] rds_sendmsg+0x1f02/0x1f90 [ 28.494560] ? rds_send_drop_to+0x19d0/0x19d0 [ 28.499023] ? find_held_lock+0x35/0x1d0 [ 28.503055] ? sock_has_perm+0x2a4/0x420 [ 28.507083] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 28.512412] ? lock_downgrade+0x980/0x980 [ 28.516525] ? dup_iter+0x242/0x260 [ 28.520119] ? lock_release+0xa40/0xa40 [ 28.524071] ? selinux_socket_sendmsg+0x36/0x40 [ 28.528705] ? security_socket_sendmsg+0x89/0xb0 [ 28.533425] ? rds_send_drop_to+0x19d0/0x19d0 [ 28.537891] sock_sendmsg+0xca/0x110 [ 28.541572] ___sys_sendmsg+0x320/0x8b0 [ 28.545515] ? copy_msghdr_from_user+0x590/0x590 [ 28.550235] ? __pmd_alloc+0x4e0/0x4e0 [ 28.554095] ? find_held_lock+0x35/0x1d0 [ 28.558128] ? __fget_light+0x297/0x380 [ 28.562069] ? fget_raw+0x20/0x20 [ 28.565487] ? find_held_lock+0x35/0x1d0 [ 28.569519] ? __do_page_fault+0x5f7/0xc90 [ 28.573718] ? lock_downgrade+0x980/0x980 [ 28.577848] __sys_sendmmsg+0x1ee/0x620 [ 28.581786] ? __sys_sendmmsg+0x1ee/0x620 [ 28.585907] ? SyS_sendmsg+0x50/0x50 [ 28.589591] ? mm_fault_error+0x2c0/0x2c0 [ 28.593717] ? __do_page_fault+0xc90/0xc90 [ 28.597926] ? syscall_return_slowpath+0x2ad/0x550 [ 28.602820] ? prepare_exit_to_usermode+0x340/0x340 [ 28.607804] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 28.612790] SyS_sendmmsg+0x35/0x60 [ 28.616386] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 28.621105] RIP: 0033:0x43fde9 [ 28.624262] RSP: 002b:00007ffca0d7bd28 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 28.631935] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 28.639171] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 28.646408] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 28.653642] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 28.660878] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 28.668128] [ 28.669719] The buggy address belongs to the page: [ 28.674616] page:00000000f212cfcb count:0 mapcount:0 mapping: (null) index:0x0 [ 28.682725] flags: 0x2fffc0000000000() [ 28.686577] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 28.694422] raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 [ 28.702264] page dumped because: kasan: bad access detected [ 28.707937] [ 28.709527] Memory state around the buggy address: [ 28.714418] ffff8801c8f57a00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 [ 28.721741] ffff8801c8f57a80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 28.729071] >ffff8801c8f57b00: 00 00 00 00 00 00 f2 f2 f2 f2 00 00 00 00 04 f2 [ 28.736399] ^ [ 28.743383] ffff8801c8f57b80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 28.750710] ffff8801c8f57c00: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 [ 28.758036] ================================================================== [ 28.765365] Disabling lock debugging due to kernel taint [ 28.770844] Kernel panic - not syncing: panic_on_warn set ... [ 28.770844] [ 28.778174] CPU: 0 PID: 3145 Comm: syzkaller240897 Tainted: G B 4.15.0-rc5+ #237 [ 28.786883] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.796199] Call Trace: [ 28.798755] dump_stack+0x194/0x257 [ 28.802347] ? arch_local_irq_restore+0x53/0x53 [ 28.806982] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 28.811701] ? vsnprintf+0x1ed/0x1900 [ 28.815470] ? rds_sendmsg+0x1e50/0x1f90 [ 28.819498] panic+0x1e4/0x41c [ 28.822654] ? refcount_error_report+0x214/0x214 [ 28.827376] ? add_taint+0x1c/0x50 [ 28.830879] ? add_taint+0x1c/0x50 [ 28.834385] ? rds_sendmsg+0x1f02/0x1f90 [ 28.838409] kasan_end_report+0x50/0x50 [ 28.842347] kasan_report+0x144/0x340 [ 28.846111] __asan_report_load8_noabort+0x14/0x20 [ 28.851002] rds_sendmsg+0x1f02/0x1f90 [ 28.854861] ? rds_send_drop_to+0x19d0/0x19d0 [ 28.859321] ? find_held_lock+0x35/0x1d0 [ 28.863525] ? sock_has_perm+0x2a4/0x420 [ 28.867554] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 28.872879] ? lock_downgrade+0x980/0x980 [ 28.876989] ? dup_iter+0x242/0x260 [ 28.880579] ? lock_release+0xa40/0xa40 [ 28.884532] ? selinux_socket_sendmsg+0x36/0x40 [ 28.889164] ? security_socket_sendmsg+0x89/0xb0 [ 28.893882] ? rds_send_drop_to+0x19d0/0x19d0 [ 28.898344] sock_sendmsg+0xca/0x110 [ 28.902021] ___sys_sendmsg+0x320/0x8b0 [ 28.905960] ? copy_msghdr_from_user+0x590/0x590 [ 28.910682] ? __pmd_alloc+0x4e0/0x4e0 [ 28.914537] ? find_held_lock+0x35/0x1d0 [ 28.918568] ? __fget_light+0x297/0x380 [ 28.922506] ? fget_raw+0x20/0x20 [ 28.925922] ? find_held_lock+0x35/0x1d0 [ 28.929952] ? __do_page_fault+0x5f7/0xc90 [ 28.934152] ? lock_downgrade+0x980/0x980 [ 28.938268] __sys_sendmmsg+0x1ee/0x620 [ 28.942205] ? __sys_sendmmsg+0x1ee/0x620 [ 28.946318] ? SyS_sendmsg+0x50/0x50 [ 28.949999] ? mm_fault_error+0x2c0/0x2c0 [ 28.954116] ? __do_page_fault+0xc90/0xc90 [ 28.958320] ? syscall_return_slowpath+0x2ad/0x550 [ 28.963221] ? prepare_exit_to_usermode+0x340/0x340 [ 28.968201] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 28.973183] SyS_sendmmsg+0x35/0x60 [ 28.976775] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 28.981494] RIP: 0033:0x43fde9 [ 28.984647] RSP: 002b:00007ffca0d7bd28 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 28.992317] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 28.999551] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 29.006786] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 29.014020] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 29.021259] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 29.028539] Dumping ftrace buffer: [ 29.032041] (ftrace buffer empty) [ 29.035716] Kernel Offset: disabled [ 29.039310] Rebooting in 86400 seconds..