CVE-2026-143258
net/mlx5e: TC, Fix double free of branch in failure
- Severity
- unscored
- Affects
- Linux
- Published
- 3 December 2026 by Linux
- First seen on our lists
- 3 December 2026
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 parse_branch_ctrl(), the
already allocated true branch is freed but attr->branch_true is left
pointing to it. The caller parse_tc_actions() fails the flow, and
free_flow_post_acts(), mlx5_free_flow_attr_actions() which calls again
free_branch_attr() on attr->branch_true.
Clear the pointer after freeing it.
This bug is theoretical and was compile tested only.
Our coverage
We have not written about this one. Know why it matters? Send a tip.