EnvMap GitHub

CVE-2026-143212

net/mlx5: macsec: Don't remove fs_id when adding a rule fails

Not scored yetEPSS 0.17%Received

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: macsec: Don't remove fs_id when adding a rule fails macsec_fs_tx_add_rule() and macsec_fs_rx_add_rule() clean up a failed rule with macsec_fs_{tx,rx}_del_rule(), which also calls macsec_fs_id_del(). The fs_id is never in the xarray at that point: macsec_fs_id_add() is the last step of adding a rule and removes its own entry when it fails. macsec_fs_id_del() then dereferences NULL, through macsec_device for the first SA of a MACsec netdev and through fs_id_found otherwise. On RX, the SAs of one SC share an fs_id, so a failure while adding another SA drops the reference that an existing SA holds. Split the rule teardown from the fs_id removal and do only the teardown on the error paths.

In the words of the organisation that published it (Linux).

Affected

  • Linux: from d4ece08f4b1d29471cc4c0eb0c87427600a77acd before 5d352f7730271ec8f2882657982; from d4ece08f4b1d29471cc4c0eb0c87427600a77acd before cdab372f827b8933816aba50199; from d4ece08f4b1d29471cc4c0eb0c87427600a77acd before c9270b5b9b2a1958aa1049c3a9f; from d4ece08f4b1d29471cc4c0eb0c87427600a77acd before 5175da73dd128520ad6d704d7fe; 6.6

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.17% chance of exploitation in the next 30 days, higher than 6% of all CVEs (as of 4 December 2026).

References

Record

Published10:17 UTC, 3 December 2026
Last changed10:17 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-143212 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.