[....] Starting enhanced syslogd: rsyslogd[ 9.799289] audit: type=1400 audit(1514327321.829:5): avc: denied { syslog } for pid=2991 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: [ 12.219780] audit: type=1400 audit(1514327324.249:6): avc: denied { map } for pid=3126 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-4,10.128.0.11' (ECDSA) to the list of known hosts. executing program [ 32.147998] audit: type=1400 audit(1514327344.177:7): avc: denied { map } for pid=3144 comm="syzkaller231749" path="/root/syzkaller231749492" 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 [ 32.175143] ================================================================== [ 32.182538] BUG: KASAN: stack-out-of-bounds in rds_sendmsg+0x1f02/0x1f90 [ 32.189355] Read of size 8 at addr ffff8801c8537b70 by task syzkaller231749/3144 [ 32.196854] [ 32.198451] CPU: 0 PID: 3144 Comm: syzkaller231749 Not tainted 4.15.0-rc4-next-20171221+ #78 [ 32.206992] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.216317] Call Trace: [ 32.218878] dump_stack+0x194/0x257 [ 32.222486] ? arch_local_irq_restore+0x53/0x53 [ 32.227126] ? show_regs_print_info+0x18/0x18 [ 32.231597] ? _raw_spin_unlock_bh+0x30/0x40 [ 32.235981] ? rds_sendmsg+0x1f02/0x1f90 [ 32.240018] print_address_description+0x73/0x250 [ 32.244836] ? rds_sendmsg+0x1f02/0x1f90 [ 32.248873] kasan_report+0x25b/0x340 [ 32.252654] __asan_report_load8_noabort+0x14/0x20 [ 32.257558] rds_sendmsg+0x1f02/0x1f90 [ 32.261433] ? rds_send_drop_to+0x19d0/0x19d0 [ 32.265904] ? find_held_lock+0x35/0x1d0 [ 32.269940] ? sock_has_perm+0x2a4/0x420 [ 32.273973] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 32.279308] ? lock_downgrade+0x980/0x980 [ 32.283429] ? dup_iter+0x192/0x260 [ 32.287489] ? lock_release+0xa40/0xa40 [ 32.291474] ? selinux_socket_sendmsg+0x36/0x40 [ 32.296916] ? security_socket_sendmsg+0x89/0xb0 [ 32.302344] ? rds_send_drop_to+0x19d0/0x19d0 [ 32.306826] sock_sendmsg+0xca/0x110 [ 32.310516] ___sys_sendmsg+0x320/0x8b0 [ 32.314475] ? copy_msghdr_from_user+0x590/0x590 [ 32.319202] ? __pmd_alloc+0x4e0/0x4e0 [ 32.323071] ? find_held_lock+0x35/0x1d0 [ 32.327109] ? __fget_light+0x297/0x380 [ 32.331056] ? fget_raw+0x20/0x20 [ 32.334479] ? find_held_lock+0x35/0x1d0 [ 32.338518] ? __do_page_fault+0x5f7/0xc90 [ 32.342723] ? lock_downgrade+0x980/0x980 [ 32.346858] __sys_sendmmsg+0x1ee/0x620 [ 32.350803] ? __sys_sendmmsg+0x1ee/0x620 [ 32.354934] ? SyS_sendmsg+0x50/0x50 [ 32.358624] ? mm_fault_error+0x2c0/0x2c0 [ 32.362767] ? __do_page_fault+0xc90/0xc90 [ 32.366984] ? syscall_return_slowpath+0x2ad/0x550 [ 32.371894] ? prepare_exit_to_usermode+0x340/0x340 [ 32.376887] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 32.381884] SyS_sendmmsg+0x35/0x60 [ 32.385484] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 32.390225] RIP: 0033:0x43fde9 [ 32.393391] RSP: 002b:00007ffc18baf968 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 32.401066] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 32.408305] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 32.415547] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 32.422786] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 32.430026] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 32.437279] [ 32.438885] The buggy address belongs to the page: [ 32.443786] page:0000000037d1f647 count:0 mapcount:0 mapping: (null) index:0x0 [ 32.451904] flags: 0x2fffc0000000000() [ 32.455762] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 32.463621] raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 [ 32.471469] page dumped because: kasan: bad access detected [ 32.477145] [ 32.478744] Memory state around the buggy address: [ 32.483648] ffff8801c8537a00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 [ 32.490977] ffff8801c8537a80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 32.498303] >ffff8801c8537b00: 00 00 00 00 00 00 f2 f2 f2 f2 00 00 00 00 04 f2 [ 32.505635] ^ [ 32.512617] ffff8801c8537b80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 32.520043] ffff8801c8537c00: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 [ 32.527375] ================================================================== [ 32.534711] Disabling lock debugging due to kernel taint [ 32.540213] Kernel panic - not syncing: panic_on_warn set ... [ 32.540213] [ 32.547554] CPU: 0 PID: 3144 Comm: syzkaller231749 Tainted: G B 4.15.0-rc4-next-20171221+ #78 [ 32.557435] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.566764] Call Trace: [ 32.569330] dump_stack+0x194/0x257 [ 32.572926] ? arch_local_irq_restore+0x53/0x53 [ 32.577563] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.582285] ? vsnprintf+0x1ed/0x1900 [ 32.586054] ? rds_sendmsg+0x1e50/0x1f90 [ 32.590081] panic+0x1e4/0x41c [ 32.593244] ? refcount_error_report+0x214/0x214 [ 32.597974] ? add_taint+0x1c/0x50 [ 32.601480] ? add_taint+0x1c/0x50 [ 32.604988] ? rds_sendmsg+0x1f02/0x1f90 [ 32.609028] kasan_end_report+0x50/0x50 [ 32.612969] kasan_report+0x144/0x340 [ 32.616739] __asan_report_load8_noabort+0x14/0x20 [ 32.621642] rds_sendmsg+0x1f02/0x1f90 [ 32.625507] ? rds_send_drop_to+0x19d0/0x19d0 [ 32.629972] ? find_held_lock+0x35/0x1d0 [ 32.634015] ? sock_has_perm+0x2a4/0x420 [ 32.638054] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 32.643388] ? lock_downgrade+0x980/0x980 [ 32.647505] ? dup_iter+0x192/0x260 [ 32.651099] ? lock_release+0xa40/0xa40 [ 32.655053] ? selinux_socket_sendmsg+0x36/0x40 [ 32.659701] ? security_socket_sendmsg+0x89/0xb0 [ 32.664427] ? rds_send_drop_to+0x19d0/0x19d0 [ 32.668901] sock_sendmsg+0xca/0x110 [ 32.672594] ___sys_sendmsg+0x320/0x8b0 [ 32.676539] ? copy_msghdr_from_user+0x590/0x590 [ 32.681264] ? __pmd_alloc+0x4e0/0x4e0 [ 32.685212] ? find_held_lock+0x35/0x1d0 [ 32.689245] ? __fget_light+0x297/0x380 [ 32.693277] ? fget_raw+0x20/0x20 [ 32.696704] ? find_held_lock+0x35/0x1d0 [ 32.700748] ? __do_page_fault+0x5f7/0xc90 [ 32.704951] ? lock_downgrade+0x980/0x980 [ 32.709074] __sys_sendmmsg+0x1ee/0x620 [ 32.713023] ? __sys_sendmmsg+0x1ee/0x620 [ 32.717149] ? SyS_sendmsg+0x50/0x50 [ 32.720840] ? mm_fault_error+0x2c0/0x2c0 [ 32.724970] ? __do_page_fault+0xc90/0xc90 [ 32.729187] ? syscall_return_slowpath+0x2ad/0x550 [ 32.734083] ? prepare_exit_to_usermode+0x340/0x340 [ 32.739078] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 32.744065] SyS_sendmmsg+0x35/0x60 [ 32.747748] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 32.752470] RIP: 0033:0x43fde9 [ 32.755638] RSP: 002b:00007ffc18baf968 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 32.763326] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 32.770565] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 32.777813] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 32.785050] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 32.792294] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 32.799902] Dumping ftrace buffer: [ 32.803419] (ftrace buffer empty) [ 32.807102] Kernel Offset: disabled [ 32.810704] Rebooting in 86400 seconds..