===================================================== BUG: KMSAN: uninit-value in ucma_connect+0x458/0xc30 drivers/infiniband/core/ucma.c:1091 CPU: 1 PID: 30116 Comm: syz-executor.3 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 __ia32_sys_write+0x4a/0x70 fs/read_write.c:640 do_syscall_32_irqs_on arch/x86/entry/common.c:430 [inline] __do_fast_syscall_32+0x2af/0x480 arch/x86/entry/common.c:477 do_fast_syscall_32+0x6b/0xd0 arch/x86/entry/common.c:505 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:554 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fb3549 Code: Bad RIP value. RSP: 002b:00000000f55ad0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000380 RDX: 0000000000000048 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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 =====================================================