Skip to main content
VulnerabilityPublished

CVE-2026-143208: Linux kernel · net/mlx5e: Fix ipsec core device access during profile changes

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in 09dfaacbb50f4d11a547ea49c49e934bfe90de5c : update Linux kernel when convenient.

Data as of 3 Dec 2026, 09:45 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in 09dfaacbb50f4d11a547ea49c49e934bfe90de5c, 6e7d7afe3bed503f92d6f0ed87ce1fe0ae63a38b, 5b310ae1eff7531030b123bfcb192b0176d73075

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade Linux kernel to 09dfaacbb50f4d11a547ea49c49e934bfe90de5c, 6e7d7afe3bed503f92d6f0ed87ce1fe0ae63a38b or 5b310ae1eff7531030b123bfcb192b0176d73075.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 7a9fb35e8c3a67145fca262c304de65cb2f83abf, < 09dfaacbb50f4d11a547ea49c49e934bfe90de5c
Fixed in
  • 09dfaacbb50f4d11a547ea49c49e934bfe90de5c
LinuxLinuxAffected
  • ≥ 7a9fb35e8c3a67145fca262c304de65cb2f83abf, < 6e7d7afe3bed503f92d6f0ed87ce1fe0ae63a38b
Fixed in
  • 6e7d7afe3bed503f92d6f0ed87ce1fe0ae63a38b
LinuxLinuxAffected
  • ≥ 7a9fb35e8c3a67145fca262c304de65cb2f83abf, < 5b310ae1eff7531030b123bfcb192b0176d73075
Fixed in
  • 5b310ae1eff7531030b123bfcb192b0176d73075
LinuxLinuxAffected
  • =5.13
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix ipsec core device access during profile changes Devlink E-Switch mode changes replace the netdev profile without unregistering the netdev. XFRM state and policy creation can therefore run while mlx5e_priv_cleanup() clears priv with memset() or mlx5e_priv_init() initializes it again. Accesses to priv->mdev can observe NULL or a torn pointer, and repeated loads may return different values. Read priv->mdev once in each add callback and use the saved pointer throughout the callback, including error unwinding. The core device survives the in-place profile change, so a saved non-NULL pointer remains valid even if priv is cleared in the meantime. A NULL priv->mdev means a profile change is in progress, which only happens during an eswitch mode change. Return -EBUSY in that case, as mlx5_eswitch_block_mode() does for the same mode change. -EOPNOTSUPP would make xfrm_dev_state_add() silently fall back to software for a crypto offload SA for its whole lifetime. Use WRITE_ONCE() when initializing priv->mdev and when clearing it before memset(). This makes the transition to NULL atomic; the subsequent bulk clear only writes zero bytes over an already NULL pointer. Annotate the READ_ONCE() snapshots with data_race() to allow that harmless overlap with the unmarked memset() without suppressing checks for the rest of priv. This fixes the core-device pointer accesses. Protecting the IPsec context itself during state and policy creation is handled separately. This was found by Sashiko, during review of the next patches in the series. No attempt was made at reproducing this race, the chances seem vanishingly small.

References

Community reviews

Loading reviews…