BUG: unable to handle kernel NULL pointer dereference at 00000000000000b0 IP: rdma_cap_opa_ah include/rdma/ib_verbs.h:2773 [inline] IP: ucma_set_ib_path drivers/infiniband/core/ucma.c:1249 [inline] IP: ucma_set_option_ib drivers/infiniband/core/ucma.c:1272 [inline] IP: ucma_set_option_level drivers/infiniband/core/ucma.c:1291 [inline] IP: ucma_set_option+0xbba/0x1100 drivers/infiniband/core/ucma.c:1325 PGD 8000000152139067 P4D 8000000152139067 PUD 150e99067 PMD 0 Oops: 0000 [#1] SMP PTI Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 6701 Comm: syz-executor3 Not tainted 4.16.0+ #87 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rdma_cap_opa_ah include/rdma/ib_verbs.h:2773 [inline] RIP: 0010:ucma_set_ib_path drivers/infiniband/core/ucma.c:1249 [inline] RIP: 0010:ucma_set_option_ib drivers/infiniband/core/ucma.c:1272 [inline] RIP: 0010:ucma_set_option_level drivers/infiniband/core/ucma.c:1291 [inline] RIP: 0010:ucma_set_option+0xbba/0x1100 drivers/infiniband/core/ucma.c:1325 RSP: 0018:ffff88014d67f9b8 EFLAGS: 00010246 RAX: 00000000000000b0 RBX: ffff8801526e25b8 RCX: ffff880000000000 RDX: ffff88015241a5b8 RSI: aaaaaaaaaaaab000 RDI: 00000000000000b0 RBP: ffff88014d67fb68 R08: 0000000000000000 R09: ffff8801500afa60 R10: 0000000000000001 R11: ffff88014d670000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff880154f7bf00 R15: 0000000000000000 FS: 00007f65c76b6700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000b0 CR3: 0000000152ba8000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ucma_write+0x576/0x5e0 drivers/infiniband/core/ucma.c:1656 __vfs_write+0x1a3/0x9f0 fs/read_write.c:480 vfs_write+0x463/0x8d0 fs/read_write.c:544 SYSC_write+0x172/0x360 fs/read_write.c:589 SyS_write+0x55/0x80 fs/read_write.c:581 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x455979 RSP: 002b:00007f65c76b5c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f65c76b66d4 RCX: 0000000000455979 RDX: 0000000000000020 RSI: 0000000020000a40 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000720 R14: 00000000006feba0 R15: 0000000000000000 Code: 89 df e8 3a cf 5e fa 0f b6 00 48 89 45 b0 8b 02 89 45 84 48 8b 45 c0 48 05 b0 00 00 00 48 83 7d 88 00 48 89 c7 0f 85 14 01 00 00 <48> 8b 1f e8 ce cf 5e fa 49 c1 e7 04 4a 8d 3c 3b 48 83 c7 08 48 IPVS: sync thread started: state = BACKUP, mcast_ifn = bridge_slave_0, syncid = 0, id = 0 RIP: rdma_cap_opa_ah include/rdma/ib_verbs.h:2773 [inline] RSP: ffff88014d67f9b8 RIP: ucma_set_ib_path drivers/infiniband/core/ucma.c:1249 [inline] RSP: ffff88014d67f9b8 RIP: ucma_set_option_ib drivers/infiniband/core/ucma.c:1272 [inline] RSP: ffff88014d67f9b8 RIP: ucma_set_option_level drivers/infiniband/core/ucma.c:1291 [inline] RSP: ffff88014d67f9b8 RIP: ucma_set_option+0xbba/0x1100 drivers/infiniband/core/ucma.c:1325 RSP: ffff88014d67f9b8 CR2: 00000000000000b0 ---[ end trace c30cc4f0041a0179 ]---