Warning: Permanently added '10.128.1.8' (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 syzkaller login: [ 29.662815] ================================================================== [ 29.670275] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 29.676742] Read of size 8 at addr ffff8880b34c6ad8 by task syz-executor850/8437 [ 29.684247] [ 29.685854] CPU: 1 PID: 8437 Comm: syz-executor850 Not tainted 4.14.247-syzkaller #0 [ 29.693707] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.703038] Call Trace: [ 29.705606] dump_stack+0x1b2/0x281 [ 29.709216] print_address_description.cold+0x54/0x1d3 [ 29.714472] kasan_report_error.cold+0x8a/0x191 [ 29.719125] ? __list_add_valid+0x93/0xa0 [ 29.723298] __asan_report_load8_noabort+0x68/0x70 [ 29.728213] ? __list_add_valid+0x93/0xa0 [ 29.732336] __list_add_valid+0x93/0xa0 [ 29.736288] rdma_listen+0x656/0x9b0 [ 29.739981] ucma_listen+0x10b/0x170 [ 29.743758] ? ucma_bind_ip+0x150/0x150 [ 29.747710] ? _copy_from_user+0x96/0x100 [ 29.751849] ? ucma_bind_ip+0x150/0x150 [ 29.755816] ucma_write+0x206/0x2c0 [ 29.759419] ? ucma_set_ib_path+0x510/0x510 [ 29.763715] ? __switch_to_xtra+0x93/0x12f0 [ 29.768013] ? finish_task_switch+0x178/0x610 [ 29.772487] __vfs_write+0xe4/0x630 [ 29.776091] ? ucma_set_ib_path+0x510/0x510 [ 29.780478] ? lock_downgrade+0x740/0x740 [ 29.784601] ? kernel_read+0x110/0x110 [ 29.788466] ? common_file_perm+0x3ee/0x580 [ 29.792765] ? _raw_spin_unlock_irq+0x5a/0x80 [ 29.797239] ? security_file_permission+0x82/0x1e0 [ 29.802143] ? rw_verify_area+0xe1/0x2a0 [ 29.806180] vfs_write+0x17f/0x4d0 [ 29.809695] SyS_write+0xf2/0x210 [ 29.813126] ? SyS_read+0x210/0x210 [ 29.816732] ? do_syscall_64+0x4c/0x640 [ 29.820682] ? SyS_read+0x210/0x210 [ 29.824285] do_syscall_64+0x1d5/0x640 [ 29.828164] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 29.833335] RIP: 0033:0x7f63369f5ec9 [ 29.837023] RSP: 002b:00007ffccdd5e8f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 29.844707] RAX: ffffffffffffffda RBX: 00000000000073ec RCX: 00007f63369f5ec9 [ 29.851956] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 29.859202] RBP: 0000000000000000 R08: 00007ffccdd5ea98 R09: 00007ffccdd5ea98 [ 29.866449] R10: 00007ffccdd5ea98 R11: 0000000000000246 R12: 00007ffccdd5e90c [ 29.873695] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 [ 29.880947] [ 29.882556] Allocated by task 7983: [ 29.886163] kasan_kmalloc+0xeb/0x160 [ 29.889943] kmem_cache_alloc_trace+0x131/0x3d0 [ 29.894588] rdma_create_id+0x57/0x4c0 [ 29.898463] ucma_create_id+0x18b/0x500 [ 29.902411] ucma_write+0x206/0x2c0 [ 29.906016] __vfs_write+0xe4/0x630 [ 29.909618] vfs_write+0x17f/0x4d0 [ 29.913154] SyS_write+0xf2/0x210 [ 29.916583] do_syscall_64+0x1d5/0x640 [ 29.920447] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 29.925607] [ 29.927209] Freed by task 7983: [ 29.930463] kasan_slab_free+0xc3/0x1a0 [ 29.934412] kfree+0xc9/0x250 [ 29.937499] ucma_close+0x11a/0x340 [ 29.941101] __fput+0x25f/0x7a0 [ 29.944356] task_work_run+0x11f/0x190 [ 29.948219] do_exit+0xa44/0x2850 [ 29.951654] do_group_exit+0x100/0x2e0 [ 29.955519] SyS_exit_group+0x19/0x20 [ 29.959295] do_syscall_64+0x1d5/0x640 [ 29.963161] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 29.968322] [ 29.969927] The buggy address belongs to the object at ffff8880b34c6900 [ 29.969927] which belongs to the cache kmalloc-1024 of size 1024 [ 29.982829] The buggy address is located 472 bytes inside of [ 29.982829] 1024-byte region [ffff8880b34c6900, ffff8880b34c6d00) [ 29.994774] The buggy address belongs to the page: [ 29.999680] page:ffffea0002cd3180 count:1 mapcount:0 mapping:ffff8880b34c6000 index:0x0 compound_mapcount: 0 [ 30.009622] flags: 0xfff00000008100(slab|head) [ 30.014267] raw: 00fff00000008100 ffff8880b34c6000 0000000000000000 0000000100000007 [ 30.022138] raw: ffffea0002cfb320 ffffea0002561920 ffff88813fe80ac0 0000000000000000 [ 30.029995] page dumped because: kasan: bad access detected [ 30.035677] [ 30.037290] Memory state around the buggy address: [ 30.042201] ffff8880b34c6980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.049533] ffff8880b34c6a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.057059] >ffff8880b34c6a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.064409] ^ [ 30.070631] ffff8880b34c6b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.077966] ffff8880b34c6b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.085298] ================================================================== [ 30.092647] Disabling lock debugging due to kernel taint [ 30.101166] Kernel panic - not syncing: panic_on_warn set ... [ 30.101166] [ 30.108534] CPU: 1 PID: 8437 Comm: syz-executor850 Tainted: G B 4.14.247-syzkaller #0 [ 30.117622] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.126967] Call Trace: [ 30.129544] dump_stack+0x1b2/0x281 [ 30.133166] panic+0x1f9/0x42d [ 30.136340] ? add_taint.cold+0x16/0x16 [ 30.140291] ? ___preempt_schedule+0x16/0x18 [ 30.144680] kasan_end_report+0x43/0x49 [ 30.148628] kasan_report_error.cold+0xa7/0x191 [ 30.153272] ? __list_add_valid+0x93/0xa0 [ 30.157397] __asan_report_load8_noabort+0x68/0x70 [ 30.162302] ? __list_add_valid+0x93/0xa0 [ 30.166430] __list_add_valid+0x93/0xa0 [ 30.170386] rdma_listen+0x656/0x9b0 [ 30.174084] ucma_listen+0x10b/0x170 [ 30.177779] ? ucma_bind_ip+0x150/0x150 [ 30.181736] ? _copy_from_user+0x96/0x100 [ 30.185864] ? ucma_bind_ip+0x150/0x150 [ 30.189818] ucma_write+0x206/0x2c0 [ 30.193422] ? ucma_set_ib_path+0x510/0x510 [ 30.197729] ? __switch_to_xtra+0x93/0x12f0 [ 30.202041] ? finish_task_switch+0x178/0x610 [ 30.206529] __vfs_write+0xe4/0x630 [ 30.210130] ? ucma_set_ib_path+0x510/0x510 [ 30.214428] ? lock_downgrade+0x740/0x740 [ 30.218552] ? kernel_read+0x110/0x110 [ 30.222413] ? common_file_perm+0x3ee/0x580 [ 30.226717] ? _raw_spin_unlock_irq+0x5a/0x80 [ 30.231192] ? security_file_permission+0x82/0x1e0 [ 30.236098] ? rw_verify_area+0xe1/0x2a0 [ 30.240136] vfs_write+0x17f/0x4d0 [ 30.243654] SyS_write+0xf2/0x210 [ 30.247087] ? SyS_read+0x210/0x210 [ 30.250692] ? do_syscall_64+0x4c/0x640 [ 30.254641] ? SyS_read+0x210/0x210 [ 30.258245] do_syscall_64+0x1d5/0x640 [ 30.262154] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 30.267321] RIP: 0033:0x7f63369f5ec9 [ 30.271007] RSP: 002b:00007ffccdd5e8f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 30.278691] RAX: ffffffffffffffda RBX: 00000000000073ec RCX: 00007f63369f5ec9 [ 30.285949] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 30.293209] RBP: 0000000000000000 R08: 00007ffccdd5ea98 R09: 00007ffccdd5ea98 [ 30.300456] R10: 00007ffccdd5ea98 R11: 0000000000000246 R12: 00007ffccdd5e90c [ 30.307700] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 [ 30.315210] Kernel Offset: disabled [ 30.318817] Rebooting in 86400 seconds..