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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
f86488cb4685bbb885057afa0b61bb8afc1d6bb1 to < 4dfba871c220c3581dada988f6ba57104163111caffectedf86488cb4685bbb885057afa0b61bb8afc1d6bb1 to < 46296baedd20ca100cdc2260415d02a65596e76daffectedf86488cb4685bbb885057afa0b61bb8afc1d6bb1 to < 014272105371b140affcee740039cb5f6dc63baaaffectedf86488cb4685bbb885057afa0b61bb8afc1d6bb1 to < 31f9b43a3bb3d2201eadd147440252d0912dab21affected
Linux Linux
Default version status: affected
6.2affected0 to < 6.2unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected