AZL-118427: CVE-2026-143258 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: TC, Fix double free of branch in failure
When allocating the false branch fails in parsebranchctrl(), the already allocated true branch is freed but attr->branchtrue is left pointing to it. The caller parsetcactions() fails the flow, and freeflowpostacts(), mlx5freeflowattractions() which calls again freebranchattr() on attr->branchtrue.
Clear the pointer after freeing it.
This bug is theoretical and was compile tested only.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In parse_branch_ctrl(), clear attr->branch_true after freeing the true branch to prevent the subsequent double free.
Event History
Frequently Asked Questions
Is this issue known to be exploitable in deployed systems?
No. The available information describes the bug as theoretical and states that it was compile tested only; it does not report a demonstrated runtime exploit or impact.
What condition triggers the double free?
The failure path is reached when allocation of the false branch in parse_branch_ctrl() fails after the true branch has already been allocated. The true branch is freed but its pointer is not cleared, allowing later flow cleanup to free it again.
How can I determine whether my system is in scope?
Check whether the system is using the Azure Linux kernel package identified as version 6.6.161.1-1. The provided data does not identify other affected package versions or configurations.