kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 13438 Comm: syz-executor.5 Not tainted 4.19.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:cma_bind_listen drivers/infiniband/core/cma.c:3274 [inline] RIP: 0010:rdma_listen+0x2c7/0x880 drivers/infiniband/core/cma.c:3388 Code: 8b a5 c8 01 00 00 31 f6 48 c7 c7 a0 99 4a 89 e8 af 3d ea 01 48 b8 00 00 00 00 00 fc ff df 49 8d 7c 24 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 1c 05 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b RSP: 0018:ffff888046147b80 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000008 RBP: ffff8880a85eb600 R08: 00000000000065cf R09: fffffbfff1295335 R10: ffff888046147b80 R11: ffffffff894a99a7 R12: 0000000000000000 R13: 0000000000000400 R14: ffff8880a51b77c0 R15: 0000000000000008 FS: 00007fc488524700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001f29978 CR3: 0000000098280000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ucma_listen+0x14d/0x1c0 drivers/infiniband/core/ucma.c:1100 ucma_write+0x285/0x350 drivers/infiniband/core/ucma.c:1689 __vfs_write+0xf7/0x760 fs/read_write.c:485 vfs_write+0x206/0x550 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c849 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fc488523c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fc4885246d4 RCX: 000000000045c849 RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000008 RBP: 000000000076c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000cc0 R14: 00000000004cee66 R15: 000000000076c04c Modules linked in: ---[ end trace ebd40f454e2eada5 ]--- RIP: 0010:cma_bind_listen drivers/infiniband/core/cma.c:3274 [inline] RIP: 0010:rdma_listen+0x2c7/0x880 drivers/infiniband/core/cma.c:3388 Code: 8b a5 c8 01 00 00 31 f6 48 c7 c7 a0 99 4a 89 e8 af 3d ea 01 48 b8 00 00 00 00 00 fc ff df 49 8d 7c 24 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 1c 05 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b RSP: 0018:ffff888046147b80 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000008 RBP: ffff8880a85eb600 R08: 00000000000065cf R09: fffffbfff1295335 R10: ffff888046147b80 R11: ffffffff894a99a7 R12: 0000000000000000 R13: 0000000000000400 R14: ffff8880a51b77c0 R15: 0000000000000008 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=1011 sclass=netlink_tcpdiag_socket pig=13454 comm=syz-executor.2 FS: 00007fc488524700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa1c0e31a90 CR3: 0000000098280000 CR4: 00000000001426e0 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=1011 sclass=netlink_tcpdiag_socket pig=13454 comm=syz-executor.2 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400