The improper cleanup of resolve_prepare_src leads to a key mismatch or duplicate key in the cma id tree, which results in out-of-boundary in compare_netdev_and_ip. The issue was found in drivers/infiniband/core/cma.c in Linux in 6.1. A local user can utilize this bug to crash the system or escalation of privilege. Affected component: rdma driver References: https://lkml.org/lkml/2022/12/9/178 https://www.spinics.net/lists/linux-rdma/msg114749.html https://patchwork.kernel.org/project/linux-rdma/patch/3d0e9a2fd62bc10ba02fed1c7c48a48638952320.1672819273.git.leonro@nvidia.com/
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 2187935]