kasan: CONFIG_KASAN_INLINE enabled input: syz0 as /devices/virtual/input/input5 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: 1 PID: 14022 Comm: syz-executor.1 Not tainted 4.14.182-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888087a3c640 task.stack: ffff88809f670000 RIP: 0010:cma_bind_listen drivers/infiniband/core/cma.c:3187 [inline] RIP: 0010:rdma_listen+0x281/0x7d0 drivers/infiniband/core/cma.c:3300 RSP: 0018:ffff88809f677bf0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 1ffff11013ecef86 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000008 RBP: ffff8880a58a6480 R08: ffffffff8a380bc0 R09: ffffffff89e6d798 R10: ffff88809f677bf0 R11: ffff888087a3c640 R12: 0000000000000000 R13: 0000000000000400 R14: ffff8880a52a2e00 R15: 0000000000000008 FS: 00007f517905e700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30422000 CR3: 0000000091a22000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ucma_listen+0x10b/0x160 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:0x45ca69 RSP: 002b:00007f517905dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000050c200 RCX: 000000000045ca69 RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 000000000078bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000cce R14: 00000000004cf1fb R15: 00007f517905e6d4 Code: 4c 8b a5 c0 01 00 00 31 f6 48 c7 c7 60 d5 3a 88 e8 e5 af 9a 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 cd 04 00 00 48 b8 00 00 00 00 00 fc ff df 49 RIP: cma_bind_listen drivers/infiniband/core/cma.c:3187 [inline] RSP: ffff88809f677bf0 RIP: rdma_listen+0x281/0x7d0 drivers/infiniband/core/cma.c:3300 RSP: ffff88809f677bf0 input: syz0 as /devices/virtual/input/input6 ---[ end trace 4e984deacf35f8d4 ]---