Warning: Permanently added '10.128.0.32' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 47.720798] kauditd_printk_skb: 2 callbacks suppressed [ 47.720812] audit: type=1400 audit(1569207014.147:36): avc: denied { map } for pid=7515 comm="syz-executor878" path="/root/syz-executor878647241" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 47.740006] FAULT_INJECTION: forcing a failure. [ 47.740006] name failslab, interval 1, probability 0, space 0, times 1 [ 47.765506] CPU: 1 PID: 7515 Comm: syz-executor878 Not tainted 4.19.75 #0 [ 47.772555] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.781904] Call Trace: [ 47.784490] dump_stack+0x172/0x1f0 [ 47.788111] should_fail.cold+0xa/0x1b [ 47.791986] ? fault_create_debugfs_attr+0x1e0/0x1e0 [ 47.797083] ? lock_downgrade+0x810/0x810 [ 47.801229] __should_failslab+0x121/0x190 [ 47.805453] should_failslab+0x9/0x14 [ 47.809242] kmem_cache_alloc_trace+0x2cc/0x760 [ 47.814531] ? kasan_check_read+0x11/0x20 [ 47.818672] cma_alloc_port+0x4d/0x190 [ 47.822554] rdma_bind_addr+0x165a/0x1f80 [ 47.826688] ? ucma_get_ctx+0x82/0x160 [ 47.830564] ? cma_ndev_work_handler+0x1b0/0x1b0 [ 47.835303] ? __lock_acquire+0x6ee/0x49c0 [ 47.839525] ? lock_downgrade+0x810/0x810 [ 47.843663] rdma_resolve_addr+0x438/0x2140 [ 47.847972] ? kasan_check_write+0x14/0x20 [ 47.852196] ? __mutex_unlock_slowpath+0xf8/0x6b0 [ 47.857021] ? lock_downgrade+0x810/0x810 [ 47.861179] ? __radix_tree_lookup+0x219/0x380 [ 47.865781] ? rdma_bind_addr+0x1f80/0x1f80 [ 47.870120] ucma_resolve_addr+0x1b7/0x270 [ 47.874354] ? ucma_resolve_route+0x160/0x160 [ 47.878853] ? mark_held_locks+0x100/0x100 [ 47.883089] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 47.888612] ? _copy_from_user+0xdd/0x150 [ 47.892746] ucma_write+0x2d7/0x3c0 [ 47.896367] ? ucma_resolve_route+0x160/0x160 [ 47.900857] ? ucma_open+0x290/0x290 [ 47.904560] __vfs_write+0x114/0x810 [ 47.908286] ? ucma_open+0x290/0x290 [ 47.912007] ? kernel_read+0x120/0x120 [ 47.915889] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 47.921422] ? __inode_security_revalidate+0xda/0x120 [ 47.926618] ? avc_policy_seqno+0xd/0x70 [ 47.930674] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 47.935687] ? selinux_file_permission+0x92/0x550 [ 47.940519] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.946692] ? security_file_permission+0x89/0x230 [ 47.951612] ? rw_verify_area+0x118/0x360 [ 47.955748] vfs_write+0x20c/0x560 [ 47.959278] ksys_write+0x14f/0x2d0 [ 47.962890] ? __ia32_sys_read+0xb0/0xb0 [ 47.966937] ? do_syscall_64+0x26/0x620 [ 47.970900] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 47.976247] ? do_syscall_64+0x26/0x620 [ 47.980222] __x64_sys_write+0x73/0xb0 [ 47.984105] do_syscall_64+0xfd/0x620 [ 47.987896] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 47.993251] RIP: 0033:0x4406f9 [ 47.996442] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b 14 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 48.015340] RSP: 002b:00007ffe2fe5bc58 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 48.023045] RAX: ffffffffffffffda RBX: 00007ffe2fe5bc60 RCX: 00000000004406f9 [ 48.030317] RDX: 000000000000031f RSI: 0000000020000140 RDI: 0000000000000003 [ 48.037571] RBP: 0000000000000005 R08: 0000000000000001 R09: 00007ffe2fe50031 [ 48.044969] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401fe0 [ 48.052246] R13: 0000000000402070 R14: 0000000000000000 R15: 0000000000000000 [ 48.063401] ================================================================== [ 48.070874] BUG: KASAN: use-after-free in wait_consider_task+0x1b51/0x3910 [ 48.077880] Read of size 4 at addr ffff88808e2f09ec by task sshd/7513 [ 48.084452] [ 48.086082] CPU: 0 PID: 7513 Comm: sshd Not tainted 4.19.75 #0 [ 48.092052] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 48.101392] Call Trace: [ 48.103975] dump_stack+0x172/0x1f0 [ 48.107590] ? wait_consider_task+0x1b51/0x3910 [ 48.112264] print_address_description.cold+0x7c/0x20d [ 48.117617] ? wait_consider_task+0x1b51/0x3910 [ 48.122367] kasan_report.cold+0x8c/0x2ba [ 48.126527] __asan_report_load4_noabort+0x14/0x20 [ 48.131446] wait_consider_task+0x1b51/0x3910 [ 48.135935] ? _raw_spin_unlock_irqrestore+0x6b/0xe0 [ 48.141025] ? add_wait_queue+0x112/0x170 [ 48.145163] ? release_task+0x1630/0x1630 [ 48.149477] ? lock_acquire+0x16f/0x3f0 [ 48.153447] ? do_wait+0x3aa/0x9d0 [ 48.156987] ? kasan_check_write+0x14/0x20 [ 48.161224] do_wait+0x439/0x9d0 [ 48.164595] ? wait_consider_task+0x3910/0x3910 [ 48.169269] ? mark_held_locks+0x100/0x100 [ 48.173507] kernel_wait4+0x171/0x290 [ 48.177319] ? __ia32_sys_waitid+0x140/0x140 [ 48.181714] ? task_stopped_code+0x180/0x180 [ 48.186123] __do_sys_wait4+0x147/0x160 [ 48.190081] ? kernel_wait4+0x290/0x290 [ 48.194047] ? kasan_check_read+0x11/0x20 [ 48.198183] ? _copy_to_user+0xc9/0x120 [ 48.202158] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 48.207683] ? __x64_sys_rt_sigprocmask+0x21d/0x2e0 [ 48.212699] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 48.217442] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 48.222181] ? do_syscall_64+0x26/0x620 [ 48.226140] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.231490] ? do_syscall_64+0x26/0x620 [ 48.235454] __x64_sys_wait4+0x97/0xf0 [ 48.239333] do_syscall_64+0xfd/0x620 [ 48.243145] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.248323] RIP: 0033:0x7ff8264d8a3e [ 48.252222] Code: 90 90 90 90 90 90 90 90 90 90 90 90 48 83 ec 28 8b 05 c2 eb 2d 00 85 c0 75 1d 45 31 d2 48 63 d2 48 63 ff b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 48 83 c4 28 c3 89 54 24 08 48 89 74 24 10 [ 48.271117] RSP: 002b:00007ffc08e27f50 EFLAGS: 00000246 ORIG_RAX: 000000000000003d [ 48.278815] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff8264d8a3e [ 48.286171] RDX: 0000000000000001 RSI: 00007ffc08e27f8c RDI: ffffffffffffffff [ 48.293426] RBP: 000055cb34b7bc88 R08: 00007ffc08e28050 R09: 0101010101010101 [ 48.300682] R10: 0000000000000000 R11: 0000000000000246 R12: 000055cb363b3db0 [ 48.307934] R13: 000055cb34b79fb4 R14: 0000000000000028 R15: 000055cb34b7bca0 [ 48.315727] [ 48.317343] Allocated by task 7513: [ 48.320963] save_stack+0x45/0xd0 [ 48.324401] kasan_kmalloc+0xce/0xf0 [ 48.328114] kasan_slab_alloc+0xf/0x20 [ 48.332005] kmem_cache_alloc_node+0x144/0x710 [ 48.336581] copy_process.part.0+0x1ce0/0x7a30 [ 48.341155] _do_fork+0x257/0xfd0 [ 48.344594] __x64_sys_clone+0xbf/0x150 [ 48.348690] do_syscall_64+0xfd/0x620 [ 48.352486] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.357657] [ 48.359269] Freed by task 0: [ 48.362278] save_stack+0x45/0xd0 [ 48.365715] __kasan_slab_free+0x102/0x150 [ 48.369936] kasan_slab_free+0xe/0x10 [ 48.374240] kmem_cache_free+0x86/0x260 [ 48.378198] free_task+0xdd/0x120 [ 48.381634] __put_task_struct+0x20f/0x4c0 [ 48.385862] finish_task_switch+0x52b/0x780 [ 48.390170] __schedule+0x86e/0x1dc0 [ 48.393868] schedule_idle+0x58/0x80 [ 48.397564] do_idle+0x192/0x560 [ 48.400913] cpu_startup_entry+0xc8/0xe0 [ 48.404959] start_secondary+0x3e8/0x5b0 [ 48.409004] secondary_startup_64+0xa4/0xb0 [ 48.413301] [ 48.414916] The buggy address belongs to the object at ffff88808e2f0580 [ 48.414916] which belongs to the cache task_struct of size 6080 [ 48.427657] The buggy address is located 1132 bytes inside of [ 48.427657] 6080-byte region [ffff88808e2f0580, ffff88808e2f1d40) [ 48.439696] The buggy address belongs to the page: [ 48.444614] page:ffffea000238bc00 count:1 mapcount:0 mapping:ffff88812c26d800 index:0x0 compound_mapcount: 0 [ 48.454675] flags: 0x1fffc0000008100(slab|head) [ 48.459403] raw: 01fffc0000008100 ffffea0002628388 ffffea000253bd08 ffff88812c26d800 [ 48.467457] raw: 0000000000000000 ffff88808e2f0580 0000000100000001 0000000000000000 [ 48.475547] page dumped because: kasan: bad access detected [ 48.481247] [ 48.482860] Memory state around the buggy address: [ 48.487785] ffff88808e2f0880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 48.495129] ffff88808e2f0900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 48.502507] >ffff88808e2f0980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 48.509868] ^ [ 48.516781] ffff88808e2f0a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 48.524146] ffff88808e2f0a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 48.531625] ================================================================== [ 48.539062] Disabling lock debugging due to kernel taint [ 48.544647] Kernel panic - not syncing: panic_on_warn set ... [ 48.544647] [ 48.552042] CPU: 0 PID: 7513 Comm: sshd Tainted: G B 4.19.75 #0 [ 48.559395] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 48.568742] Call Trace: [ 48.571538] dump_stack+0x172/0x1f0 [ 48.575154] ? wait_consider_task+0x1b51/0x3910 [ 48.579810] panic+0x263/0x507 [ 48.582992] ? __warn_printk+0xf3/0xf3 [ 48.586866] ? retint_kernel+0x2d/0x2d [ 48.590744] ? trace_hardirqs_on+0x5e/0x220 [ 48.595092] ? wait_consider_task+0x1b51/0x3910 [ 48.599751] kasan_end_report+0x47/0x4f [ 48.603725] kasan_report.cold+0xa9/0x2ba [ 48.607861] __asan_report_load4_noabort+0x14/0x20 [ 48.612781] wait_consider_task+0x1b51/0x3910 [ 48.617266] ? _raw_spin_unlock_irqrestore+0x6b/0xe0 [ 48.622354] ? add_wait_queue+0x112/0x170 [ 48.626522] ? release_task+0x1630/0x1630 [ 48.630653] ? lock_acquire+0x16f/0x3f0 [ 48.634645] ? do_wait+0x3aa/0x9d0 [ 48.638172] ? kasan_check_write+0x14/0x20 [ 48.642395] do_wait+0x439/0x9d0 [ 48.645758] ? wait_consider_task+0x3910/0x3910 [ 48.650425] ? mark_held_locks+0x100/0x100 [ 48.654650] kernel_wait4+0x171/0x290 [ 48.658451] ? __ia32_sys_waitid+0x140/0x140 [ 48.662845] ? task_stopped_code+0x180/0x180 [ 48.667239] __do_sys_wait4+0x147/0x160 [ 48.671219] ? kernel_wait4+0x290/0x290 [ 48.675393] ? kasan_check_read+0x11/0x20 [ 48.679540] ? _copy_to_user+0xc9/0x120 [ 48.683516] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 48.689042] ? __x64_sys_rt_sigprocmask+0x21d/0x2e0 [ 48.694301] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 48.699069] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 48.703843] ? do_syscall_64+0x26/0x620 [ 48.707811] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.713166] ? do_syscall_64+0x26/0x620 [ 48.717221] __x64_sys_wait4+0x97/0xf0 [ 48.721105] do_syscall_64+0xfd/0x620 [ 48.724893] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.730064] RIP: 0033:0x7ff8264d8a3e [ 48.733760] Code: 90 90 90 90 90 90 90 90 90 90 90 90 48 83 ec 28 8b 05 c2 eb 2d 00 85 c0 75 1d 45 31 d2 48 63 d2 48 63 ff b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 48 83 c4 28 c3 89 54 24 08 48 89 74 24 10 [ 48.754123] RSP: 002b:00007ffc08e27f50 EFLAGS: 00000246 ORIG_RAX: 000000000000003d [ 48.761828] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff8264d8a3e [ 48.769097] RDX: 0000000000000001 RSI: 00007ffc08e27f8c RDI: ffffffffffffffff [ 48.776376] RBP: 000055cb34b7bc88 R08: 00007ffc08e28050 R09: 0101010101010101 [ 48.783666] R10: 0000000000000000 R11: 0000000000000246 R12: 000055cb363b3db0 [ 48.790928] R13: 000055cb34b79fb4 R14: 0000000000000028 R15: 000055cb34b7bca0 [ 48.799995] Kernel Offset: disabled [ 48.803653] Rebooting in 86400 seconds..