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
CPU: 0 PID: 18184 Comm: syz-executor.0 Not tainted 4.19.114-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 60 98 4a 89 e8 6f 62 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:ffff888044f2fb80 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000008
RBP: ffff888046156dc0 R08: 00000000000065cf R09: fffffbfff129530d
R10: ffff888044f2fb80 R11: ffffffff894a9867 R12: 0000000000000000
R13: 0000000000000400 R14: ffff8880a5d67700 R15: 0000000000000008
FS: 00007f9fb14f4700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe55f329f8 CR3: 000000009e112000 CR4: 00000000001426f0
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:0x45c889
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:00007f9fb14f3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9fb14f46d4 RCX: 000000000045c889
RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000004
RBP: 000000000076bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000cc2 R14: 00000000004ceeb6 R15: 000000000076bfac
Modules linked in:
---[ end trace 0747c5a010e9ff65 ]---
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 60 98 4a 89 e8 6f 62 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:ffff888044f2fb80 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000008
RBP: ffff888046156dc0 R08: 00000000000065cf R09: fffffbfff129530d
R10: ffff888044f2fb80 R11: ffffffff894a9867 R12: 0000000000000000
R13: 0000000000000400 R14: ffff8880a5d67700 R15: 0000000000000008
FS: 00007f9fb14f4700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff667fdff8 CR3: 000000009e112000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400