kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 26140 Comm: syz-executor7 Not tainted 4.16.0-rc6+ #273
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rdma_cap_ib_cm include/rdma/ib_verbs.h:2661 [inline]
RIP: 0010:rdma_init_qp_attr+0x8b/0x720 drivers/infiniband/core/cma.c:1025
RSP: 0018:ffff8801bcc9f7f0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8801cc5cc940 RCX: ffffffff841bbf8f
RDX: 0000000000000029 RSI: ffffc900018a5000 RDI: 0000000000000148
RBP: ffff8801bcc9f830 R08: ffffed0037993f44 R09: ffff8801bcc9f97c
R10: 0000000000000000 R11: ffffed0037993f43 R12: ffff8801bcc9f978
R13: ffff8801bcc9f8b8 R14: 0000000000000000 R15: ffff8801bcc9f878
FS:  0000000000000000(0000) GS:ffff8801db300000(0063) knlGS:00000000f77b6b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 0000000008340008 CR3: 00000001c5310003 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ucma_init_qp_attr+0x251/0x440 drivers/infiniband/core/ucma.c:1172
 ucma_write+0x2d6/0x3d0 drivers/infiniband/core/ucma.c:1649
 __vfs_write+0xef/0x970 fs/read_write.c:480
 vfs_write+0x189/0x510 fs/read_write.c:544
 SYSC_write fs/read_write.c:589 [inline]
 SyS_write+0xef/0x220 fs/read_write.c:581
 do_syscall_32_irqs_on arch/x86/entry/common.c:330 [inline]
 do_fast_syscall_32+0x3ec/0xf9f arch/x86/entry/common.c:392
 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139
RIP: 0023:0xf7fbac99
RSP: 002b:00000000f77b609c EFLAGS: 00000286 ORIG_RAX: 0000000000000004
RAX: ffffffffffffffda RBX: 0000000000000013 RCX: 00000000200027c0
RDX: 0000000000000018 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Code: 00 00 00 fc ff df 80 3c 02 00 0f 85 8c 06 00 00 4c 8b 33 48 b8 00 00 00 00 00 fc ff df 49 8d be 48 01 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5d 06 00 00 44 0f b6 7d d4 48 b8 00 00 00 00 
RIP: rdma_cap_ib_cm include/rdma/ib_verbs.h:2661 [inline] RSP: ffff8801bcc9f7f0
RIP: rdma_init_qp_attr+0x8b/0x720 drivers/infiniband/core/cma.c:1025 RSP: ffff8801bcc9f7f0
---[ end trace 7c846ee76b29df6c ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..