bisecting fixing commit since b98aebd298246df37b472c52a2ee1023256d02e3 building syzkaller on b602d64b5991c147af88f1e0f8d961c8b4b4a748 testing commit b98aebd298246df37b472c52a2ee1023256d02e3 with gcc (GCC) 8.4.1 20210217 kernel signature: 29458a651c4fd511855f4ade39e882748643aa1cf2ff7e04de1677e3f9d8a13b all runs: crashed: general protection fault in rdma_resolve_route testing current HEAD 29c52025152bab4c557d8174da58f1a4c8e70438 testing commit 29c52025152bab4c557d8174da58f1a4c8e70438 with gcc (GCC) 8.4.1 20210217 kernel signature: 90af5284430b943d7e9ee2b87873dbd4bc780bd9361ff7cb0b752ff2a21b2aad all runs: crashed: general protection fault in rdma_resolve_route revisions tested: 2, total time: 20m19.976043554s (build: 13m49.394504193s, test: 5m32.000711107s) the crash still happens on HEAD commit msg: Linux 4.14.221 crash: general protection fault in rdma_resolve_route IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready 8021q: adding VLAN 0 to HW filter on device batadv0 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: 0 PID: 9964 Comm: syz-executor.5 Not tainted 4.14.221-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8881e7dc4280 task.stack: ffff8881c5f20000 RIP: 0010:rdma_cap_ib_sa include/rdma/ib_verbs.h:2682 [inline] RIP: 0010:rdma_resolve_route+0x10b/0x2f50 drivers/infiniband/core/cma.c:2686 RSP: 0018:ffff8881c5f27950 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff8881e38a3680 RCX: 0000000000000029 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000148 RBP: ffff8881c5f27b20 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881e38a3838 R13: 0000000000000004 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f67539f9700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564425ae9140 CR3: 00000001d0eed003 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ucma_resolve_route+0xc0/0xf0 drivers/infiniband/core/ucma.c:740 ucma_write+0x1f1/0x2c0 drivers/infiniband/core/ucma.c:1672 __vfs_write+0xdb/0x840 fs/read_write.c:480 vfs_write+0x150/0x4f0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0x100/0x250 fs/read_write.c:582 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x461949 RSP: 002b:00007f67539f91a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000461949 RDX: 0000000000000010 RSI: 0000000020000200 RDI: 0000000000000004 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004fa9d0 R14: 00000000004bd7a0 R15: 00007f67539f96bc Code: ff df 48 c1 ea 03 80 3c 02 00 0f 85 72 23 00 00 48 ba 00 00 00 00 00 fc ff df 48 8b 03 48 8d b8 48 01 00 00 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 5a 23 00 00 45 0f b6 f7 49 c1 e6 04 4c 03 b0 RIP: rdma_cap_ib_sa include/rdma/ib_verbs.h:2682 [inline] RSP: ffff8881c5f27950 RIP: rdma_resolve_route+0x10b/0x2f50 drivers/infiniband/core/cma.c:2686 RSP: ffff8881c5f27950 ---[ end trace e72d2aaef2bb4166 ]---