[ 34.213153] audit: type=1800 audit(1550989915.882:28): pid=7399 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 34.867887] audit: type=1800 audit(1550989916.612:29): pid=7399 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 34.887326] audit: type=1800 audit(1550989916.612:30): pid=7399 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 [....] startpar: service(s) returned failure: rsyslog ...[?25l[?1c7[FAIL8[?25h[?0c failed! Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.10.37' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 45.454627] ================================================================== [ 45.462074] BUG: KASAN: use-after-free in __list_add_valid+0x9a/0xa0 [ 45.468548] Read of size 8 at addr ffff888093c74fa0 by task syz-executor693/9676 [ 45.476088] [ 45.477708] CPU: 0 PID: 9676 Comm: syz-executor693 Not tainted 5.0.0-rc7+ #86 [ 45.484961] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.494296] Call Trace: [ 45.496875] dump_stack+0x172/0x1f0 [ 45.500490] ? __list_add_valid+0x9a/0xa0 [ 45.504635] print_address_description.cold+0x7c/0x20d [ 45.509894] ? __list_add_valid+0x9a/0xa0 [ 45.514022] ? __list_add_valid+0x9a/0xa0 [ 45.518154] kasan_report.cold+0x1b/0x40 [ 45.522198] ? __list_add_valid+0x9a/0xa0 [ 45.526331] __asan_report_load8_noabort+0x14/0x20 [ 45.531245] __list_add_valid+0x9a/0xa0 [ 45.535204] rdma_listen+0x63b/0x8e0 [ 45.538904] ucma_listen+0x14d/0x1c0 [ 45.542611] ? ucma_notify+0x190/0x190 [ 45.546485] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 45.552007] ? _copy_from_user+0xdd/0x150 [ 45.556146] ucma_write+0x2da/0x3c0 [ 45.559757] ? ucma_notify+0x190/0x190 [ 45.563633] ? ucma_open+0x290/0x290 [ 45.567335] ? quarantine_put+0x1a0/0x1c0 [ 45.571485] ? kasan_check_read+0x11/0x20 [ 45.575620] __vfs_write+0x116/0x8e0 [ 45.579318] ? ucma_open+0x290/0x290 [ 45.583028] ? kernel_read+0x120/0x120 [ 45.586899] ? debug_lockdep_rcu_enabled+0x71/0xa0 [ 45.591827] ? common_file_perm+0x1d6/0x6f0 [ 45.596144] ? apparmor_file_permission+0x25/0x30 [ 45.600985] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.606505] ? security_file_permission+0x94/0x320 [ 45.611505] ? rw_verify_area+0x118/0x360 [ 45.615635] vfs_write+0x20c/0x580 [ 45.619163] ksys_write+0xea/0x1f0 [ 45.622685] ? __ia32_sys_read+0xb0/0xb0 [ 45.626730] ? do_fast_syscall_32+0xd1/0xc98 [ 45.631124] ? entry_SYSENTER_compat+0x70/0x7f [ 45.635688] ? do_fast_syscall_32+0xd1/0xc98 [ 45.640082] __ia32_sys_write+0x71/0xb0 [ 45.644041] do_fast_syscall_32+0x281/0xc98 [ 45.648352] entry_SYSENTER_compat+0x70/0x7f [ 45.652742] RIP: 0023:0xf7fd1869 [ 45.656090] Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 [ 45.674971] RSP: 002b:00000000ffc4b93c EFLAGS: 00000207 ORIG_RAX: 0000000000000004 [ 45.682660] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200001c0 [ 45.689909] RDX: 0000000000000010 RSI: 0000000000000004 RDI: 0000000000000003 [ 45.697162] RBP: 0000000020000200 R08: 0000000000000000 R09: 0000000000000000 [ 45.704411] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 45.711666] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 45.718921] [ 45.720529] Allocated by task 8444: [ 45.724143] save_stack+0x45/0xd0 [ 45.727586] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 45.732498] kasan_kmalloc+0x9/0x10 [ 45.736117] kmem_cache_alloc_trace+0x151/0x760 [ 45.740777] __rdma_create_id+0x5f/0x4e0 [ 45.744823] ucma_create_id+0x1de/0x640 [ 45.748778] ucma_write+0x2da/0x3c0 [ 45.752384] __vfs_write+0x116/0x8e0 [ 45.756078] vfs_write+0x20c/0x580 [ 45.759596] ksys_write+0xea/0x1f0 [ 45.763118] __ia32_sys_write+0x71/0xb0 [ 45.767082] do_fast_syscall_32+0x281/0xc98 [ 45.771392] entry_SYSENTER_compat+0x70/0x7f [ 45.775773] [ 45.777406] Freed by task 8444: [ 45.780666] save_stack+0x45/0xd0 [ 45.784102] __kasan_slab_free+0x102/0x150 [ 45.788318] kasan_slab_free+0xe/0x10 [ 45.792097] kfree+0xcf/0x230 [ 45.795188] rdma_destroy_id+0x723/0xab0 [ 45.799231] ucma_close+0x115/0x320 [ 45.802841] __fput+0x2df/0x8d0 [ 45.806105] ____fput+0x16/0x20 [ 45.809378] task_work_run+0x14a/0x1c0 [ 45.813249] exit_to_usermode_loop+0x273/0x2c0 [ 45.817815] do_fast_syscall_32+0xa9d/0xc98 [ 45.822133] entry_SYSENTER_compat+0x70/0x7f [ 45.826517] [ 45.828129] The buggy address belongs to the object at ffff888093c74dc0 [ 45.828129] which belongs to the cache kmalloc-2k of size 2048 [ 45.840778] The buggy address is located 480 bytes inside of [ 45.840778] 2048-byte region [ffff888093c74dc0, ffff888093c755c0) [ 45.852732] The buggy address belongs to the page: [ 45.857646] page:ffffea00024f1d00 count:1 mapcount:0 mapping:ffff88812c3f0c40 index:0x0 compound_mapcount: 0 [ 45.867592] flags: 0x1fffc0000010200(slab|head) [ 45.872244] raw: 01fffc0000010200 ffffea000251bb08 ffffea000241b888 ffff88812c3f0c40 [ 45.880105] raw: 0000000000000000 ffff888093c74540 0000000100000003 0000000000000000 [ 45.887976] page dumped because: kasan: bad access detected [ 45.893664] [ 45.895273] Memory state around the buggy address: [ 45.900189] ffff888093c74e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.907531] ffff888093c74f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.914872] >ffff888093c74f80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.922206] ^ [ 45.926593] ffff888093c75000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.933934] ffff888093c75080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.941268] ================================================================== [ 45.948602] Disabling lock debugging due to kernel taint [ 45.954675] Kernel panic - not syncing: panic_on_warn set ... [ 45.960561] CPU: 0 PID: 9676 Comm: syz-executor693 Tainted: G B 5.0.0-rc7+ #86 [ 45.969210] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.978541] Call Trace: [ 45.981119] dump_stack+0x172/0x1f0 [ 45.984733] panic+0x2cb/0x65c [ 45.987908] ? __warn_printk+0xf3/0xf3 [ 45.991789] ? __list_add_valid+0x9a/0xa0 [ 45.995931] ? preempt_schedule+0x4b/0x60 [ 46.000062] ? ___preempt_schedule+0x16/0x18 [ 46.004467] ? trace_hardirqs_on+0x5e/0x230 [ 46.008781] ? __list_add_valid+0x9a/0xa0 [ 46.012910] end_report+0x47/0x4f [ 46.016342] ? __list_add_valid+0x9a/0xa0 [ 46.020485] kasan_report.cold+0xe/0x40 [ 46.024450] ? __list_add_valid+0x9a/0xa0 [ 46.028592] __asan_report_load8_noabort+0x14/0x20 [ 46.033502] __list_add_valid+0x9a/0xa0 [ 46.037457] rdma_listen+0x63b/0x8e0 [ 46.041161] ucma_listen+0x14d/0x1c0 [ 46.044859] ? ucma_notify+0x190/0x190 [ 46.048733] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 46.054252] ? _copy_from_user+0xdd/0x150 [ 46.058380] ucma_write+0x2da/0x3c0 [ 46.062212] ? ucma_notify+0x190/0x190 [ 46.066079] ? ucma_open+0x290/0x290 [ 46.069789] ? quarantine_put+0x1a0/0x1c0 [ 46.073933] ? kasan_check_read+0x11/0x20 [ 46.078085] __vfs_write+0x116/0x8e0 [ 46.081817] ? ucma_open+0x290/0x290 [ 46.085516] ? kernel_read+0x120/0x120 [ 46.089384] ? debug_lockdep_rcu_enabled+0x71/0xa0 [ 46.094295] ? common_file_perm+0x1d6/0x6f0 [ 46.098602] ? apparmor_file_permission+0x25/0x30 [ 46.103444] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.108966] ? security_file_permission+0x94/0x320 [ 46.113884] ? rw_verify_area+0x118/0x360 [ 46.118062] vfs_write+0x20c/0x580 [ 46.121606] ksys_write+0xea/0x1f0 [ 46.125129] ? __ia32_sys_read+0xb0/0xb0 [ 46.129181] ? do_fast_syscall_32+0xd1/0xc98 [ 46.133589] ? entry_SYSENTER_compat+0x70/0x7f [ 46.138154] ? do_fast_syscall_32+0xd1/0xc98 [ 46.142570] __ia32_sys_write+0x71/0xb0 [ 46.146526] do_fast_syscall_32+0x281/0xc98 [ 46.150830] entry_SYSENTER_compat+0x70/0x7f [ 46.155219] RIP: 0023:0xf7fd1869 [ 46.158573] Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 [ 46.177457] RSP: 002b:00000000ffc4b93c EFLAGS: 00000207 ORIG_RAX: 0000000000000004 [ 46.185143] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200001c0 [ 46.192395] RDX: 0000000000000010 RSI: 0000000000000004 RDI: 0000000000000003 [ 46.199646] RBP: 0000000020000200 R08: 0000000000000000 R09: 0000000000000000 [ 46.206896] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 46.214146] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 46.222362] Kernel Offset: disabled [ 46.225998] Rebooting in 86400 seconds..