[....] Starting enhanced syslogd: rsyslogd[ 11.281656] audit: type=1400 audit(1514318990.033:5): avc: denied { syslog } for pid=3002 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.565920] audit: type=1400 audit(1514318994.317:6): avc: denied { map } for pid=3142 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-1,10.128.0.7' (ECDSA) to the list of known hosts. executing program [ 21.732571] audit: type=1400 audit(1514319000.484:7): avc: denied { map } for pid=3156 comm="syzkaller002949" path="/root/syzkaller002949874" 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.760000] ================================================================== [ 21.767375] BUG: KASAN: stack-out-of-bounds in rds_sendmsg+0x1f02/0x1f90 [ 21.774184] Read of size 8 at addr ffff8801cb1bfb70 by task syzkaller002949/3156 [ 21.781681] [ 21.783280] CPU: 0 PID: 3156 Comm: syzkaller002949 Not tainted 4.15.0-rc4-next-20171221+ #78 [ 21.791819] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.801146] Call Trace: [ 21.803706] dump_stack+0x194/0x257 [ 21.807313] ? arch_local_irq_restore+0x53/0x53 [ 21.811963] ? show_regs_print_info+0x18/0x18 [ 21.816433] ? _raw_spin_unlock_bh+0x30/0x40 [ 21.820816] ? rds_sendmsg+0x1f02/0x1f90 [ 21.824848] print_address_description+0x73/0x250 [ 21.829666] ? rds_sendmsg+0x1f02/0x1f90 [ 21.833696] kasan_report+0x25b/0x340 [ 21.837468] __asan_report_load8_noabort+0x14/0x20 [ 21.842365] rds_sendmsg+0x1f02/0x1f90 [ 21.846237] ? rds_send_drop_to+0x19d0/0x19d0 [ 21.850718] ? find_held_lock+0x35/0x1d0 [ 21.854762] ? sock_has_perm+0x2a4/0x420 [ 21.858799] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 21.864130] ? lock_downgrade+0x980/0x980 [ 21.868249] ? dup_iter+0x192/0x260 [ 21.871855] ? lock_release+0xa40/0xa40 [ 21.875811] ? selinux_socket_sendmsg+0x36/0x40 [ 21.880448] ? security_socket_sendmsg+0x89/0xb0 [ 21.885172] ? rds_send_drop_to+0x19d0/0x19d0 [ 21.889636] sock_sendmsg+0xca/0x110 [ 21.893321] ___sys_sendmsg+0x320/0x8b0 [ 21.897267] ? copy_msghdr_from_user+0x590/0x590 [ 21.901991] ? __pmd_alloc+0x4e0/0x4e0 [ 21.905858] ? find_held_lock+0x35/0x1d0 [ 21.909898] ? __fget_light+0x297/0x380 [ 21.913839] ? fget_raw+0x20/0x20 [ 21.917259] ? find_held_lock+0x35/0x1d0 [ 21.921297] ? __do_page_fault+0x5f7/0xc90 [ 21.925501] ? lock_downgrade+0x980/0x980 [ 21.929632] __sys_sendmmsg+0x1ee/0x620 [ 21.933574] ? __sys_sendmmsg+0x1ee/0x620 [ 21.937697] ? SyS_sendmsg+0x50/0x50 [ 21.941386] ? mm_fault_error+0x2c0/0x2c0 [ 21.945515] ? __do_page_fault+0xc90/0xc90 [ 21.949732] ? syscall_return_slowpath+0x2ad/0x550 [ 21.954629] ? prepare_exit_to_usermode+0x340/0x340 [ 21.959618] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 21.964614] SyS_sendmmsg+0x35/0x60 [ 21.968215] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 21.972942] RIP: 0033:0x43fde9 [ 21.976100] RSP: 002b:00007fff8b053f98 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 21.983779] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 21.991018] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 21.998261] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 22.005497] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 22.012735] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 22.019988] [ 22.021580] The buggy address belongs to the page: [ 22.026482] page:0000000091002c42 count:0 mapcount:0 mapping: (null) index:0x0 [ 22.034590] flags: 0x2fffc0000000000() [ 22.038447] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 22.046303] raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 [ 22.054148] page dumped because: kasan: bad access detected [ 22.059828] [ 22.061420] Memory state around the buggy address: [ 22.066320] ffff8801cb1bfa00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 [ 22.073644] ffff8801cb1bfa80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 22.080974] >ffff8801cb1bfb00: 00 00 00 00 00 00 f2 f2 f2 f2 00 00 00 00 04 f2 [ 22.088296] ^ [ 22.095274] ffff8801cb1bfb80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 22.102602] ffff8801cb1bfc00: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 [ 22.109928] ================================================================== [ 22.117254] Disabling lock debugging due to kernel taint [ 22.122719] Kernel panic - not syncing: panic_on_warn set ... [ 22.122719] [ 22.130060] CPU: 0 PID: 3156 Comm: syzkaller002949 Tainted: G B 4.15.0-rc4-next-20171221+ #78 [ 22.139904] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.149222] Call Trace: [ 22.151778] dump_stack+0x194/0x257 [ 22.155380] ? arch_local_irq_restore+0x53/0x53 [ 22.160020] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.164744] ? vsnprintf+0x1ed/0x1900 [ 22.168599] ? rds_sendmsg+0x1e50/0x1f90 [ 22.172627] panic+0x1e4/0x41c [ 22.175784] ? refcount_error_report+0x214/0x214 [ 22.180505] ? add_taint+0x1c/0x50 [ 22.184021] ? add_taint+0x1c/0x50 [ 22.187533] ? rds_sendmsg+0x1f02/0x1f90 [ 22.191567] kasan_end_report+0x50/0x50 [ 22.195507] kasan_report+0x144/0x340 [ 22.199276] __asan_report_load8_noabort+0x14/0x20 [ 22.204172] rds_sendmsg+0x1f02/0x1f90 [ 22.208040] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.212504] ? find_held_lock+0x35/0x1d0 [ 22.216538] ? sock_has_perm+0x2a4/0x420 [ 22.220566] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 22.225892] ? lock_downgrade+0x980/0x980 [ 22.230008] ? dup_iter+0x192/0x260 [ 22.233607] ? lock_release+0xa40/0xa40 [ 22.237558] ? selinux_socket_sendmsg+0x36/0x40 [ 22.242194] ? security_socket_sendmsg+0x89/0xb0 [ 22.246916] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.251564] sock_sendmsg+0xca/0x110 [ 22.255245] ___sys_sendmsg+0x320/0x8b0 [ 22.259188] ? copy_msghdr_from_user+0x590/0x590 [ 22.263909] ? __pmd_alloc+0x4e0/0x4e0 [ 22.267767] ? find_held_lock+0x35/0x1d0 [ 22.271799] ? __fget_light+0x297/0x380 [ 22.275737] ? fget_raw+0x20/0x20 [ 22.279158] ? find_held_lock+0x35/0x1d0 [ 22.283191] ? __do_page_fault+0x5f7/0xc90 [ 22.287571] ? lock_downgrade+0x980/0x980 [ 22.292299] __sys_sendmmsg+0x1ee/0x620 [ 22.296240] ? __sys_sendmmsg+0x1ee/0x620 [ 22.300362] ? SyS_sendmsg+0x50/0x50 [ 22.304047] ? mm_fault_error+0x2c0/0x2c0 [ 22.308169] ? __do_page_fault+0xc90/0xc90 [ 22.312381] ? syscall_return_slowpath+0x2ad/0x550 [ 22.317280] ? prepare_exit_to_usermode+0x340/0x340 [ 22.322265] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 22.327255] SyS_sendmmsg+0x35/0x60 [ 22.330854] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 22.335575] RIP: 0033:0x43fde9 [ 22.338731] RSP: 002b:00007fff8b053f98 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 22.346406] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 22.353648] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 22.360890] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 22.368125] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 22.375361] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 22.383147] Dumping ftrace buffer: [ 22.386658] (ftrace buffer empty) [ 22.390332] Kernel Offset: disabled [ 22.393926] Rebooting in 86400 seconds..