===================================================== BUG: KMSAN: uninit-value in xas_start lib/xarray.c:190 [inline] BUG: KMSAN: uninit-value in xas_load lib/xarray.c:233 [inline] BUG: KMSAN: uninit-value in xa_load+0xa59/0xa90 lib/xarray.c:1305 CPU: 1 PID: 12831 Comm: syz-executor.1 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 xas_start lib/xarray.c:190 [inline] xas_load lib/xarray.c:233 [inline] xa_load+0xa59/0xa90 lib/xarray.c:1305 _ucma_find_context drivers/infiniband/core/ucma.c:139 [inline] ucma_get_ctx+0x82/0x3b0 drivers/infiniband/core/ucma.c:152 ucma_get_ctx_dev drivers/infiniband/core/ucma.c:175 [inline] ucma_accept+0x29a/0xe40 drivers/infiniband/core/ucma.c:1148 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:0xf7f20549 Code: Bad RIP value. RSP: 002b:00000000f551a0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000200 RDX: 0000000000000018 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_accept created at: ucma_accept+0x91/0xe40 drivers/infiniband/core/ucma.c:1137 ucma_accept+0x91/0xe40 drivers/infiniband/core/ucma.c:1137 =====================================================