[....] Starting enhanced syslogd: rsyslogd[ 10.726757] audit: type=1400 audit(1514289784.915: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: [ 15.737962] audit: type=1400 audit(1514289789.926:6): avc: denied { map } for pid=3128 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-mmots-kasan-gce-3,10.128.0.109' (ECDSA) to the list of known hosts. executing program [ 21.965226] audit: type=1400 audit(1514289796.153:7): avc: denied { map } for pid=3142 comm="syzkaller402834" path="/root/syzkaller402834416" 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 [ 21.991860] ================================================================== [ 21.999224] BUG: KASAN: stack-out-of-bounds in rds_sendmsg+0x1f02/0x1f90 [ 22.006034] Read of size 8 at addr ffff8801bac17b70 by task syzkaller402834/3142 [ 22.013533] [ 22.015134] CPU: 1 PID: 3142 Comm: syzkaller402834 Not tainted 4.15.0-rc4-mm1+ #49 [ 22.022806] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.032123] Call Trace: [ 22.034683] dump_stack+0x194/0x257 [ 22.038281] ? arch_local_irq_restore+0x53/0x53 [ 22.042916] ? show_regs_print_info+0x18/0x18 [ 22.047382] ? _raw_spin_unlock_bh+0x30/0x40 [ 22.051758] ? rds_sendmsg+0x1f02/0x1f90 [ 22.055790] print_address_description+0x73/0x250 [ 22.060601] ? rds_sendmsg+0x1f02/0x1f90 [ 22.064628] kasan_report+0x23b/0x360 [ 22.068399] __asan_report_load8_noabort+0x14/0x20 [ 22.073293] rds_sendmsg+0x1f02/0x1f90 [ 22.077165] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.081629] ? find_held_lock+0x35/0x1d0 [ 22.085665] ? sock_has_perm+0x2a4/0x420 [ 22.089693] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 22.095030] ? lock_downgrade+0x980/0x980 [ 22.099151] ? dup_iter+0x1a2/0x260 [ 22.102748] ? lock_release+0xa40/0xa40 [ 22.106701] ? selinux_socket_sendmsg+0x36/0x40 [ 22.111339] ? security_socket_sendmsg+0x89/0xb0 [ 22.116063] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.120530] sock_sendmsg+0xca/0x110 [ 22.124217] ___sys_sendmsg+0x320/0x8b0 [ 22.128164] ? copy_msghdr_from_user+0x590/0x590 [ 22.132888] ? __pmd_alloc+0x4e0/0x4e0 [ 22.136747] ? find_held_lock+0x35/0x1d0 [ 22.140784] ? __fget_light+0x297/0x380 [ 22.144725] ? fget_raw+0x20/0x20 [ 22.148144] ? find_held_lock+0x35/0x1d0 [ 22.152179] ? __do_page_fault+0x5f7/0xc90 [ 22.156380] ? lock_downgrade+0x980/0x980 [ 22.160517] __sys_sendmmsg+0x1ee/0x620 [ 22.164460] ? __sys_sendmmsg+0x1ee/0x620 [ 22.168583] ? SyS_sendmsg+0x50/0x50 [ 22.172268] ? mm_fault_error+0x2c0/0x2c0 [ 22.176395] ? __do_page_fault+0xc90/0xc90 [ 22.180605] ? syscall_return_slowpath+0x2ad/0x550 [ 22.185503] ? prepare_exit_to_usermode+0x340/0x340 [ 22.190495] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 22.195481] SyS_sendmmsg+0x35/0x60 [ 22.199092] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 22.203816] RIP: 0033:0x43fde9 [ 22.206971] RSP: 002b:00007ffd962c1cd8 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 22.214647] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 22.221885] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 22.229120] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 22.236355] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 22.243596] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 22.250847] [ 22.252440] The buggy address belongs to the page: [ 22.257335] page:ffffea0006eb05c0 count:0 mapcount:0 mapping: (null) index:0x0 [ 22.265442] flags: 0x2fffc0000000000() [ 22.269295] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 22.277140] raw: 0000000000000000 ffffea0006eb05e0 0000000000000000 0000000000000000 [ 22.284982] page dumped because: kasan: bad access detected [ 22.290654] [ 22.292247] Memory state around the buggy address: [ 22.297140] ffff8801bac17a00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 [ 22.304464] ffff8801bac17a80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 22.311792] >ffff8801bac17b00: 00 00 00 00 00 00 f2 f2 f2 f2 00 00 00 00 04 f2 [ 22.319118] ^ [ 22.326105] ffff8801bac17b80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 22.333439] ffff8801bac17c00: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 [ 22.340764] ================================================================== [ 22.348088] Disabling lock debugging due to kernel taint [ 22.353694] Kernel panic - not syncing: panic_on_warn set ... [ 22.353694] [ 22.361038] CPU: 1 PID: 3142 Comm: syzkaller402834 Tainted: G B 4.15.0-rc4-mm1+ #49 [ 22.370010] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.379329] Call Trace: [ 22.381886] dump_stack+0x194/0x257 [ 22.385482] ? arch_local_irq_restore+0x53/0x53 [ 22.390116] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.394836] ? vsnprintf+0x1ed/0x1900 [ 22.398602] ? rds_sendmsg+0x1e50/0x1f90 [ 22.402628] panic+0x1e4/0x41c [ 22.405783] ? refcount_error_report+0x214/0x214 [ 22.410507] ? add_taint+0x1c/0x50 [ 22.414019] ? add_taint+0x1c/0x50 [ 22.417527] ? rds_sendmsg+0x1f02/0x1f90 [ 22.421557] kasan_end_report+0x50/0x50 [ 22.425495] kasan_report+0x148/0x360 [ 22.429269] __asan_report_load8_noabort+0x14/0x20 [ 22.434173] rds_sendmsg+0x1f02/0x1f90 [ 22.438036] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.442501] ? find_held_lock+0x35/0x1d0 [ 22.446542] ? sock_has_perm+0x2a4/0x420 [ 22.450571] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 22.455900] ? lock_downgrade+0x980/0x980 [ 22.460016] ? dup_iter+0x1a2/0x260 [ 22.463614] ? lock_release+0xa40/0xa40 [ 22.467562] ? selinux_socket_sendmsg+0x36/0x40 [ 22.472200] ? security_socket_sendmsg+0x89/0xb0 [ 22.476926] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.481388] sock_sendmsg+0xca/0x110 [ 22.485068] ___sys_sendmsg+0x320/0x8b0 [ 22.489015] ? copy_msghdr_from_user+0x590/0x590 [ 22.493748] ? __pmd_alloc+0x4e0/0x4e0 [ 22.497609] ? find_held_lock+0x35/0x1d0 [ 22.501641] ? __fget_light+0x297/0x380 [ 22.505581] ? fget_raw+0x20/0x20 [ 22.509009] ? find_held_lock+0x35/0x1d0 [ 22.513051] ? __do_page_fault+0x5f7/0xc90 [ 22.517255] ? lock_downgrade+0x980/0x980 [ 22.521378] __sys_sendmmsg+0x1ee/0x620 [ 22.525318] ? __sys_sendmmsg+0x1ee/0x620 [ 22.529608] ? SyS_sendmsg+0x50/0x50 [ 22.533294] ? mm_fault_error+0x2c0/0x2c0 [ 22.537413] ? __do_page_fault+0xc90/0xc90 [ 22.541618] ? syscall_return_slowpath+0x2ad/0x550 [ 22.546511] ? prepare_exit_to_usermode+0x340/0x340 [ 22.551494] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 22.556482] SyS_sendmmsg+0x35/0x60 [ 22.560078] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 22.564799] RIP: 0033:0x43fde9 [ 22.567955] RSP: 002b:00007ffd962c1cd8 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 22.575624] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 22.582858] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 22.590089] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 22.597323] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 22.604558] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 22.612218] Dumping ftrace buffer: [ 22.615722] (ftrace buffer empty) [ 22.619396] Kernel Offset: disabled [ 22.622988] Rebooting in 86400 seconds..