kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 4240 Comm: syzkaller710726 Not tainted 4.16.0-rc4+ #348 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:cma_bind_listen drivers/infiniband/core/cma.c:3198 [inline] RIP: 0010:rdma_listen+0x2ed/0x8e0 drivers/infiniband/core/cma.c:3311 RSP: 0018:ffff8801b03e7998 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8801d3824d80 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff8801b03e7a30 R08: ffffffff841d8748 R09: 0000000000000004 R10: ffff8801b03e7988 R11: 0000000000000002 R12: 1ffff1003607cf35 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000400 FS: 00007fc1be1df700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc1be1bde78 CR3: 00000001b035c003 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ucma_listen+0x172/0x1f0 drivers/infiniband/core/ucma.c:1064 ucma_write+0x2d6/0x3d0 drivers/infiniband/core/ucma.c:1627 __vfs_write+0xef/0x970 fs/read_write.c:480 vfs_write+0x189/0x510 fs/read_write.c:544 SYSC_write fs/read_write.c:589 [inline] SyS_write+0xef/0x220 fs/read_write.c:581 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x445799 RSP: 002b:00007fc1be1deda8 EFLAGS: 00000297 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000006dac24 RCX: 0000000000445799 RDX: 0000000000000010 RSI: 0000000020000040 RDI: 00000000000003ff RBP: 00000000006dac20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000297 R12: 006d635f616d6472 R13: 2f646e6162696e69 R14: 666e692f7665642f R15: 0000000000000005 Code: 00 4c 8b ab c0 01 00 00 31 f6 48 c7 c7 20 9a 44 87 e8 f8 9b ab 01 48 b8 00 00 00 00 00 fc ff df 49 8d 7d 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 30 05 00 00 4d 8b 75 08 48 b8 00 00 00 00 00 RIP: cma_bind_listen drivers/infiniband/core/cma.c:3198 [inline] RSP: ffff8801b03e7998 RIP: rdma_listen+0x2ed/0x8e0 drivers/infiniband/core/cma.c:3311 RSP: ffff8801b03e7998 ---[ end trace d2dd984bca817351 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..