[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 49.709988] random: sshd: uninitialized urandom read (32 bytes read) [ 49.984709] kauditd_printk_skb: 11 callbacks suppressed [ 49.984718] audit: type=1400 audit(1560125280.164:35): avc: denied { map } for pid=7026 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 [ 50.043632] random: sshd: uninitialized urandom read (32 bytes read) [ 50.574283] random: sshd: uninitialized urandom read (32 bytes read) [ 66.517655] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.121' (ECDSA) to the list of known hosts. [ 72.461790] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 72.589781] audit: type=1400 audit(1560125302.764:36): avc: denied { map } for pid=7038 comm="syz-executor088" path="/root/syz-executor088781781" dev="sda1" ino=1426 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 72.740509] ================================================================== [ 72.748376] BUG: KASAN: use-after-free in __list_add_valid+0x9a/0xa0 [ 72.755143] Read of size 8 at addr ffff888074b8e658 by task syz-executor088/7101 [ 72.762671] [ 72.764320] CPU: 0 PID: 7101 Comm: syz-executor088 Not tainted 4.14.124 #18 [ 72.771691] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 72.781212] Call Trace: [ 72.783839] dump_stack+0x138/0x19c [ 72.787677] ? __list_add_valid+0x9a/0xa0 [ 72.791967] print_address_description.cold+0x7c/0x1dc [ 72.797237] ? __list_add_valid+0x9a/0xa0 [ 72.801426] kasan_report.cold+0xa9/0x2af [ 72.805978] __asan_report_load8_noabort+0x14/0x20 [ 72.810956] __list_add_valid+0x9a/0xa0 [ 72.815072] rdma_listen+0x5a7/0x840 [ 72.818804] ucma_listen+0x10e/0x170 [ 72.822636] ? ucma_accept+0x2e0/0x2e0 [ 72.826725] ? _copy_from_user+0x99/0x110 [ 72.830913] ucma_write+0x231/0x310 [ 72.834534] ? ucma_accept+0x2e0/0x2e0 [ 72.838403] ? ucma_open+0x290/0x290 [ 72.842453] __vfs_write+0x105/0x6b0 [ 72.846341] ? ucma_open+0x290/0x290 [ 72.850055] ? kernel_read+0x120/0x120 [ 72.854156] ? __inode_security_revalidate+0xd6/0x130 [ 72.859363] ? avc_policy_seqno+0x9/0x20 [ 72.863963] ? selinux_file_permission+0x85/0x480 [ 72.868930] ? security_file_permission+0x89/0x1f0 [ 72.873857] ? rw_verify_area+0xea/0x2b0 [ 72.878090] vfs_write+0x198/0x500 [ 72.881670] SyS_write+0xb8/0x180 [ 72.885329] ? SyS_read+0x180/0x180 [ 72.889059] ? do_syscall_64+0x53/0x640 [ 72.893151] ? SyS_read+0x180/0x180 [ 72.896898] do_syscall_64+0x1e8/0x640 [ 72.900949] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 72.905796] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 72.911191] RIP: 0033:0x441379 [ 72.914465] RSP: 002b:00007ffd12a95c38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 72.922433] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441379 [ 72.929696] RDX: 0000000000000010 RSI: 00000000200002c0 RDI: 0000000000000003 [ 72.937305] RBP: 0000000000011c1f R08: 00000000004002c8 R09: 00000000004002c8 [ 72.944576] R10: 00000000004002c8 R11: 0000000000000246 R12: 00000000004021a0 [ 72.951826] R13: 0000000000402230 R14: 0000000000000000 R15: 0000000000000000 [ 72.959268] [ 72.960895] Allocated by task 7039: [ 72.964521] save_stack_trace+0x16/0x20 [ 72.968709] save_stack+0x45/0xd0 [ 72.972274] kasan_kmalloc+0xce/0xf0 [ 72.975973] kmem_cache_alloc_trace+0x152/0x790 [ 72.983511] rdma_create_id+0x5a/0x4d0 [ 72.987578] ucma_create_id+0x19b/0x5b0 [ 72.991550] ucma_write+0x231/0x310 [ 72.995164] __vfs_write+0x105/0x6b0 [ 72.998884] vfs_write+0x198/0x500 [ 73.002464] SyS_write+0xb8/0x180 [ 73.005908] do_syscall_64+0x1e8/0x640 [ 73.009844] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 73.015189] [ 73.016984] Freed by task 7039: [ 73.020495] save_stack_trace+0x16/0x20 [ 73.024675] save_stack+0x45/0xd0 [ 73.028410] kasan_slab_free+0x75/0xc0 [ 73.032518] kfree+0xcc/0x270 [ 73.035697] rdma_destroy_id+0x6fb/0xb70 [ 73.039746] ucma_close+0x110/0x310 [ 73.043674] __fput+0x275/0x7a0 [ 73.046946] ____fput+0x16/0x20 [ 73.050364] task_work_run+0x114/0x190 [ 73.054237] do_exit+0x7df/0x2c10 [ 73.057668] do_group_exit+0x111/0x330 [ 73.061535] SyS_exit_group+0x1d/0x20 [ 73.065555] do_syscall_64+0x1e8/0x640 [ 73.069721] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 73.075246] [ 73.076963] The buggy address belongs to the object at ffff888074b8e480 [ 73.076963] which belongs to the cache kmalloc-1024 of size 1024 [ 73.090151] The buggy address is located 472 bytes inside of [ 73.090151] 1024-byte region [ffff888074b8e480, ffff888074b8e880) [ 73.102313] The buggy address belongs to the page: [ 73.107227] page:ffffea0001d2e380 count:1 mapcount:0 mapping:ffff888074b8e000 index:0x0 compound_mapcount: 0 [ 73.117195] flags: 0x1fffc0000008100(slab|head) [ 73.121972] raw: 01fffc0000008100 ffff888074b8e000 0000000000000000 0000000100000007 [ 73.130542] raw: ffffea0001d2e320 ffffea0001e8e4a0 ffff8880aa800ac0 0000000000000000 [ 73.138632] page dumped because: kasan: bad access detected [ 73.144449] [ 73.146081] Memory state around the buggy address: [ 73.151347] ffff888074b8e500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 73.158764] ffff888074b8e580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 73.166203] >ffff888074b8e600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 73.173811] ^ [ 73.180038] ffff888074b8e680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 73.187606] ffff888074b8e700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 73.195104] ================================================================== [ 73.202763] Disabling lock debugging due to kernel taint [ 73.209864] Kernel panic - not syncing: panic_on_warn set ... [ 73.209864] [ 73.217373] CPU: 1 PID: 7101 Comm: syz-executor088 Tainted: G B 4.14.124 #18 [ 73.226041] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 73.235551] Call Trace: [ 73.238131] dump_stack+0x138/0x19c [ 73.242009] ? __list_add_valid+0x9a/0xa0 [ 73.246184] panic+0x1f2/0x426 [ 73.249361] ? add_taint.cold+0x16/0x16 [ 73.253317] ? ___preempt_schedule+0x16/0x18 [ 73.257713] kasan_end_report+0x47/0x4f [ 73.261784] kasan_report.cold+0x130/0x2af [ 73.266014] __asan_report_load8_noabort+0x14/0x20 [ 73.270934] __list_add_valid+0x9a/0xa0 [ 73.274887] rdma_listen+0x5a7/0x840 [ 73.278590] ucma_listen+0x10e/0x170 [ 73.282387] ? ucma_accept+0x2e0/0x2e0 [ 73.286351] ? _copy_from_user+0x99/0x110 [ 73.290486] ucma_write+0x231/0x310 [ 73.294318] ? ucma_accept+0x2e0/0x2e0 [ 73.298351] ? ucma_open+0x290/0x290 [ 73.302065] __vfs_write+0x105/0x6b0 [ 73.305757] ? ucma_open+0x290/0x290 [ 73.309445] ? kernel_read+0x120/0x120 [ 73.313330] ? __inode_security_revalidate+0xd6/0x130 [ 73.318605] ? avc_policy_seqno+0x9/0x20 [ 73.322774] ? selinux_file_permission+0x85/0x480 [ 73.327714] ? security_file_permission+0x89/0x1f0 [ 73.332631] ? rw_verify_area+0xea/0x2b0 [ 73.336741] vfs_write+0x198/0x500 [ 73.340282] SyS_write+0xb8/0x180 [ 73.343716] ? SyS_read+0x180/0x180 [ 73.347419] ? do_syscall_64+0x53/0x640 [ 73.351501] ? SyS_read+0x180/0x180 [ 73.355422] do_syscall_64+0x1e8/0x640 [ 73.359541] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 73.364698] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 73.370109] RIP: 0033:0x441379 [ 73.373390] RSP: 002b:00007ffd12a95c38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 73.381247] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441379 [ 73.418842] RDX: 0000000000000010 RSI: 00000000200002c0 RDI: 0000000000000003 [ 73.426237] RBP: 0000000000011c1f R08: 00000000004002c8 R09: 00000000004002c8 [ 73.433692] R10: 00000000004002c8 R11: 0000000000000246 R12: 00000000004021a0 [ 73.441119] R13: 0000000000402230 R14: 0000000000000000 R15: 0000000000000000 [ 73.450267] Kernel Offset: disabled [ 73.454071] Rebooting in 86400 seconds..