default or selected kernelversion does not have config value CONFIG_INFINIBAND_USER_ACCESS_UCM.
Result is shown for kernelversion 6.9.9

Userspace CM (UCM, DEPRECATED)

modulename: ib_ucm.ko

configname: CONFIG_INFINIBAND_USER_ACCESS_UCM

Linux Kernel Configuration
└─>Device Drivers
└─>InfiniBand support
└─>Userspace CM (UCM, DEPRECATED)
In linux kernel since version 3.18.2 (release Date: 2015-01-08)  
The UCM module has known security flaws, which no one is
interested to fix. The user-space part of this code was
dropped from the upstream a long time ago.

This option is DEPRECATED and planned to be removed.

source code:
depends
CONFIG_INFINIBAND
CONFIG_INFINIBAND_USER_ACCESS
CONFIG_BROKEN or CONFIG_COMPILE_TEST