[....] Starting enhanced syslogd: rsyslogd[ 10.092506] audit: type=1400 audit(1513982182.541:5): avc: denied { syslog } for pid=2983 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: [ 15.157600] audit: type=1400 audit(1513982187.606:6): avc: denied { map } for pid=3119 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-4,10.128.0.9' (ECDSA) to the list of known hosts. executing program [ 37.178987] audit: type=1400 audit(1513982209.627:7): avc: denied { map } for pid=3137 comm="syzkaller974509" path="/root/syzkaller974509560" 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 [ 37.207780] ================================================================== [ 37.215171] BUG: KASAN: stack-out-of-bounds in rds_sendmsg+0x1f02/0x1f90 [ 37.221981] Read of size 8 at addr ffff8801c9717b70 by task syzkaller974509/3137 [ 37.229485] [ 37.231086] CPU: 0 PID: 3137 Comm: syzkaller974509 Not tainted 4.15.0-rc4+ #234 [ 37.238503] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.247830] Call Trace: [ 37.250390] dump_stack+0x194/0x257 [ 37.254000] ? arch_local_irq_restore+0x53/0x53 [ 37.258638] ? show_regs_print_info+0x18/0x18 [ 37.263107] ? _raw_spin_unlock_bh+0x30/0x40 [ 37.267486] ? rds_sendmsg+0x1f02/0x1f90 [ 37.271528] print_address_description+0x73/0x250 [ 37.276341] ? rds_sendmsg+0x1f02/0x1f90 [ 37.280370] kasan_report+0x25b/0x340 [ 37.284146] __asan_report_load8_noabort+0x14/0x20 [ 37.289130] rds_sendmsg+0x1f02/0x1f90 [ 37.293005] ? rds_send_drop_to+0x19d0/0x19d0 [ 37.297471] ? find_held_lock+0x35/0x1d0 [ 37.301516] ? sock_has_perm+0x2a4/0x420 [ 37.305550] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 37.310891] ? lock_downgrade+0x980/0x980 [ 37.315015] ? dup_iter+0x1b2/0x260 [ 37.318613] ? lock_release+0xa40/0xa40 [ 37.322567] ? selinux_socket_sendmsg+0x36/0x40 [ 37.327205] ? security_socket_sendmsg+0x89/0xb0 [ 37.331929] ? rds_send_drop_to+0x19d0/0x19d0 [ 37.336396] sock_sendmsg+0xca/0x110 [ 37.340080] ___sys_sendmsg+0x320/0x8b0 [ 37.344028] ? copy_msghdr_from_user+0x590/0x590 [ 37.348763] ? __pmd_alloc+0x4e0/0x4e0 [ 37.352623] ? find_held_lock+0x35/0x1d0 [ 37.356661] ? __fget_light+0x297/0x380 [ 37.360604] ? fget_raw+0x20/0x20 [ 37.364023] ? find_held_lock+0x35/0x1d0 [ 37.368060] ? __do_page_fault+0x5f7/0xc90 [ 37.372262] ? lock_downgrade+0x980/0x980 [ 37.376394] __sys_sendmmsg+0x1ee/0x620 [ 37.380336] ? __sys_sendmmsg+0x1ee/0x620 [ 37.384462] ? SyS_sendmsg+0x50/0x50 [ 37.388160] ? mm_fault_error+0x2c0/0x2c0 [ 37.392311] ? __do_page_fault+0xc90/0xc90 [ 37.396545] ? syscall_return_slowpath+0x2ad/0x550 [ 37.401447] ? prepare_exit_to_usermode+0x340/0x340 [ 37.406439] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 37.411441] SyS_sendmmsg+0x35/0x60 [ 37.415040] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 37.419774] RIP: 0033:0x43fde9 [ 37.422935] RSP: 002b:00007ffeb7859328 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 37.430616] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 37.437857] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 37.445126] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 37.452365] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 37.459605] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 37.466861] [ 37.468457] The buggy address belongs to the page: [ 37.473370] page:0000000020bde1bc count:0 mapcount:0 mapping: (null) index:0x0 [ 37.481486] flags: 0x2fffc0000000000() [ 37.485342] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 37.493191] raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 [ 37.501039] page dumped because: kasan: bad access detected [ 37.506725] [ 37.508320] Memory state around the buggy address: [ 37.513233] ffff8801c9717a00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 [ 37.520575] ffff8801c9717a80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 37.527935] >ffff8801c9717b00: 00 00 00 00 00 00 f2 f2 f2 f2 00 00 00 00 04 f2 [ 37.535274] ^ [ 37.542273] ffff8801c9717b80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 37.549604] ffff8801c9717c00: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 [ 37.556930] ================================================================== [ 37.564255] Disabling lock debugging due to kernel taint [ 37.569825] Kernel panic - not syncing: panic_on_warn set ... [ 37.569825] [ 37.577161] CPU: 0 PID: 3137 Comm: syzkaller974509 Tainted: G B 4.15.0-rc4+ #234 [ 37.585878] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.595201] Call Trace: [ 37.597762] dump_stack+0x194/0x257 [ 37.601358] ? arch_local_irq_restore+0x53/0x53 [ 37.605994] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 37.610717] ? vsnprintf+0x1ed/0x1900 [ 37.614486] ? rds_sendmsg+0x1e50/0x1f90 [ 37.618516] panic+0x1e4/0x41c [ 37.621674] ? refcount_error_report+0x214/0x214 [ 37.626395] ? add_taint+0x1c/0x50 [ 37.629899] ? add_taint+0x1c/0x50 [ 37.633408] ? rds_sendmsg+0x1f02/0x1f90 [ 37.637437] kasan_end_report+0x50/0x50 [ 37.641389] kasan_report+0x144/0x340 [ 37.645167] __asan_report_load8_noabort+0x14/0x20 [ 37.650063] rds_sendmsg+0x1f02/0x1f90 [ 37.653934] ? rds_send_drop_to+0x19d0/0x19d0 [ 37.658400] ? find_held_lock+0x35/0x1d0 [ 37.662433] ? sock_has_perm+0x2a4/0x420 [ 37.666462] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 37.671794] ? lock_downgrade+0x980/0x980 [ 37.675906] ? dup_iter+0x1b2/0x260 [ 37.679499] ? lock_release+0xa40/0xa40 [ 37.683446] ? selinux_socket_sendmsg+0x36/0x40 [ 37.688078] ? security_socket_sendmsg+0x89/0xb0 [ 37.692804] ? rds_send_drop_to+0x19d0/0x19d0 [ 37.697267] sock_sendmsg+0xca/0x110 [ 37.700958] ___sys_sendmsg+0x320/0x8b0 [ 37.704913] ? copy_msghdr_from_user+0x590/0x590 [ 37.709635] ? __pmd_alloc+0x4e0/0x4e0 [ 37.713504] ? find_held_lock+0x35/0x1d0 [ 37.717545] ? __fget_light+0x297/0x380 [ 37.721485] ? fget_raw+0x20/0x20 [ 37.724901] ? find_held_lock+0x35/0x1d0 [ 37.728933] ? __do_page_fault+0x5f7/0xc90 [ 37.733135] ? lock_downgrade+0x980/0x980 [ 37.737255] __sys_sendmmsg+0x1ee/0x620 [ 37.741214] ? __sys_sendmmsg+0x1ee/0x620 [ 37.745332] ? SyS_sendmsg+0x50/0x50 [ 37.749016] ? mm_fault_error+0x2c0/0x2c0 [ 37.753138] ? __do_page_fault+0xc90/0xc90 [ 37.757344] ? syscall_return_slowpath+0x2ad/0x550 [ 37.762241] ? prepare_exit_to_usermode+0x340/0x340 [ 37.767241] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 37.772227] SyS_sendmmsg+0x35/0x60 [ 37.775823] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 37.780546] RIP: 0033:0x43fde9 [ 37.783706] RSP: 002b:00007ffeb7859328 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 37.791383] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 37.798635] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 37.805877] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 37.813114] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 37.820350] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 37.828323] Dumping ftrace buffer: [ 37.831885] (ftrace buffer empty) [ 37.835571] Kernel Offset: disabled [ 37.839269] Rebooting in 86400 seconds..