CVE-2026-143258

Source
https://cve.org/CVERecord?id=CVE-2026-143258
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143258.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143258
Downstream
Published
2026-12-03T09:21:04Z
Modified
2026-12-03T11:01:50Z
Summary
net/mlx5e: TC, Fix double free of branch in failure
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143258.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f86488cb4685bbb885057afa0b61bb8afc1d6bb1
Fixed
4dfba871c220c3581dada988f6ba57104163111c
Fixed
46296baedd20ca100cdc2260415d02a65596e76d
Fixed
014272105371b140affcee740039cb5f6dc63baa
Fixed
31f9b43a3bb3d2201eadd147440252d0912dab21

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143258.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143258.json"