CVE-2026-139282: octeontx2-af: Fix CQ enable state tracking after AQ writes
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-af: Fix CQ enable state tracking after AQ writes
Use the CQ context's ena field when updating the CQ enable bitmap. The current code reads rq.ena, which overlaps bit 0 of the CQ base address and can leave the bitmap out of sync with the hardware context. This can cause enabled CQs to be skipped during teardown.
Use sq.ena for the SQ bitmap update as well, so each queue type reads its own context.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Update the SQ bitmap using sq.ena, and update the CQ enable bitmap using the CQ context’s ena field.
Event History
Frequently Asked Questions
What systems are exposed to this issue?
The issue affects Linux kernel systems using the octeontx2 AF driver and its completion queue or send queue management. The provided information does not identify specific hardware models, kernel versions, or configurations.
What is the operational impact of the incorrect queue-state tracking?
The software bitmap can become inconsistent with the hardware queue context after AQ writes. As a result, completion queues that are enabled in hardware may be skipped during teardown.
How can I determine whether a system has this fix?
Check whether the installed kernel includes one of the referenced stable commits: 542dc6b4bd03049ece217a58da4a4082464ff8b1, 6661a65257b7d8d2bdf124f841cca8eb361d5182, or b6d589854aa7e12bb69c9e78bdeca2cf1fe5bcbc.