CVE-2026-143206
Last modified
CVE-2026-143206 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Block E-Switch mode changes during IPsec state creation mlx5e_xfrm_add_state() reads priv->ipsec before blocking eswitch mode changes. A concurrent profile change can free the saved IPsec context and cause use-after-free. The temporary mode reservation was added in commit 22239eb258bc ("net/mlx5e: Prevent tunnel reformat when tunnel mode not allowed") after saving priv->ipsec but the race was actually enabled by the "Fixes" commit. Extend the reservation to cover obtaining the context as well. Use mlx5_eswitch_block_mode(mdev, false) for the temporary reservation, as policy creation does, to check operation ownership under mode_lock without rejecting existing eswitch users.
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Block E-Switch mode changes during IPsec state creation mlx5e_xfrm_add_state() reads priv->ipsec before blocking eswitch mode changes. A concurrent profile change can free the saved IPsec context and cause use-after-free. The temporary mode reservation was added in commit 22239eb258bc ("net/mlx5e: Prevent tunnel reformat when tunnel mode not allowed") after saving priv->ipsec but the race was actually enabled by the "Fixes" commit. Extend the reservation to cover obtaining the context as well. Use mlx5_eswitch_block_mode(mdev, false) for the temporary reservation, as policy creation does, to check operation ownership under mode_lock without rejecting existing eswitch users. This allows reusing existing IPsec tables while TC rules exist on VF representors. Check the context only after taking the mode reservation, so a concurrent mode change consistently returns -EBUSY and a missing context returns -EOPNOTSUPP, preserving software fallback for crypto offload. Keep the atomic acquire-placeholder path exempt, since it creates no hardware state and cannot take sleeping locks. 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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 7a9fb35e8c3a67145fca262c304de65cb2f83abf, < fc72f3fd9d15a083330c626562201ab9a504c470; >= 7a9fb35e8c3a67145fca262c304de65cb2f83abf, < 0d09de8e4f11391e8468219dbbc7af027e39e9b8 |
| Linux | Linux | 5.13 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143206?
How severe is CVE-2026-143206?
How do I fix CVE-2026-143206?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-143200In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143201In the Linux kernel, the following vulnerability has been re…7.4
- CVE-2026-143202In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143203In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-143204In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-143205In the Linux kernel, the following vulnerability has been re…7.4
- CVE-2026-143207In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143208In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143209In the Linux kernel, the following vulnerability has been re…
- CVE-2026-14321The divi-dash WordPress plugin before 1.0.7 does not validat…8.2
- CVE-2026-143210In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-143211In the Linux kernel, the following vulnerability has been re…9.3
Are you affected by CVE-2026-143206?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
