[....] Starting enhanced syslogd: rsyslogd[ 10.832449] audit: type=1400 audit(1514260768.353: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: [ 16.092682] audit: type=1400 audit(1514260773.613:6): avc: denied { map } for pid=3132 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-8,10.128.15.230' (ECDSA) to the list of known hosts. executing program [ 22.252869] audit: type=1400 audit(1514260779.773:7): avc: denied { map } for pid=3146 comm="syzkaller737345" path="/root/syzkaller737345338" 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.279515] ================================================================== [ 22.286892] BUG: KASAN: stack-out-of-bounds in rds_sendmsg+0x1f02/0x1f90 [ 22.293701] Read of size 8 at addr ffff8801ca357b70 by task syzkaller737345/3146 [ 22.301200] [ 22.302796] CPU: 0 PID: 3146 Comm: syzkaller737345 Not tainted 4.15.0-rc4+ #164 [ 22.310207] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.319528] Call Trace: [ 22.322086] dump_stack+0x194/0x257 [ 22.325683] ? arch_local_irq_restore+0x53/0x53 [ 22.330323] ? show_regs_print_info+0x18/0x18 [ 22.334787] ? _raw_spin_unlock_bh+0x30/0x40 [ 22.339163] ? rds_sendmsg+0x1f02/0x1f90 [ 22.343195] print_address_description+0x73/0x250 [ 22.348611] ? rds_sendmsg+0x1f02/0x1f90 [ 22.352640] kasan_report+0x25b/0x340 [ 22.356413] __asan_report_load8_noabort+0x14/0x20 [ 22.361307] rds_sendmsg+0x1f02/0x1f90 [ 22.365175] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.369638] ? find_held_lock+0x35/0x1d0 [ 22.373670] ? sock_has_perm+0x2a4/0x420 [ 22.377703] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 22.383036] ? lock_downgrade+0x980/0x980 [ 22.387149] ? dup_iter+0x1e2/0x260 [ 22.390744] ? lock_release+0xa40/0xa40 [ 22.394695] ? selinux_socket_sendmsg+0x36/0x40 [ 22.399331] ? security_socket_sendmsg+0x89/0xb0 [ 22.404050] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.408514] sock_sendmsg+0xca/0x110 [ 22.412201] ___sys_sendmsg+0x320/0x8b0 [ 22.416150] ? copy_msghdr_from_user+0x590/0x590 [ 22.420871] ? __pmd_alloc+0x4e0/0x4e0 [ 22.424731] ? find_held_lock+0x35/0x1d0 [ 22.428767] ? __fget_light+0x297/0x380 [ 22.432707] ? fget_raw+0x20/0x20 [ 22.436125] ? find_held_lock+0x35/0x1d0 [ 22.440159] ? __do_page_fault+0x5f7/0xc90 [ 22.444360] ? lock_downgrade+0x980/0x980 [ 22.448491] __sys_sendmmsg+0x1ee/0x620 [ 22.452430] ? __sys_sendmmsg+0x1ee/0x620 [ 22.456551] ? SyS_sendmsg+0x50/0x50 [ 22.460235] ? mm_fault_error+0x2c0/0x2c0 [ 22.464364] ? __do_page_fault+0xc90/0xc90 [ 22.468574] ? syscall_return_slowpath+0x2ad/0x550 [ 22.473469] ? prepare_exit_to_usermode+0x340/0x340 [ 22.478459] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 22.483447] SyS_sendmmsg+0x35/0x60 [ 22.487045] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 22.491765] RIP: 0033:0x43fde9 [ 22.494923] RSP: 002b:00007ffeefd058b8 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 22.502597] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 22.509832] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 22.517079] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 22.524314] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 22.531548] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 22.538800] [ 22.540395] The buggy address belongs to the page: [ 22.545292] page:000000001977c4c2 count:0 mapcount:0 mapping: (null) index:0x0 [ 22.553399] flags: 0x2fffc0000000000() [ 22.557252] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 22.565101] raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 [ 22.572949] page dumped because: kasan: bad access detected [ 22.578623] [ 22.580215] Memory state around the buggy address: [ 22.585111] ffff8801ca357a00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 [ 22.592434] ffff8801ca357a80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 22.599758] >ffff8801ca357b00: 00 00 00 00 00 00 f2 f2 f2 f2 00 00 00 00 04 f2 [ 22.607080] ^ [ 22.614055] ffff8801ca357b80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 22.621379] ffff8801ca357c00: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 [ 22.628707] ================================================================== [ 22.636031] Disabling lock debugging due to kernel taint [ 22.641609] Kernel panic - not syncing: panic_on_warn set ... [ 22.641609] [ 22.648954] CPU: 0 PID: 3146 Comm: syzkaller737345 Tainted: G B 4.15.0-rc4+ #164 [ 22.657668] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.666989] Call Trace: [ 22.669548] dump_stack+0x194/0x257 [ 22.673144] ? arch_local_irq_restore+0x53/0x53 [ 22.677790] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.682512] ? vsnprintf+0x1ed/0x1900 [ 22.686279] ? rds_sendmsg+0x1e80/0x1f90 [ 22.690307] panic+0x1e4/0x41c [ 22.693464] ? refcount_error_report+0x214/0x214 [ 22.698187] ? add_taint+0x1c/0x50 [ 22.701691] ? add_taint+0x1c/0x50 [ 22.705195] ? rds_sendmsg+0x1f02/0x1f90 [ 22.709224] kasan_end_report+0x50/0x50 [ 22.713164] kasan_report+0x144/0x340 [ 22.716932] __asan_report_load8_noabort+0x14/0x20 [ 22.721834] rds_sendmsg+0x1f02/0x1f90 [ 22.725695] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.730157] ? find_held_lock+0x35/0x1d0 [ 22.734186] ? sock_has_perm+0x2a4/0x420 [ 22.738213] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 22.743539] ? lock_downgrade+0x980/0x980 [ 22.747660] ? dup_iter+0x1e2/0x260 [ 22.751254] ? lock_release+0xa40/0xa40 [ 22.755198] ? selinux_socket_sendmsg+0x36/0x40 [ 22.759840] ? security_socket_sendmsg+0x89/0xb0 [ 22.764559] ? rds_send_drop_to+0x19d0/0x19d0 [ 22.769019] sock_sendmsg+0xca/0x110 [ 22.772696] ___sys_sendmsg+0x320/0x8b0 [ 22.776639] ? copy_msghdr_from_user+0x590/0x590 [ 22.781362] ? __pmd_alloc+0x4e0/0x4e0 [ 22.785218] ? find_held_lock+0x35/0x1d0 [ 22.789250] ? __fget_light+0x297/0x380 [ 22.793809] ? fget_raw+0x20/0x20 [ 22.797231] ? find_held_lock+0x35/0x1d0 [ 22.801268] ? __do_page_fault+0x5f7/0xc90 [ 22.805468] ? lock_downgrade+0x980/0x980 [ 22.809593] __sys_sendmmsg+0x1ee/0x620 [ 22.813534] ? __sys_sendmmsg+0x1ee/0x620 [ 22.817651] ? SyS_sendmsg+0x50/0x50 [ 22.821338] ? mm_fault_error+0x2c0/0x2c0 [ 22.825458] ? __do_page_fault+0xc90/0xc90 [ 22.829675] ? syscall_return_slowpath+0x2ad/0x550 [ 22.834569] ? prepare_exit_to_usermode+0x340/0x340 [ 22.839556] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 22.844540] SyS_sendmmsg+0x35/0x60 [ 22.848145] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 22.852868] RIP: 0033:0x43fde9 [ 22.856024] RSP: 002b:00007ffeefd058b8 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 22.863696] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fde9 [ 22.870930] RDX: 0000000000000001 RSI: 0000000020573000 RDI: 0000000000000003 [ 22.878163] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 22.885396] R10: 0000000000000000 R11: 0000000000000217 R12: 0000000000401750 [ 22.892631] R13: 00000000004017e0 R14: 0000000000000000 R15: 0000000000000000 [ 22.899916] Dumping ftrace buffer: [ 22.903422] (ftrace buffer empty) [ 22.907102] Kernel Offset: disabled [ 22.910694] Rebooting in 86400 seconds..