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: 24217 Comm: syz-executor.3 Not tainted 4.14.223-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88805897a100 task.stack: ffff888058080000 RIP: 0010:cma_bind_listen drivers/infiniband/core/cma.c:3205 [inline] RIP: 0010:rdma_listen+0x32b/0x9b0 drivers/infiniband/core/cma.c:3318 RSP: 0018:ffff888058087be8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88805b0cf240 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000008 RBP: ffff88805b0cf454 R08: 0000000000000000 R09: 00000000000403a2 R10: ffff88805897a988 R11: ffff88805897a100 R12: 0000000000000000 R13: 0000000000000400 R14: ffff88805b0cf458 R15: 0000000000000008 FS: 00007f13cfb10700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000056c000 CR3: 00000000951f0000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ucma_listen+0x10b/0x170 drivers/infiniband/core/ucma.c:1078 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:0x465f69 RSP: 002b:00007f13cfb10188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465f69 RDX: 0000000000000010 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00000000004bfa67 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffcfc63e2ff R14: 00007f13cfb10300 R15: 0000000000022000 Code: 4c 8b a3 c0 01 00 00 31 f6 48 c7 c7 00 4a b4 89 e8 0b 74 d4 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 92 05 00 00 48 b8 00 00 00 00 00 fc ff df 4d RIP: cma_bind_listen drivers/infiniband/core/cma.c:3205 [inline] RSP: ffff888058087be8 RIP: rdma_listen+0x32b/0x9b0 drivers/infiniband/core/cma.c:3318 RSP: ffff888058087be8 ubi0: attached mtd0 (name "mtdram test device", size 0 MiB) ubi0: PEB size: 4096 bytes (4 KiB), LEB size: 3968 bytes ---[ end trace fe88019da9d1f604 ]--- ubi0: min./max. I/O unit sizes: 1/64, sub-page size 1