CVE-2026-143208
Last modified
CVE-2026-143208 is a vulnerability of currently unknown severity. 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.
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 7a9fb35e8c3a67145fca262c304de65cb2f83abf, < 09dfaacbb50f4d11a547ea49c49e934bfe90de5c; >= 7a9fb35e8c3a67145fca262c304de65cb2f83abf, < 6e7d7afe3bed503f92d6f0ed87ce1fe0ae63a38b; >= 7a9fb35e8c3a67145fca262c304de65cb2f83abf, < 5b310ae1eff7531030b123bfcb192b0176d73075 |
| Linux | Linux | 5.13 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143208?
How severe is CVE-2026-143208?
How do I fix CVE-2026-143208?
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-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-143206In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143207In 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
- CVE-2026-143212In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143213In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-143208?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
