Skip to contentSkip to conversation

CVE-2026-93102: RDMA/hfi1: Free RX data on late probe failure

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

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/hfi1: Free RX data on late probe failure

hfi1_init_dd() allocates the shared AIP/VNIC RX support before returning. If hfi1_init() or hfi1_register_ib_device() later fails, init_one() tears down the device data without calling hfi1_free_rx(). This leaks netdev_rx and its dummy netdev.

Free the RX support after IB unregistration and before postinit_cleanup(), as done on normal device removal.

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

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

	Issue introduced in 5.8 with commit 4730f4a6c6b2065589c0822af00aa45e639bbc36 and fixed in 5.15.221 with commit cfad037c6d305876b877abc39fd4d7e2185e44f3
	Issue introduced in 5.8 with commit 4730f4a6c6b2065589c0822af00aa45e639bbc36 and fixed in 6.1.188 with commit d1c91cb02e05fdd93411de707cc5c3c08375df9e
	Issue introduced in 5.8 with commit 4730f4a6c6b2065589c0822af00aa45e639bbc36 and fixed in 6.6.157 with commit 10e5e37495096b58f07adc4020de2701efc3a9e0
	Issue introduced in 5.8 with commit 4730f4a6c6b2065589c0822af00aa45e639bbc36 and fixed in 6.12.110 with commit cd06c17afb08b37995f66cf560c2332a769b8f80
	Issue introduced in 5.8 with commit 4730f4a6c6b2065589c0822af00aa45e639bbc36 and fixed in 6.18.52 with commit 149a14ec70887ad14e820a7ca15738ded3d2d493
	Issue introduced in 5.8 with commit 4730f4a6c6b2065589c0822af00aa45e639bbc36 and fixed in 7.2.6 with commit 83fe4e4f4fbf01d3832a24511c0ddfaccf5df9d8
	Issue introduced in 5.8 with commit 4730f4a6c6b2065589c0822af00aa45e639bbc36 and fixed in 7.3-rc1 with commit 8e17e101e04a3dc062e2719da57ff78c1c060632

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-93102

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/hfi1/init.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/cfad037c6d305876b877abc39fd4d7e2185e44f3
	https://git.kernel.org/stable/c/d1c91cb02e05fdd93411de707cc5c3c08375df9e
	https://git.kernel.org/stable/c/10e5e37495096b58f07adc4020de2701efc3a9e0
	https://git.kernel.org/stable/c/cd06c17afb08b37995f66cf560c2332a769b8f80
	https://git.kernel.org/stable/c/149a14ec70887ad14e820a7ca15738ded3d2d493
	https://git.kernel.org/stable/c/83fe4e4f4fbf01d3832a24511c0ddfaccf5df9d8
	https://git.kernel.org/stable/c/8e17e101e04a3dc062e2719da57ff78c1c060632