Linux Kernel up to 7.3.6/7.4-rc2 E-Switch net/mlx5e mlx5_eswitch_block_mode check_users race condition

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.7 | $0-$5k | 0.00+ |
Summary
A vulnerability, which was classified as very critical, was found in Linux Kernel up to 7.3.6/7.4-rc2. This affects the function mlx5_eswitch_block_mode of the file net/mlx5e of the component E-Switch. Executing a manipulation of the argument check_users can lead to race condition.
This vulnerability is handled as CVE-2026-143207. The attack can be executed remotely. There is not any exploit available.
You should upgrade the affected component.
Details
A vulnerability classified as very critical was found in Linux Kernel up to 7.3.6/7.4-rc2. This vulnerability affects the function mlx5_eswitch_block_mode of the file net/mlx5e of the component E-Switch. The manipulation of the argument check_users with an unknown input leads to a race condition vulnerability. The CWE definition for the vulnerability is CWE-362. The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is available at git.kernel.org. This vulnerability was named CVE-2026-143207 since 12/03/2026. The exploitation appears to be easy. The attack can be initiated remotely. The exploitation needs additional levels of successful authentication. Technical details are known, but there is no available exploit. The structure of the vulnerability defines a possible price range of USD $0-$5k at the moment (estimation calculated on 12/03/2026).
Upgrading to version 7.3.7 or 7.4-rc3 eliminates this vulnerability. Applying the patch 36a2ab7fe7622f3411c5aa376e868a0e03b9b805/d9e4ac08ea892da54c5aa7ae4a368f2d09db589c is able to eliminate this problem. The best possible mitigation is suggested to be upgrading to the latest version.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.1VulDB Meta Temp Score: 8.7
VulDB Base Score: 9.1
VulDB Temp Score: 8.7
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Race conditionCWE: CWE-362
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Kernel 7.3.7/7.4-rc3
Patch: 36a2ab7fe7622f3411c5aa376e868a0e03b9b805/d9e4ac08ea892da54c5aa7ae4a368f2d09db589c
Timeline
12/03/2026 Advisory disclosed12/03/2026 CVE reserved
12/03/2026 VulDB entry created
12/03/2026 VulDB entry last update
Sources
Vendor: kernel.orgAdvisory: git.kernel.org
Status: Confirmed
CNA: Linux
CVE: CVE-2026-143207 (🔒)
GCVE (CVE): GCVE-0-2026-143207
GCVE (VulDB): GCVE-100-448786
Entry
Created: 12/03/2026 11:42Changes: 12/03/2026 11:42 (61)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.