[....] Starting enhanced syslogd: rsyslogd[ 10.968121] audit: type=1400 audit(1514067670.191:5): avc: denied { syslog } for pid=2990 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.831722] audit: type=1400 audit(1514067676.055:6): avc: denied { map } for pid=3130 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-next-kasan-gce-2,10.128.15.231' (ECDSA) to the list of known hosts. executing program [ 23.033445] audit: type=1400 audit(1514067682.257:7): avc: denied { map } for pid=3144 comm="syzkaller798862" path="/root/syzkaller798862839" 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 [ 23.061425] ================================================================== [ 23.068818] BUG: KASAN: stack-out-of-bounds in rds_sendmsg+0x1f02/0x1f90 [ 23.075627] Read of size 8 at addr ffff8801c8d57b70 by task syzkaller798862/3144 [ 23.083127] [ 23.084727] CPU: 1 PID: 3144 Comm: syzkaller798862 Not tainted 4.15.0-rc4-next-20171221+ #78 [ 23.093274] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.102599] Call Trace: [ 23.105162] dump_stack+0x194/0x257 [ 23.108773] ? arch_local_irq_restore+0x53/0x53 [ 23.113414] ? show_regs_print_info+0x18/0x18 [ 23.117882] ? _raw_spin_unlock_bh+0x30/0x40 [ 23.122261] ? rds_sendmsg+0x1f02/0x1f90 [ 23.126294] print_address_description+0x73/0x250 [ 23.131106] ? rds_sendmsg+0x1f02/0x1f90 [ 23.135137] kasan_report+0x25b/0x340 [ 23.138911] __asan_report_load8_noabort+0x14/0x20 [ 23.143810] rds_sendmsg+0x1f02/0x1f90 [ 23.147682] ? rds_send_drop_to+0x19d0/0x19d0 [ 23.152152] ? find_held_lock+0x35/0x1d0 [ 23.156187] ? sock_has_perm+0x2a4/0x420 [ 23.160219] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 23.165550] ? lock_downgrade+0x980/0x980 [ 23.169668] ? dup_iter+0x192/0x260 [ 23.173264] ? lock_release+0xa40/0xa40 [ 23.177219] ? selinux_socket_sendmsg+0x36/0x40 [ 23.181856] ? security_socket_sendmsg+0x89/0xb0 [ 23.186581] ? rds_send_drop_to+0x19d0/0x19d0 [ 23.191048] sock_sendmsg+0xca/0x110 [ 23.194731] ___sys_sendmsg+0x320/0x8b0 [ 23.198679] ? copy_msghdr_from_user+0x590/0x590 [ 23.203406] ? __pmd_alloc+0x4e0/0x4e0 [ 23.207266] ? find_held_lock+0x35/0x1d0 [ 23.211302] ? __fget_light+0x297/0x380 [ 23.215245] ? fget_raw+0x20/0x20 [ 23.218664] ? find_held_lock+0x35/0x1d0 [ 23.222705] ? __do_page_fault+0x5f7/0xc90 [ 23.226911] ? lock_downgrade+0x980/0x980 [ 23.231040] __sys_sendmmsg+0x1ee/0x620 [ 23.234982] ? __sys_sendmmsg+0x1ee/0x620 [ 23.239105] ? SyS_sendmsg+0x50/0x50 [ 23.242801] ? mm_fault_error+0x2c0/0x2c0 [ 23.246932] ? __do_page_fault+0xc90/0xc90 [ 23.251144] ? syscall_return_slowpath+0x2ad/0x550 [ 23.256040] ? prepare_exit_to_usermode+0x340/0x340 [ 23.261029] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 23.266017] SyS_sendmmsg+0x35/0x60 [ 23.269616] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 23.274338] RIP: 0033:0x43fde9 [ 23.277497] RSP: 002b:00007fff444220b8 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 23.285174] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 23.292411] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 23.299645] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 23.306882] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 23.314118] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 23.321372] [ 23.322967] The buggy address belongs to the page: [ 23.327864] page:00000000305708d1 count:0 mapcount:0 mapping: (null) index:0x0 [ 23.335972] flags: 0x2fffc0000000000() [ 23.339826] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 23.347676] raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 [ 23.355519] page dumped because: kasan: bad access detected [ 23.361195] [ 23.362789] Memory state around the buggy address: [ 23.367683] ffff8801c8d57a00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 [ 23.375011] ffff8801c8d57a80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 23.382337] >ffff8801c8d57b00: 00 00 00 00 00 00 f2 f2 f2 f2 00 00 00 00 04 f2 [ 23.389661] ^ [ 23.396650] ffff8801c8d57b80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 23.403978] ffff8801c8d57c00: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 [ 23.411389] ================================================================== [ 23.418714] Disabling lock debugging due to kernel taint [ 23.424189] Kernel panic - not syncing: panic_on_warn set ... [ 23.424189] [ 23.431519] CPU: 1 PID: 3144 Comm: syzkaller798862 Tainted: G B 4.15.0-rc4-next-20171221+ #78 [ 23.441362] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.450692] Call Trace: [ 23.453254] dump_stack+0x194/0x257 [ 23.456849] ? arch_local_irq_restore+0x53/0x53 [ 23.461486] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 23.466216] ? vsnprintf+0x1ed/0x1900 [ 23.469983] ? rds_sendmsg+0x1e50/0x1f90 [ 23.474020] panic+0x1e4/0x41c [ 23.477180] ? refcount_error_report+0x214/0x214 [ 23.481903] ? add_taint+0x1c/0x50 [ 23.485409] ? add_taint+0x1c/0x50 [ 23.488915] ? rds_sendmsg+0x1f02/0x1f90 [ 23.492941] kasan_end_report+0x50/0x50 [ 23.496880] kasan_report+0x144/0x340 [ 23.500647] __asan_report_load8_noabort+0x14/0x20 [ 23.505544] rds_sendmsg+0x1f02/0x1f90 [ 23.509404] ? rds_send_drop_to+0x19d0/0x19d0 [ 23.513867] ? find_held_lock+0x35/0x1d0 [ 23.517897] ? sock_has_perm+0x2a4/0x420 [ 23.521923] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 23.527254] ? lock_downgrade+0x980/0x980 [ 23.531369] ? dup_iter+0x192/0x260 [ 23.534962] ? lock_release+0xa40/0xa40 [ 23.538910] ? selinux_socket_sendmsg+0x36/0x40 [ 23.543544] ? security_socket_sendmsg+0x89/0xb0 [ 23.548265] ? rds_send_drop_to+0x19d0/0x19d0 [ 23.552728] sock_sendmsg+0xca/0x110 [ 23.556408] ___sys_sendmsg+0x320/0x8b0 [ 23.560349] ? copy_msghdr_from_user+0x590/0x590 [ 23.565072] ? __pmd_alloc+0x4e0/0x4e0 [ 23.568926] ? find_held_lock+0x35/0x1d0 [ 23.572956] ? __fget_light+0x297/0x380 [ 23.576893] ? fget_raw+0x20/0x20 [ 23.580310] ? find_held_lock+0x35/0x1d0 [ 23.584342] ? __do_page_fault+0x5f7/0xc90 [ 23.588542] ? lock_downgrade+0x980/0x980 [ 23.592666] __sys_sendmmsg+0x1ee/0x620 [ 23.596603] ? __sys_sendmmsg+0x1ee/0x620 [ 23.600721] ? SyS_sendmsg+0x50/0x50 [ 23.604401] ? mm_fault_error+0x2c0/0x2c0 [ 23.608531] ? __do_page_fault+0xc90/0xc90 [ 23.612737] ? syscall_return_slowpath+0x2ad/0x550 [ 23.617633] ? prepare_exit_to_usermode+0x340/0x340 [ 23.622619] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 23.627602] SyS_sendmmsg+0x35/0x60 [ 23.631197] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 23.635929] RIP: 0033:0x43fde9 [ 23.639085] RSP: 002b:00007fff444220b8 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 23.646845] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 23.654081] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 23.661316] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 23.668552] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 23.675788] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 23.683068] Dumping ftrace buffer: [ 23.686574] (ftrace buffer empty) [ 23.690252] Kernel Offset: disabled [ 23.693845] Rebooting in 86400 seconds..