[?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. [ 18.777647] audit: type=1400 audit(1520533120.060:6): avc: denied { map } for pid=4221 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 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.10.7' (ECDSA) to the list of known hosts. syzkaller login: [ 37.493322] audit: type=1400 audit(1520533138.776:7): avc: denied { map } for pid=4238 comm="syz-execprog" path="/root/syz-execprog" dev="sda1" ino=16479 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 2018/03/08 18:18:59 parsed 1 programs 2018/03/08 18:18:59 executed programs: 0 [ 37.730519] audit: type=1400 audit(1520533139.012:8): avc: denied { map } for pid=4238 comm="syz-execprog" path="/root/syzkaller-shm000733840" dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file permissive=1 [ 37.738139] IPVS: ftp: loaded support on port[0] = 21 [ 37.786048] ================================================================== [ 37.793511] BUG: KASAN: stack-out-of-bounds in rdma_bind_addr+0x156/0x1b50 [ 37.800520] Read of size 48 at addr ffff8801d2837a00 by task syz-executor0/4246 [ 37.807938] [ 37.809540] CPU: 1 PID: 4246 Comm: syz-executor0 Not tainted 4.16.0-rc4+ #256 [ 37.816788] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.826114] Call Trace: [ 37.828677] dump_stack+0x194/0x24d [ 37.832289] ? arch_local_irq_restore+0x53/0x53 [ 37.836934] ? show_regs_print_info+0x18/0x18 [ 37.841404] ? lock_release+0xa40/0xa40 [ 37.845366] ? __radix_tree_lookup+0x435/0x5e0 [ 37.849922] ? get_futex_key+0x1d50/0x1d50 [ 37.854135] ? rdma_bind_addr+0x156/0x1b50 [ 37.858346] print_address_description+0x73/0x250 [ 37.863167] ? rdma_bind_addr+0x156/0x1b50 [ 37.867376] kasan_report+0x23c/0x360 [ 37.871153] check_memory_region+0x137/0x190 [ 37.875532] memcpy+0x23/0x50 [ 37.878613] rdma_bind_addr+0x156/0x1b50 [ 37.882652] ? lock_release+0xa40/0xa40 [ 37.886601] ? check_same_owner+0x320/0x320 [ 37.890901] ? cma_ndev_work_handler+0x1a0/0x1a0 [ 37.895643] ucma_bind_ip+0x10a/0x190 [ 37.899417] ? ucma_bind+0x260/0x260 [ 37.903108] ? ucma_bind+0x260/0x260 [ 37.906801] ucma_write+0x2d6/0x3d0 [ 37.910398] ? ucma_bind+0x260/0x260 [ 37.914085] ? ucma_resolve_route+0x1a0/0x1a0 [ 37.918560] ? ucma_resolve_route+0x1a0/0x1a0 [ 37.923027] __vfs_write+0xef/0x970 [ 37.926627] ? rcu_note_context_switch+0x710/0x710 [ 37.931529] ? kernel_read+0x120/0x120 [ 37.935394] ? __might_sleep+0x95/0x190 [ 37.939344] ? _cond_resched+0x14/0x30 [ 37.943207] ? __inode_security_revalidate+0xd9/0x130 [ 37.948383] ? avc_policy_seqno+0x9/0x20 [ 37.952422] ? selinux_file_permission+0x82/0x460 [ 37.957252] ? security_file_permission+0x89/0x1e0 [ 37.962165] ? rw_verify_area+0xe5/0x2b0 [ 37.966199] ? __fdget_raw+0x20/0x20 [ 37.969890] vfs_write+0x189/0x510 [ 37.973407] SyS_write+0xef/0x220 [ 37.976835] ? __do_page_fault+0x3d6/0xc90 [ 37.981054] ? SyS_read+0x220/0x220 [ 37.984678] ? do_fast_syscall_32+0x156/0xf9f [ 37.989173] ? SyS_read+0x220/0x220 [ 37.992774] do_fast_syscall_32+0x3ec/0xf9f [ 37.997075] ? do_int80_syscall_32+0x9c0/0x9c0 [ 38.001632] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 38.006381] ? syscall_return_slowpath+0x2ac/0x550 [ 38.011283] ? prepare_exit_to_usermode+0x350/0x350 [ 38.016273] ? sysret32_from_system_call+0x5/0x3c [ 38.021098] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 38.025920] entry_SYSENTER_compat+0x70/0x7f [ 38.030300] RIP: 0023:0xf7f38c99 [ 38.033634] RSP: 002b:00000000ffd8b85c EFLAGS: 00000286 ORIG_RAX: 0000000000000004 [ 38.041324] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000bc0 [ 38.048564] RDX: 0000000000000024 RSI: 0000000000000000 RDI: 0000000000000000 [ 38.055806] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 38.063048] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 38.070291] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 38.077563] [ 38.079172] The buggy address belongs to the page: [ 38.084098] page:ffffea00074a0dc0 count:0 mapcount:0 mapping:0000000000000000 index:0x0 [ 38.092212] flags: 0x2fffc0000000000() [ 38.096070] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 38.103924] raw: 0000000000000000 ffffea00074a0de0 0000000000000000 0000000000000000 [ 38.111778] page dumped because: kasan: bad access detected [ 38.117460] [ 38.119060] Memory state around the buggy address: [ 38.123962] ffff8801d2837900: f1 f1 f1 f1 04 f2 f2 f2 f2 f2 f2 f2 04 f2 f2 f2 [ 38.131291] ffff8801d2837980: f3 f3 f3 f3 00 00 00 00 00 00 00 f1 f1 f1 f1 00 [ 38.138621] >ffff8801d2837a00: 00 00 00 00 f2 f2 f2 00 00 00 00 00 00 00 00 00 [ 38.145959] ^ [ 38.150335] ffff8801d2837a80: 00 00 00 00 00 f1 f1 f1 f1 00 f2 f2 f2 f3 f3 f3 [ 38.157670] ffff8801d2837b00: f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 [ 38.164997] ================================================================== [ 38.172333] Disabling lock debugging due to kernel taint [ 38.177810] Kernel panic - not syncing: panic_on_warn set ... [ 38.177810] [ 38.185146] CPU: 1 PID: 4246 Comm: syz-executor0 Tainted: G B 4.16.0-rc4+ #256 [ 38.193693] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.203016] Call Trace: [ 38.205580] dump_stack+0x194/0x24d [ 38.209180] ? arch_local_irq_restore+0x53/0x53 [ 38.213819] ? kasan_end_report+0x32/0x50 [ 38.217943] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 38.222677] ? vsnprintf+0x1ed/0x1900 [ 38.226449] ? rdma_bind_addr+0x150/0x1b50 [ 38.230654] panic+0x1e4/0x41c [ 38.233819] ? refcount_error_report+0x214/0x214 [ 38.238553] ? add_taint+0x1c/0x50 [ 38.242072] ? add_taint+0x1c/0x50 [ 38.245585] ? rdma_bind_addr+0x156/0x1b50 [ 38.249797] kasan_end_report+0x50/0x50 [ 38.253747] kasan_report+0x149/0x360 [ 38.257520] check_memory_region+0x137/0x190 [ 38.261898] memcpy+0x23/0x50 [ 38.264975] rdma_bind_addr+0x156/0x1b50 [ 38.269006] ? lock_release+0xa40/0xa40 [ 38.272956] ? check_same_owner+0x320/0x320 [ 38.277251] ? cma_ndev_work_handler+0x1a0/0x1a0 [ 38.281986] ucma_bind_ip+0x10a/0x190 [ 38.285758] ? ucma_bind+0x260/0x260 [ 38.289443] ? ucma_bind+0x260/0x260 [ 38.293141] ucma_write+0x2d6/0x3d0 [ 38.296741] ? ucma_bind+0x260/0x260 [ 38.300426] ? ucma_resolve_route+0x1a0/0x1a0 [ 38.304899] ? ucma_resolve_route+0x1a0/0x1a0 [ 38.309364] __vfs_write+0xef/0x970 [ 38.312964] ? rcu_note_context_switch+0x710/0x710 [ 38.317863] ? kernel_read+0x120/0x120 [ 38.321732] ? __might_sleep+0x95/0x190 [ 38.325703] ? _cond_resched+0x14/0x30 [ 38.329567] ? __inode_security_revalidate+0xd9/0x130 [ 38.334726] ? avc_policy_seqno+0x9/0x20 [ 38.338758] ? selinux_file_permission+0x82/0x460 [ 38.343572] ? security_file_permission+0x89/0x1e0 [ 38.348469] ? rw_verify_area+0xe5/0x2b0 [ 38.352495] ? __fdget_raw+0x20/0x20 [ 38.356178] vfs_write+0x189/0x510 [ 38.359688] SyS_write+0xef/0x220 [ 38.363115] ? __do_page_fault+0x3d6/0xc90 [ 38.367321] ? SyS_read+0x220/0x220 [ 38.370919] ? do_fast_syscall_32+0x156/0xf9f [ 38.375383] ? SyS_read+0x220/0x220 [ 38.378985] do_fast_syscall_32+0x3ec/0xf9f [ 38.383289] ? do_int80_syscall_32+0x9c0/0x9c0 [ 38.387842] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 38.392570] ? syscall_return_slowpath+0x2ac/0x550 [ 38.397466] ? prepare_exit_to_usermode+0x350/0x350 [ 38.402452] ? sysret32_from_system_call+0x5/0x3c [ 38.407266] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 38.412085] entry_SYSENTER_compat+0x70/0x7f [ 38.416463] RIP: 0023:0xf7f38c99 [ 38.419795] RSP: 002b:00000000ffd8b85c EFLAGS: 00000286 ORIG_RAX: 0000000000000004 [ 38.427468] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000bc0 [ 38.434704] RDX: 0000000000000024 RSI: 0000000000000000 RDI: 0000000000000000 [ 38.441941] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 38.449189] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 38.456427] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 38.464034] Dumping ftrace buffer: [ 38.467548] (ftrace buffer empty) [ 38.471231] Kernel Offset: disabled [ 38.474827] Rebooting in 86400 seconds..