{"id":"CVE-2026-143258","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:18:05.947","lastModified":"2026-12-04T04:17:45.947","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: TC, Fix double free of branch in failure\n\nWhen allocating the false branch fails in parse_branch_ctrl(), the\nalready allocated true branch is freed but attr->branch_true is left\npointing to it. The caller parse_tc_actions() fails the flow, and\nfree_flow_post_acts(), mlx5_free_flow_attr_actions() which calls again\nfree_branch_attr() on attr->branch_true.\n\nClear the pointer after freeing it.\n\nThis bug is theoretical and was compile tested only."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/en_tc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"f86488cb4685bbb885057afa0b61bb8afc1d6bb1","lessThan":"4dfba871c220c3581dada988f6ba57104163111c","versionType":"git","status":"affected"},{"version":"f86488cb4685bbb885057afa0b61bb8afc1d6bb1","lessThan":"46296baedd20ca100cdc2260415d02a65596e76d","versionType":"git","status":"affected"},{"version":"f86488cb4685bbb885057afa0b61bb8afc1d6bb1","lessThan":"014272105371b140affcee740039cb5f6dc63baa","versionType":"git","status":"affected"},{"version":"f86488cb4685bbb885057afa0b61bb8afc1d6bb1","lessThan":"31f9b43a3bb3d2201eadd147440252d0912dab21","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/en_tc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.2","status":"affected"},{"version":"0","lessThan":"6.2","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/014272105371b140affcee740039cb5f6dc63baa","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/31f9b43a3bb3d2201eadd147440252d0912dab21","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/46296baedd20ca100cdc2260415d02a65596e76d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/4dfba871c220c3581dada988f6ba57104163111c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}