kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 28409 Comm: syz-executor.4 Not tainted 4.14.184-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888088998080 task.stack: ffff888020140000 RIP: 0010:rdma_cap_ib_sa include/rdma/ib_verbs.h:2682 [inline] RIP: 0010:rdma_resolve_route+0x11a/0x2c70 drivers/infiniband/core/cma.c:2680 RSP: 0018:ffff888020147a70 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 1ffff11004028f54 RCX: dffffc0000000000 RDX: 000000000000009e RSI: 0000000000000029 RDI: 0000000000000148 RBP: ffff888020147c10 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880951b04c0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880951b0678 FS: 00007fca93bb1700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00e056000 CR3: 0000000087996000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ucma_resolve_route+0xab/0x100 drivers/infiniband/core/ucma.c:740 ucma_write+0x206/0x2c0 drivers/infiniband/core/ucma.c:1672 __vfs_write+0xe4/0x630 fs/read_write.c:480 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45cba9 RSP: 002b:00007fca93bb0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000050dec0 RCX: 000000000045cba9 RDX: 0000000000000010 RSI: 0000000020001600 RDI: 0000000000000006 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000d1c R14: 00000000004d9150 R15: 00007fca93bb16d4 Code: 00 48 c1 e9 03 80 3c 01 00 0f 85 f5 24 00 00 48 b9 00 00 00 00 00 fc ff df 49 8b 04 24 48 8d b8 48 01 00 00 48 89 fe 48 c1 ee 03 <80> 3c 0e 00 0f 85 dc 24 00 00 45 0f b6 ee 49 c1 e5 04 4c 03 a8 RIP: rdma_cap_ib_sa include/rdma/ib_verbs.h:2682 [inline] RSP: ffff888020147a70 RIP: rdma_resolve_route+0x11a/0x2c70 drivers/infiniband/core/cma.c:2680 RSP: ffff888020147a70 ---[ end trace 27f24c45284ff800 ]---