Description
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.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= f86488cb4685bbb885057afa0b61bb8afc1d6bb1, < 4dfba871c220c3581dada988f6ba57104163111c; >= f86488cb4685bbb885057afa0b61bb8afc1d6bb1, < 46296baedd20ca100cdc2260415d02a65596e76d; >= f86488cb4685bbb885057afa0b61bb8afc1d6bb1, < 014272105371b140affcee740039cb5f6dc63baa; >= f86488cb4685bbb885057afa0b61bb8afc1d6bb1, < 31f9b43a3bb3d2201eadd147440252d0912dab21 |
| Linux | Linux | 6.2 |
References
Timeline
- Published
- Dec 3, 2026
- Last modified
- Dec 3, 2026
- NVD status
- Received