===================================================== BUG: KMSAN: uninit-value in ucma_connect+0x458/0xc30 drivers/infiniband/core/ucma.c:1091 CPU: 0 PID: 29463 Comm: syz-executor.4 Not tainted 5.8.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:121 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 ucma_connect+0x458/0xc30 drivers/infiniband/core/ucma.c:1091 ucma_write+0x64d/0x6e0 drivers/infiniband/core/ucma.c:1764 do_loop_readv_writev fs/read_write.c:737 [inline] do_iter_write+0x9b1/0x1020 fs/read_write.c:1020 vfs_writev fs/read_write.c:1091 [inline] do_writev+0x4cc/0xa30 fs/read_write.c:1134 __do_sys_writev fs/read_write.c:1207 [inline] __se_sys_writev+0x9b/0xb0 fs/read_write.c:1204 __x64_sys_writev+0x4a/0x70 fs/read_write.c:1204 do_syscall_64+0xad/0x160 arch/x86/entry/common.c:386 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5b9 Code: Bad RIP value. RSP: 002b:00007f588a3b7c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 0000000000039bc0 RCX: 000000000045d5b9 RDX: 0000000000000001 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 000000000169fb6f R14: 00007f588a3b89c0 R15: 000000000118cf4c Local variable ----cmd@ucma_connect created at: ucma_connect+0xde/0xc30 drivers/infiniband/core/ucma.c:1082 ucma_connect+0xde/0xc30 drivers/infiniband/core/ucma.c:1082 =====================================================