CVE-2026-93109: RDMA/mlx5: Drain RCU callbacks during module teardown
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
RDMA/mlx5: Drain RCU callbacks during module teardown
devx_free_subscription() can remain queued after the last DevX event file drops its module reference or an auxiliary driver detaches its devices. mlx5_ib can then unload before the callback runs.
Registration error unwind has the same risk because driver registration can attach existing devices before failing. Wait after all drivers have stopped.
The Linux kernel CVE team has assigned CVE-2026-93109 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.6 with commit 6898d1c661d79f4707d8ba82991b2195822780ca and fixed in 5.15.221 with commit ca428e597f12b278bf158356e34641e6386cfa82 Issue introduced in 5.6 with commit 6898d1c661d79f4707d8ba82991b2195822780ca and fixed in 6.1.188 with commit 59d60e04afd012f07e996d2e34cb90a4ec6f5cff Issue introduced in 5.6 with commit 6898d1c661d79f4707d8ba82991b2195822780ca and fixed in 6.6.157 with commit 2f946e7839f677fa14574b6babad14b37ae0bbbe Issue introduced in 5.6 with commit 6898d1c661d79f4707d8ba82991b2195822780ca and fixed in 6.12.110 with commit 4be7810ba70291abb2f68cc6db0ae1b93ee9c76a Issue introduced in 5.6 with commit 6898d1c661d79f4707d8ba82991b2195822780ca and fixed in 6.18.52 with commit 7babc25d8dd5b7642920fbc0737cfd1469e7025b Issue introduced in 5.6 with commit 6898d1c661d79f4707d8ba82991b2195822780ca and fixed in 7.2.6 with commit 4664368b9bd9d5d79ebad24056b98c34b9fed20f Issue introduced in 5.6 with commit 6898d1c661d79f4707d8ba82991b2195822780ca and fixed in 7.3-rc1 with commit e37cdd75f8d61c1123d324ae5667ac3da562290e
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-93109
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/ca428e597f12b278bf158356e34641e6386cfa82 https://git.kernel.org/stable/c/59d60e04afd012f07e996d2e34cb90a4ec6f5cff https://git.kernel.org/stable/c/2f946e7839f677fa14574b6babad14b37ae0bbbe https://git.kernel.org/stable/c/4be7810ba70291abb2f68cc6db0ae1b93ee9c76a https://git.kernel.org/stable/c/7babc25d8dd5b7642920fbc0737cfd1469e7025b https://git.kernel.org/stable/c/4664368b9bd9d5d79ebad24056b98c34b9fed20f https://git.kernel.org/stable/c/e37cdd75f8d61c1123d324ae5667ac3da562290e