[....] Starting enhanced syslogd: rsyslogd[ 11.571066] audit: type=1400 audit(1513847197.202:5): avc: denied { syslog } for pid=2999 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: [ 17.455171] audit: type=1400 audit(1513847203.086:6): avc: denied { map } for pid=3139 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-2,10.128.15.215' (ECDSA) to the list of known hosts. executing program [ 38.478535] audit: type=1400 audit(1513847224.110:7): avc: denied { map } for pid=3157 comm="syzkaller455006" path="/root/syzkaller455006870" 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 [ 38.507318] ================================================================== [ 38.514711] BUG: KASAN: stack-out-of-bounds in rds_sendmsg+0x1f02/0x1f90 [ 38.521530] Read of size 8 at addr ffff8801c928fb70 by task syzkaller455006/3157 [ 38.529027] [ 38.530628] CPU: 0 PID: 3157 Comm: syzkaller455006 Not tainted 4.15.0-rc3+ #161 [ 38.538040] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.547360] Call Trace: [ 38.549922] dump_stack+0x194/0x257 [ 38.553521] ? arch_local_irq_restore+0x53/0x53 [ 38.558253] ? show_regs_print_info+0x18/0x18 [ 38.562722] ? _raw_spin_unlock_bh+0x30/0x40 [ 38.567100] ? rds_sendmsg+0x1f02/0x1f90 [ 38.571133] print_address_description+0x73/0x250 [ 38.575960] ? rds_sendmsg+0x1f02/0x1f90 [ 38.579989] kasan_report+0x25b/0x340 [ 38.583764] __asan_report_load8_noabort+0x14/0x20 [ 38.588668] rds_sendmsg+0x1f02/0x1f90 [ 38.592547] ? rds_send_drop_to+0x19d0/0x19d0 [ 38.597013] ? find_held_lock+0x35/0x1d0 [ 38.601048] ? sock_has_perm+0x2a4/0x420 [ 38.605079] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 38.610409] ? lock_downgrade+0x980/0x980 [ 38.614527] ? dup_iter+0x182/0x260 [ 38.618131] ? lock_release+0xa40/0xa40 [ 38.622084] ? selinux_socket_sendmsg+0x36/0x40 [ 38.626722] ? security_socket_sendmsg+0x89/0xb0 [ 38.631445] ? rds_send_drop_to+0x19d0/0x19d0 [ 38.635912] sock_sendmsg+0xca/0x110 [ 38.639594] ___sys_sendmsg+0x320/0x8b0 [ 38.643543] ? copy_msghdr_from_user+0x590/0x590 [ 38.648715] ? __pmd_alloc+0x4e0/0x4e0 [ 38.652587] ? __fget_light+0x297/0x380 [ 38.656530] ? fget_raw+0x20/0x20 [ 38.659948] ? find_held_lock+0x35/0x1d0 [ 38.663985] ? __do_page_fault+0x5f7/0xc90 [ 38.668187] ? lock_downgrade+0x980/0x980 [ 38.672708] __sys_sendmmsg+0x1ee/0x620 [ 38.676664] ? __sys_sendmmsg+0x1ee/0x620 [ 38.680791] ? SyS_sendmsg+0x50/0x50 [ 38.684478] ? mm_fault_error+0x2c0/0x2c0 [ 38.688693] ? __do_page_fault+0xc90/0xc90 [ 38.692904] ? syscall_return_slowpath+0x2ad/0x550 [ 38.697805] ? prepare_exit_to_usermode+0x340/0x340 [ 38.702794] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 38.708303] SyS_sendmmsg+0x35/0x60 [ 38.711899] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 38.716620] RIP: 0033:0x43fe49 [ 38.719777] RSP: 002b:00007fffbe244ad8 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 38.727454] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fe49 [ 38.734866] RDX: 0000000000000001 RSI: 000000002020c000 RDI: 0000000000000003 [ 38.742103] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 38.749437] R10: 0000000000000000 R11: 0000000000000217 R12: 00000000004017b0 [ 38.756674] R13: 0000000000401840 R14: 0000000000000000 R15: 0000000000000000 [ 38.763926] [ 38.765519] The buggy address belongs to the page: [ 38.770415] page:00000000b09dc24e count:0 mapcount:0 mapping: (null) index:0x0 [ 38.778783] flags: 0x2fffc0000000000() [ 38.782656] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 38.790501] raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 [ 38.798344] page dumped because: kasan: bad access detected [ 38.804017] [ 38.805611] Memory state around the buggy address: [ 38.810507] ffff8801c928fa00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 [ 38.818092] ffff8801c928fa80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 38.825679] >ffff8801c928fb00: 00 00 00 00 00 00 f2 f2 f2 f2 00 00 00 00 04 f2 [ 38.833004] ^ [ 38.839982] ffff8801c928fb80: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 [ 38.847306] ffff8801c928fc00: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 [ 38.854631] ================================================================== [ 38.861954] Disabling lock debugging due to kernel taint [ 38.867446] Kernel panic - not syncing: panic_on_warn set ... [ 38.867446] [ 38.874954] CPU: 0 PID: 3157 Comm: syzkaller455006 Tainted: G B 4.15.0-rc3+ #161 [ 38.883668] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.892995] Call Trace: [ 38.895554] dump_stack+0x194/0x257 [ 38.899159] ? arch_local_irq_restore+0x53/0x53 [ 38.904229] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 38.908950] ? vsnprintf+0x1ed/0x1900 [ 38.912716] ? rds_sendmsg+0x1ea0/0x1f90 [ 38.916750] panic+0x1e4/0x41c [ 38.919913] ? refcount_error_report+0x214/0x214 [ 38.924638] ? add_taint+0x1c/0x50 [ 38.928142] ? add_taint+0x1c/0x50 [ 38.931735] ? rds_sendmsg+0x1f02/0x1f90 [ 38.935764] kasan_end_report+0x50/0x50 [ 38.939704] kasan_report+0x144/0x340 [ 38.943471] __asan_report_load8_noabort+0x14/0x20 [ 38.948366] rds_sendmsg+0x1f02/0x1f90 [ 38.952234] ? rds_send_drop_to+0x19d0/0x19d0 [ 38.956709] ? find_held_lock+0x35/0x1d0 [ 38.961353] ? sock_has_perm+0x2a4/0x420 [ 38.965379] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 38.970708] ? lock_downgrade+0x980/0x980 [ 38.974823] ? dup_iter+0x182/0x260 [ 38.978415] ? lock_release+0xa40/0xa40 [ 38.982359] ? selinux_socket_sendmsg+0x36/0x40 [ 38.986991] ? security_socket_sendmsg+0x89/0xb0 [ 38.991711] ? rds_send_drop_to+0x19d0/0x19d0 [ 38.996173] sock_sendmsg+0xca/0x110 [ 38.999856] ___sys_sendmsg+0x320/0x8b0 [ 39.004420] ? copy_msghdr_from_user+0x590/0x590 [ 39.009144] ? __pmd_alloc+0x4e0/0x4e0 [ 39.013005] ? __fget_light+0x297/0x380 [ 39.016952] ? fget_raw+0x20/0x20 [ 39.020370] ? find_held_lock+0x35/0x1d0 [ 39.024399] ? __do_page_fault+0x5f7/0xc90 [ 39.028598] ? lock_downgrade+0x980/0x980 [ 39.032722] __sys_sendmmsg+0x1ee/0x620 [ 39.036662] ? __sys_sendmmsg+0x1ee/0x620 [ 39.041039] ? SyS_sendmsg+0x50/0x50 [ 39.044720] ? mm_fault_error+0x2c0/0x2c0 [ 39.048839] ? __do_page_fault+0xc90/0xc90 [ 39.053044] ? syscall_return_slowpath+0x2ad/0x550 [ 39.057937] ? prepare_exit_to_usermode+0x340/0x340 [ 39.062921] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 39.068166] SyS_sendmmsg+0x35/0x60 [ 39.071763] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 39.076485] RIP: 0033:0x43fe49 [ 39.079641] RSP: 002b:00007fffbe244ad8 EFLAGS: 00000217 ORIG_RAX: 0000000000000133 [ 39.087314] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fe49 [ 39.094549] RDX: 0000000000000001 RSI: 000000002020c000 RDI: 0000000000000003 [ 39.101784] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 39.109024] R10: 0000000000000000 R11: 0000000000000217 R12: 00000000004017b0 [ 39.116259] R13: 0000000000401840 R14: 0000000000000000 R15: 0000000000000000 [ 39.123549] Dumping ftrace buffer: [ 39.127058] (ftrace buffer empty) [ 39.130734] Kernel Offset: disabled [ 39.134326] Rebooting in 86400 seconds..