CVE-2026-139570: RDMA/hfi1: quiesce SDMA asynchronous cleanup on exit
In the Linux kernel, the following vulnerability has been resolved:
RDMA/hfi1: quiesce SDMA asynchronous cleanup on exit
The SDMA state reference and completion cover the software cleanup tasklet, but not the hardware cleanup tasklet, errhaltworker, or flushworker. Queued instances can therefore access an SDMA engine after persdma is released.
After the state machine has stopped, cancel errhaltworker first because it can publish the hardware cleanup tasklet. Then kill that tasklet and drain the remaining flush work.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
On exit, after the state machine has stopped, cancel err_halt_worker first; then kill the hardware cleanup tasklet and drain the remaining flush work before releasing per_sdma.
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems running the Linux kernel with the RDMA/hfi1 driver and SDMA functionality in use are the relevant exposure set. The flaw concerns asynchronous SDMA cleanup during driver exit.
What condition triggers the vulnerability?
The issue can occur when queued hardware cleanup tasklets or related err_halt_worker and flush_worker work execute after the SDMA engine's per_sdma state has been released during shutdown or exit.
Is there a mitigation if the fix cannot be applied immediately?
The provided information does not specify a configuration workaround. Reducing exposure would require avoiding the affected RDMA/hfi1 SDMA driver-exit path until a kernel containing the cleanup synchronization fix is deployed.