CVE-2026-143212

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143213In the Linux kernel, the following vulnerability has been resolved: fbnic: Wait for the outbound flush to complete on mailbox teardown TheCVE-2026-143214In the Linux kernel, the following vulnerability has been resolved: net: mana: fix XDP_REDIRECT of pre-allocated RX buffers mana_pre_allocCVE-2026-143215In the Linux kernel, the following vulnerability has been resolved: net: fix mac_len of skbs copied by generic XDP skb_pp_cow_data() copieCVE-2026-143216In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: mesh: don't linearize SKBs unnecessarily If mesh fast-CVE-2026-143217In the Linux kernel, the following vulnerability has been resolved: ipvlan: make outbound skb headers writable In L3 and L3S modes, ipvlanCVE-2026-143218In the Linux kernel, the following vulnerability has been resolved: net: require a full socket in sock_confirm_neigh() An skb can retain dCVE-2026-143219In the Linux kernel, the following vulnerability has been resolved: net: protect negative destination advice with RCU SO_CNX_ADVICE calls CVE-2026-143225.3The Timetics WordPress plugin before 1.0.57 does not enforce a pending or unpaid status for new bookings created through a payment method oCVE-2026-143220In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Use only loaded devices for PTP clock operations The PTP perCVE-2026-143221In the Linux kernel, the following vulnerability has been resolved: team: fix promisc/allmulti leak in team_port_add error path team_port_CVE-2026-143222In the Linux kernel, the following vulnerability has been resolved: af_unix: Remove gc_in_progress check in unix_peek_fpl(). unix_vertex_dCVE-2026-143223In the Linux kernel, the following vulnerability has been resolved: af_unix: Convert unsigned long to u64 for GC. Lim Chanyoun reported th
CVE-2026-143212: Unscored | Vulnix