[....] Starting enhanced syslogd: rsyslogd[ 11.485940] audit: type=1400 audit(1513849635.289:5): avc: denied { syslog } for pid=2998 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: [ 16.146227] audit: type=1400 audit(1513849639.950:6): avc: denied { map } for pid=3136 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-386-0,10.128.0.44' (ECDSA) to the list of known hosts. [ 22.278559] audit: type=1400 audit(1513849646.082:7): avc: denied { map } for pid=3150 comm="syz-execprog" path="/root/syz-execprog" dev="sda1" ino=16479 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 2017/12/21 09:47:26 parsed 1 programs 2017/12/21 09:47:26 executed programs: 0 [ 22.387973] audit: type=1400 audit(1513849646.191:8): avc: denied { map } for pid=3150 comm="syz-execprog" path="/root/syzkaller-shm603205379" dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file permissive=1 [ 22.467704] ================================================================== [ 22.475109] BUG: KASAN: stack-out-of-bounds in rds_sendmsg+0x1f02/0x1f90 [ 22.481915] Read of size 8 at addr ffff8801c99ff9e0 by task syz-executor0/3159 [ 22.489240] [ 22.490840] CPU: 1 PID: 3159 Comm: syz-executor0 Not tainted 4.15.0-rc4+ #141 [ 22.498077] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.507396] Call Trace: [ 22.509955] dump_stack+0x194/0x257 [ 22.513552] ? arch_local_irq_restore+0x53/0x53 [ 22.518189] ? show_regs_print_info+0x18/0x18 [ 22.522656] ? _raw_spin_unlock_bh+0x30/0x40 [ 22.527039] ? rds_sendmsg+0x1f02/0x1f90 [ 22.531070] print_address_description+0x73/0x250 [ 22.535881] ? rds_sendmsg+0x1f02/0x1f90 [ 22.539910] kasan_report+0x25b/0x340 [ 22.543696] __asan_report_load8_noabort+0x14/0x20 [ 22.548595] rds_sendmsg+0x1f02/0x1f90 [ 22.552466] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.556932] ? lock_downgrade+0x980/0x980 [ 22.561057] ? sock_has_perm+0x2a4/0x420 [ 22.565092] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 22.570427] ? __might_sleep+0x95/0x190 [ 22.574375] ? kasan_check_write+0x14/0x20 [ 22.578578] ? _copy_from_user+0x99/0x110 [ 22.582700] ? selinux_socket_sendmsg+0x36/0x40 [ 22.587338] ? security_socket_sendmsg+0x89/0xb0 [ 22.592065] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.596532] sock_sendmsg+0xca/0x110 [ 22.600228] ___sys_sendmsg+0x320/0x8b0 [ 22.604184] ? copy_msghdr_from_user+0x590/0x590 [ 22.608915] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 22.613915] ? copy_overflow+0x20/0x20 [ 22.617774] ? __fget_light+0x297/0x380 [ 22.621720] ? check_noncircular+0x20/0x20 [ 22.625948] ? check_noncircular+0x20/0x20 [ 22.630149] ? __pmd_alloc+0x4e0/0x4e0 [ 22.634018] ? __fdget+0x18/0x20 [ 22.637367] __sys_sendmmsg+0x31b/0x620 [ 22.641309] ? __sys_sendmmsg+0x31b/0x620 [ 22.645434] ? SyS_sendmsg+0x50/0x50 [ 22.649123] ? __do_page_fault+0x5f7/0xc90 [ 22.653329] ? lock_downgrade+0x980/0x980 [ 22.657460] ? compat_SyS_futex+0x288/0x380 [ 22.661756] ? compat_SyS_get_robust_list+0x300/0x300 [ 22.666914] ? __do_page_fault+0x3d6/0xc90 [ 22.671140] compat_SyS_sendmmsg+0x32/0x40 [ 22.675343] ? compat_SyS_sendmsg+0x40/0x40 [ 22.679635] do_fast_syscall_32+0x3ee/0xf9d [ 22.683932] ? do_int80_syscall_32+0x9d0/0x9d0 [ 22.688485] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.693215] ? syscall_return_slowpath+0x2ad/0x550 [ 22.698112] ? prepare_exit_to_usermode+0x340/0x340 [ 22.703099] ? sysret32_from_system_call+0x5/0x3b [ 22.707922] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 22.712739] entry_SYSENTER_compat+0x54/0x63 [ 22.717122] RIP: 0023:0xf7fbec79 [ 22.720455] RSP: 002b:00000000ff94cd1c EFLAGS: 00000296 ORIG_RAX: 0000000000000159 [ 22.728130] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000002020c000 [ 22.735367] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 [ 22.742604] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 22.749841] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 22.757077] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 22.764329] [ 22.765924] The buggy address belongs to the page: [ 22.770819] page:000000009a3a9430 count:0 mapcount:0 mapping: (null) index:0x0 [ 22.778927] flags: 0x2fffc0000000000() [ 22.782781] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 22.790628] raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 [ 22.798484] page dumped because: kasan: bad access detected [ 22.804157] [ 22.805751] Memory state around the buggy address: [ 22.810645] ffff8801c99ff880: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 f2 f2 [ 22.817984] ffff8801c99ff900: f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 00 00 [ 22.825316] >ffff8801c99ff980: 00 00 00 00 f2 f2 f2 f2 00 00 00 00 04 f2 f2 f2 [ 22.832638] ^ [ 22.839096] ffff8801c99ffa00: f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 00 00 [ 22.846421] ffff8801c99ffa80: 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 00 00 [ 22.853743] ================================================================== [ 22.861068] Disabling lock debugging due to kernel taint [ 22.866560] Kernel panic - not syncing: panic_on_warn set ... [ 22.866560] [ 22.873904] CPU: 1 PID: 3159 Comm: syz-executor0 Tainted: G B 4.15.0-rc4+ #141 [ 22.882446] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.891764] Call Trace: [ 22.894320] dump_stack+0x194/0x257 [ 22.897918] ? arch_local_irq_restore+0x53/0x53 [ 22.902555] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.907277] ? vsnprintf+0x1ed/0x1900 [ 22.911047] ? rds_sendmsg+0x1e50/0x1f90 [ 22.915076] panic+0x1e4/0x41c [ 22.918235] ? refcount_error_report+0x214/0x214 [ 22.922957] ? add_taint+0x1c/0x50 [ 22.926465] ? add_taint+0x1c/0x50 [ 22.929972] ? rds_sendmsg+0x1f02/0x1f90 [ 22.934001] kasan_end_report+0x50/0x50 [ 22.937947] kasan_report+0x144/0x340 [ 22.941719] __asan_report_load8_noabort+0x14/0x20 [ 22.946614] rds_sendmsg+0x1f02/0x1f90 [ 22.950474] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.954935] ? lock_downgrade+0x980/0x980 [ 22.959057] ? sock_has_perm+0x2a4/0x420 [ 22.963093] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 22.968431] ? __might_sleep+0x95/0x190 [ 22.972394] ? kasan_check_write+0x14/0x20 [ 22.976605] ? _copy_from_user+0x99/0x110 [ 22.980726] ? selinux_socket_sendmsg+0x36/0x40 [ 22.985382] ? security_socket_sendmsg+0x89/0xb0 [ 22.990106] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.994569] sock_sendmsg+0xca/0x110 [ 22.998251] ___sys_sendmsg+0x320/0x8b0 [ 23.002193] ? copy_msghdr_from_user+0x590/0x590 [ 23.006921] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 23.011910] ? copy_overflow+0x20/0x20 [ 23.015764] ? __fget_light+0x297/0x380 [ 23.019708] ? check_noncircular+0x20/0x20 [ 23.023915] ? check_noncircular+0x20/0x20 [ 23.028116] ? __pmd_alloc+0x4e0/0x4e0 [ 23.031972] ? __fdget+0x18/0x20 [ 23.035306] __sys_sendmmsg+0x31b/0x620 [ 23.039246] ? __sys_sendmmsg+0x31b/0x620 [ 23.043364] ? SyS_sendmsg+0x50/0x50 [ 23.047049] ? __do_page_fault+0x5f7/0xc90 [ 23.051250] ? lock_downgrade+0x980/0x980 [ 23.055374] ? compat_SyS_futex+0x288/0x380 [ 23.059669] ? compat_SyS_get_robust_list+0x300/0x300 [ 23.064825] ? __do_page_fault+0x3d6/0xc90 [ 23.069036] compat_SyS_sendmmsg+0x32/0x40 [ 23.073236] ? compat_SyS_sendmsg+0x40/0x40 [ 23.077530] do_fast_syscall_32+0x3ee/0xf9d [ 23.081820] ? do_int80_syscall_32+0x9d0/0x9d0 [ 23.086374] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 23.091098] ? syscall_return_slowpath+0x2ad/0x550 [ 23.095994] ? prepare_exit_to_usermode+0x340/0x340 [ 23.100980] ? sysret32_from_system_call+0x5/0x3b [ 23.105793] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 23.110602] entry_SYSENTER_compat+0x54/0x63 [ 23.114977] RIP: 0023:0xf7fbec79 [ 23.118304] RSP: 002b:00000000ff94cd1c EFLAGS: 00000296 ORIG_RAX: 0000000000000159 [ 23.125975] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000002020c000 [ 23.133210] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 [ 23.140444] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 23.147678] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 23.154917] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 23.162639] Dumping ftrace buffer: [ 23.166155] (ftrace buffer empty) [ 23.169829] Kernel Offset: disabled [ 23.173424] Rebooting in 86400 seconds..