[....] Starting enhanced syslogd: rsyslogd[ 11.396199] audit: type=1400 audit(1514272917.168:5): avc: denied { syslog } for pid=2998 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.717783] audit: type=1400 audit(1514272922.489:6): avc: denied { map } for pid=3137 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-net-kasan-gce-1,10.128.0.39' (ECDSA) to the list of known hosts. executing program [ 22.907422] audit: type=1400 audit(1514272928.679:7): avc: denied { map } for pid=3151 comm="syzkaller375384" path="/root/syzkaller375384633" 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 [ 22.934066] ================================================================== [ 22.941452] BUG: KASAN: stack-out-of-bounds in rds_sendmsg+0x1f02/0x1f90 [ 22.948264] Read of size 8 at addr ffff8801c8477b70 by task syzkaller375384/3151 [ 22.955761] [ 22.957366] CPU: 1 PID: 3151 Comm: syzkaller375384 Not tainted 4.15.0-rc4+ #164 [ 22.964787] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.974105] Call Trace: [ 22.976663] dump_stack+0x194/0x257 [ 22.980260] ? arch_local_irq_restore+0x53/0x53 [ 22.984906] ? show_regs_print_info+0x18/0x18 [ 22.989381] ? _raw_spin_unlock_bh+0x30/0x40 [ 22.994531] ? rds_sendmsg+0x1f02/0x1f90 [ 22.998564] print_address_description+0x73/0x250 [ 23.003373] ? rds_sendmsg+0x1f02/0x1f90 [ 23.007408] kasan_report+0x25b/0x340 [ 23.011181] __asan_report_load8_noabort+0x14/0x20 [ 23.016077] rds_sendmsg+0x1f02/0x1f90 [ 23.019947] ? rds_send_drop_to+0x19d0/0x19d0 [ 23.024413] ? find_held_lock+0x35/0x1d0 [ 23.028449] ? sock_has_perm+0x2a4/0x420 [ 23.032478] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 23.037805] ? lock_downgrade+0x980/0x980 [ 23.041918] ? dup_iter+0x1e2/0x260 [ 23.045514] ? lock_release+0xa40/0xa40 [ 23.049465] ? selinux_socket_sendmsg+0x36/0x40 [ 23.054100] ? security_socket_sendmsg+0x89/0xb0 [ 23.058819] ? rds_send_drop_to+0x19d0/0x19d0 [ 23.063283] sock_sendmsg+0xca/0x110 [ 23.066964] ___sys_sendmsg+0x320/0x8b0 [ 23.070921] ? copy_msghdr_from_user+0x590/0x590 [ 23.075645] ? __pmd_alloc+0x4e0/0x4e0 [ 23.079504] ? find_held_lock+0x35/0x1d0 [ 23.083541] ? __fget_light+0x297/0x380 [ 23.087493] ? fget_raw+0x20/0x20 [ 23.090911] ? find_held_lock+0x35/0x1d0 [ 23.094951] ? __do_page_fault+0x5f7/0xc90 [ 23.099157] ? lock_downgrade+0x980/0x980 [ 23.103288] __sys_sendmmsg+0x1ee/0x620 [ 23.107232] ? __sys_sendmmsg+0x1ee/0x620 [ 23.111355] ? SyS_sendmsg+0x50/0x50 [ 23.115041] ? mm_fault_error+0x2c0/0x2c0 [ 23.119173] ? __do_page_fault+0xc90/0xc90 [ 23.123383] ? syscall_return_slowpath+0x2ad/0x550 [ 23.128279] ? prepare_exit_to_usermode+0x340/0x340 [ 23.133266] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 23.138259] SyS_sendmmsg+0x35/0x60 [ 23.141859] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 23.146580] RIP: 0033:0x43fde9 [ 23.149737] RSP: 002b:00007ffeae6d1c38 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 23.157412] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 23.164646] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 23.171881] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 23.179117] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 23.186355] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 23.193610] [ 23.195202] The buggy address belongs to the page: [ 23.200098] page:00000000c210b367 count:0 mapcount:0 mapping: (null) index:0x0 [ 23.208207] flags: 0x2fffc0000000000() [ 23.212062] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 23.219910] raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 [ 23.227756] page dumped because: kasan: bad access detected [ 23.233523] [ 23.235116] Memory state around the buggy address: [ 23.240010] ffff8801c8477a00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 [ 23.247336] ffff8801c8477a80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 23.254660] >ffff8801c8477b00: 00 00 00 00 00 00 f2 f2 f2 f2 00 00 00 00 04 f2 [ 23.261982] ^ [ 23.268958] ffff8801c8477b80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 23.276287] ffff8801c8477c00: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 [ 23.283609] ================================================================== [ 23.290930] Disabling lock debugging due to kernel taint [ 23.296460] Kernel panic - not syncing: panic_on_warn set ... [ 23.296460] [ 23.303806] CPU: 1 PID: 3151 Comm: syzkaller375384 Tainted: G B 4.15.0-rc4+ #164 [ 23.312517] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.321846] Call Trace: [ 23.324406] dump_stack+0x194/0x257 [ 23.328000] ? arch_local_irq_restore+0x53/0x53 [ 23.332638] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 23.337363] ? vsnprintf+0x1ed/0x1900 [ 23.341128] ? rds_sendmsg+0x1e80/0x1f90 [ 23.345156] panic+0x1e4/0x41c [ 23.348314] ? refcount_error_report+0x214/0x214 [ 23.353035] ? add_taint+0x1c/0x50 [ 23.356539] ? add_taint+0x1c/0x50 [ 23.360042] ? rds_sendmsg+0x1f02/0x1f90 [ 23.364068] kasan_end_report+0x50/0x50 [ 23.368005] kasan_report+0x144/0x340 [ 23.371770] __asan_report_load8_noabort+0x14/0x20 [ 23.376662] rds_sendmsg+0x1f02/0x1f90 [ 23.380519] ? rds_send_drop_to+0x19d0/0x19d0 [ 23.384982] ? find_held_lock+0x35/0x1d0 [ 23.389017] ? sock_has_perm+0x2a4/0x420 [ 23.393043] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 23.398375] ? lock_downgrade+0x980/0x980 [ 23.402488] ? dup_iter+0x1e2/0x260 [ 23.406082] ? lock_release+0xa40/0xa40 [ 23.410028] ? selinux_socket_sendmsg+0x36/0x40 [ 23.414665] ? security_socket_sendmsg+0x89/0xb0 [ 23.419385] ? rds_send_drop_to+0x19d0/0x19d0 [ 23.423848] sock_sendmsg+0xca/0x110 [ 23.427529] ___sys_sendmsg+0x320/0x8b0 [ 23.431472] ? copy_msghdr_from_user+0x590/0x590 [ 23.436197] ? __pmd_alloc+0x4e0/0x4e0 [ 23.440085] ? find_held_lock+0x35/0x1d0 [ 23.444120] ? __fget_light+0x297/0x380 [ 23.448068] ? fget_raw+0x20/0x20 [ 23.451493] ? find_held_lock+0x35/0x1d0 [ 23.455534] ? __do_page_fault+0x5f7/0xc90 [ 23.459734] ? lock_downgrade+0x980/0x980 [ 23.463855] __sys_sendmmsg+0x1ee/0x620 [ 23.467794] ? __sys_sendmmsg+0x1ee/0x620 [ 23.471911] ? SyS_sendmsg+0x50/0x50 [ 23.475591] ? mm_fault_error+0x2c0/0x2c0 [ 23.479710] ? __do_page_fault+0xc90/0xc90 [ 23.483915] ? syscall_return_slowpath+0x2ad/0x550 [ 23.488808] ? prepare_exit_to_usermode+0x340/0x340 [ 23.493790] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 23.498774] SyS_sendmmsg+0x35/0x60 [ 23.502367] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 23.507085] RIP: 0033:0x43fde9 [ 23.510237] RSP: 002b:00007ffeae6d1c38 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 23.517912] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 23.525149] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 23.532384] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 23.539620] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 23.546856] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 23.554134] Dumping ftrace buffer: [ 23.557654] (ftrace buffer empty) [ 23.561332] Kernel Offset: disabled [ 23.564927] Rebooting in 86400 seconds..