Technical impact
In the Linux kernel’s mlx5 RDMA driver, a temporary assignment of the mr->pi_mr pointer to a stack‑allocated structure left the pointer dangling after the function returned. When the same memory registration is posted again without remapping, the stale pointer is dereferenced, resulting in a use‑after‑free that can corrupt kernel memory. The flaw is classified as CWE‑416.
Affected Systems
The flaw resides in the Linux kernel’s mlx5 RDMA implementation. Any Linux system running a kernel that includes the mlx5 driver and performs the described MR integrity registration is affected. No specific kernel version range is cited, so any installation lacking the latest patch may be vulnerable.
Risk and Exploitability
No CVSS score is currently available for this vulnerability, and no EPSS value is provided. The kernel code involved is privileged, so the flaw is a local or potentially remote kernel memory corruption if the attacker can trigger consecutive IB_WR_REG_MR_INTEGRITY operations on the same MR without remapping. The flaw is not listed in CISA’s KEV catalog, indicating no known exploits at this time.