[....] Starting enhanced syslogd: rsyslogd[ 10.930732] audit: type=1400 audit(1514280615.020:5): avc: denied { syslog } for pid=2996 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.520912] audit: type=1400 audit(1514280619.610:6): avc: denied { map } for pid=3136 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-2,10.128.15.209' (ECDSA) to the list of known hosts. executing program [ 21.690063] audit: type=1400 audit(1514280625.779:7): avc: denied { map } for pid=3150 comm="syzkaller968450" path="/root/syzkaller968450678" 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.716756] ================================================================== [ 21.724132] BUG: KASAN: stack-out-of-bounds in rds_sendmsg+0x1f02/0x1f90 [ 21.730943] Read of size 8 at addr ffff8801c8ebfb70 by task syzkaller968450/3150 [ 21.738443] [ 21.740048] CPU: 1 PID: 3150 Comm: syzkaller968450 Not tainted 4.15.0-rc4-mm1+ #49 [ 21.747727] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.757069] Call Trace: [ 21.759633] dump_stack+0x194/0x257 [ 21.763232] ? arch_local_irq_restore+0x53/0x53 [ 21.767878] ? show_regs_print_info+0x18/0x18 [ 21.772361] ? _raw_spin_unlock_bh+0x30/0x40 [ 21.776741] ? rds_sendmsg+0x1f02/0x1f90 [ 21.780774] print_address_description+0x73/0x250 [ 21.785587] ? rds_sendmsg+0x1f02/0x1f90 [ 21.789619] kasan_report+0x23b/0x360 [ 21.793391] __asan_report_load8_noabort+0x14/0x20 [ 21.798285] rds_sendmsg+0x1f02/0x1f90 [ 21.802155] ? rds_send_drop_to+0x19d0/0x19d0 [ 21.806621] ? find_held_lock+0x35/0x1d0 [ 21.810701] ? sock_has_perm+0x2a4/0x420 [ 21.814734] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 21.820068] ? lock_downgrade+0x980/0x980 [ 21.824187] ? dup_iter+0x1a2/0x260 [ 21.827786] ? lock_release+0xa40/0xa40 [ 21.831741] ? selinux_socket_sendmsg+0x36/0x40 [ 21.836378] ? security_socket_sendmsg+0x89/0xb0 [ 21.841104] ? rds_send_drop_to+0x19d0/0x19d0 [ 21.845573] sock_sendmsg+0xca/0x110 [ 21.849257] ___sys_sendmsg+0x320/0x8b0 [ 21.853207] ? copy_msghdr_from_user+0x590/0x590 [ 21.857934] ? __pmd_alloc+0x4e0/0x4e0 [ 21.861819] ? find_held_lock+0x35/0x1d0 [ 21.865868] ? __fget_light+0x297/0x380 [ 21.869820] ? fget_raw+0x20/0x20 [ 21.873243] ? find_held_lock+0x35/0x1d0 [ 21.877282] ? __do_page_fault+0x5f7/0xc90 [ 21.881490] ? lock_downgrade+0x980/0x980 [ 21.885623] __sys_sendmmsg+0x1ee/0x620 [ 21.889571] ? __sys_sendmmsg+0x1ee/0x620 [ 21.893696] ? SyS_sendmsg+0x50/0x50 [ 21.897386] ? mm_fault_error+0x2c0/0x2c0 [ 21.901517] ? __do_page_fault+0xc90/0xc90 [ 21.905731] ? syscall_return_slowpath+0x2ad/0x550 [ 21.910644] ? prepare_exit_to_usermode+0x340/0x340 [ 21.915644] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 21.920639] SyS_sendmmsg+0x35/0x60 [ 21.924249] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 21.928979] RIP: 0033:0x43fde9 [ 21.932139] RSP: 002b:00007fff0dbaffe8 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 21.939818] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 21.947059] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 21.954296] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 21.961540] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 21.968777] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 21.976051] [ 21.977667] The buggy address belongs to the page: [ 21.982563] page:ffffea000723afc0 count:0 mapcount:0 mapping: (null) index:0x0 [ 21.990674] flags: 0x2fffc0000000000() [ 21.994539] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 22.002389] raw: 0000000000000000 ffffea0007230101 0000000000000000 0000000000000000 [ 22.010245] page dumped because: kasan: bad access detected [ 22.015926] [ 22.017522] Memory state around the buggy address: [ 22.022419] ffff8801c8ebfa00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 [ 22.029743] ffff8801c8ebfa80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 22.037068] >ffff8801c8ebfb00: 00 00 00 00 00 00 f2 f2 f2 f2 00 00 00 00 04 f2 [ 22.044389] ^ [ 22.051369] ffff8801c8ebfb80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 22.058695] ffff8801c8ebfc00: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 [ 22.066023] ================================================================== [ 22.073352] Disabling lock debugging due to kernel taint [ 22.078883] Kernel panic - not syncing: panic_on_warn set ... [ 22.078883] [ 22.086225] CPU: 1 PID: 3150 Comm: syzkaller968450 Tainted: G B 4.15.0-rc4-mm1+ #49 [ 22.095197] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.104516] Call Trace: [ 22.107077] dump_stack+0x194/0x257 [ 22.110684] ? arch_local_irq_restore+0x53/0x53 [ 22.115341] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.120088] ? vsnprintf+0x1ed/0x1900 [ 22.123857] ? rds_sendmsg+0x1e50/0x1f90 [ 22.127886] panic+0x1e4/0x41c [ 22.131049] ? refcount_error_report+0x214/0x214 [ 22.135771] ? add_taint+0x1c/0x50 [ 22.139278] ? add_taint+0x1c/0x50 [ 22.142784] ? rds_sendmsg+0x1f02/0x1f90 [ 22.146812] kasan_end_report+0x50/0x50 [ 22.150752] kasan_report+0x148/0x360 [ 22.154522] __asan_report_load8_noabort+0x14/0x20 [ 22.159420] rds_sendmsg+0x1f02/0x1f90 [ 22.163284] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.167754] ? find_held_lock+0x35/0x1d0 [ 22.171787] ? sock_has_perm+0x2a4/0x420 [ 22.175815] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 22.181145] ? lock_downgrade+0x980/0x980 [ 22.185261] ? dup_iter+0x1a2/0x260 [ 22.188856] ? lock_release+0xa40/0xa40 [ 22.192801] ? selinux_socket_sendmsg+0x36/0x40 [ 22.197439] ? security_socket_sendmsg+0x89/0xb0 [ 22.202162] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.206627] sock_sendmsg+0xca/0x110 [ 22.210309] ___sys_sendmsg+0x320/0x8b0 [ 22.214251] ? copy_msghdr_from_user+0x590/0x590 [ 22.218973] ? __pmd_alloc+0x4e0/0x4e0 [ 22.222836] ? find_held_lock+0x35/0x1d0 [ 22.226880] ? __fget_light+0x297/0x380 [ 22.230820] ? fget_raw+0x20/0x20 [ 22.234239] ? find_held_lock+0x35/0x1d0 [ 22.238281] ? __do_page_fault+0x5f7/0xc90 [ 22.242483] ? lock_downgrade+0x980/0x980 [ 22.246616] __sys_sendmmsg+0x1ee/0x620 [ 22.250557] ? __sys_sendmmsg+0x1ee/0x620 [ 22.254675] ? SyS_sendmsg+0x50/0x50 [ 22.258358] ? mm_fault_error+0x2c0/0x2c0 [ 22.262481] ? __do_page_fault+0xc90/0xc90 [ 22.266692] ? syscall_return_slowpath+0x2ad/0x550 [ 22.271588] ? prepare_exit_to_usermode+0x340/0x340 [ 22.276576] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 22.281566] SyS_sendmmsg+0x35/0x60 [ 22.285160] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 22.289880] RIP: 0033:0x43fde9 [ 22.293045] RSP: 002b:00007fff0dbaffe8 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 22.300725] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 22.307965] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 22.315205] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 22.322441] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 22.329686] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 22.337479] Dumping ftrace buffer: [ 22.340993] (ftrace buffer empty) [ 22.344669] Kernel Offset: disabled [ 22.348263] Rebooting in 86400 seconds..