CVE-2026-143207

Not scored yetLast modified Dec 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5e: Block E-Switch mode changes during IPsec policy creation

Eswitch mode changes can tear down the IPsec context while policy creation is accessing it. The mode-blocking reference acquired when creating a flow table comes too late: the table lookup already accesses the IPsec context before taking that reference.

Take a temporary mode-blocking reference before checking the IPsec context and validating the policy. This gets dropped after successful setup, when the flow table holds its own reference.

The temporary reservation must allow reuse of existing IPsec tables. For example: 1. An offloaded inbound IPsec policy is added on the uplink. 2. A TC flower rule is added on a VF representor. 3. Another uplink policy is added using the same RX tables.

The third policy reuses the first policy's tables, so it must not be rejected merely because esw->user_count is nonzero. Add a check_users argument to mlx5_eswitch_block_mode(). Pass false for temporary policy reservations and true when creating the first table (rx_get()/tx_get()).

Temporary reservations take mode_lock and check operation ownership without requiring eswitch user_count to be zero.

mlx5e_xfrm_add_state() needs the same early mode reservation and is handled in the next patch.

This was found by Sashiko, during review of the last patch in the series. No reproduction attempted, as it seems quite a tricky race to successfully trigger.

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-143208In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix ipsec core device access during profile changes DevlinkCVE-2026-143209In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix E-Switch races in uplink unbind Unbinding the uplink EtCVE-2026-143218.2The divi-dash WordPress plugin before 1.0.7 does not validate the source of the client IP address it uses for rate limiting and banning, allCVE-2026-143210In the Linux kernel, the following vulnerability has been resolved: net: skbuff: uncharge trimmed zerocopy frags on error __zerocopy_sg_frCVE-2026-143211In the Linux kernel, the following vulnerability has been resolved: ptp: kvm: x86: Leak clock_pair page if changing its encryption fails ICVE-2026-143212In the Linux kernel, the following vulnerability has been resolved: net/mlx5: macsec: Don't remove fs_id when adding a rule fails macsec_fCVE-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 d
CVE-2026-143207: Unscored | Vulnix