RDMA/mlx5: Drain RCU callbacks during module teardown
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6898d1c661d79f4707d8ba82991b2195822780ca · < 4664368b9bd9d5d79ebad24056b98c34b9fed20f| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
In the Linux kernel, a DevX subscription callback can remain queued after mlx5_ib is unloaded, including when an auxiliary driver detaches devices or driver registration fails. The input does not establish how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the RDMA/mlx5 driver should check their kernel versions; affected versions are not specified.