Skip to contentSkip to conversation

CVE-2026-74296: RDMA/mlx5: Release the HW‑provided UAR index rather than the SW one

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

RDMA/mlx5: Release the HW‑provided UAR index rather than the SW one

Free the UAR index returned by the hardware.

The Linux kernel CVE team has assigned CVE-2026-74296 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.16 with commit 4ed131d0bb1597ce12fff22d9d7fc9720a6e8cf0 and fixed in 6.1.178 with commit 80f1f49f53a42733e60c90e0ec545e647969214d
	Issue introduced in 4.16 with commit 4ed131d0bb1597ce12fff22d9d7fc9720a6e8cf0 and fixed in 6.6.145 with commit aabfc845838ef453f1d22d7665596f9cc48be7dd
	Issue introduced in 4.16 with commit 4ed131d0bb1597ce12fff22d9d7fc9720a6e8cf0 and fixed in 6.12.97 with commit 6f83de384ca582fa87b4c2b0d03bd1ed3bf9a2ee
	Issue introduced in 4.16 with commit 4ed131d0bb1597ce12fff22d9d7fc9720a6e8cf0 and fixed in 6.18.40 with commit d3ff718c0c7153e2641e6a09507bace14fc5c402
	Issue introduced in 4.16 with commit 4ed131d0bb1597ce12fff22d9d7fc9720a6e8cf0 and fixed in 7.1.5 with commit ef369446f62903ea079e8a7954b5bf8bb8300fe3
	Issue introduced in 4.16 with commit 4ed131d0bb1597ce12fff22d9d7fc9720a6e8cf0 and fixed in 7.2-rc1 with commit 449ae7927152e46acbe5f19f97eafdae6d3a96b1

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-74296

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/infiniband/hw/mlx5/main.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/80f1f49f53a42733e60c90e0ec545e647969214d
	https://git.kernel.org/stable/c/aabfc845838ef453f1d22d7665596f9cc48be7dd
	https://git.kernel.org/stable/c/6f83de384ca582fa87b4c2b0d03bd1ed3bf9a2ee
	https://git.kernel.org/stable/c/d3ff718c0c7153e2641e6a09507bace14fc5c402
	https://git.kernel.org/stable/c/ef369446f62903ea079e8a7954b5bf8bb8300fe3
	https://git.kernel.org/stable/c/449ae7927152e46acbe5f19f97eafdae6d3a96b1