===================================================== BUG: KMSAN: uninit-value in ucma_connect+0x458/0xc30 drivers/infiniband/core/ucma.c:1091 CPU: 1 PID: 25213 Comm: syz-executor.2 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 vfs_write+0x6a3/0x17c0 fs/read_write.c:576 ksys_write+0x275/0x500 fs/read_write.c:631 __do_sys_write fs/read_write.c:643 [inline] __se_sys_write+0x92/0xb0 fs/read_write.c:640 __x64_sys_write+0x4a/0x70 fs/read_write.c:640 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:00007fefa5ac6c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000000382c0 RCX: 000000000045d5b9 RDX: 0000000000000120 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 000000000169fb6f R14: 00007fefa5ac79c0 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 =====================================================