# CVE-2026-43467: net/mlx5: Fix crash when moving to switchdev mode

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-05-08T14:22:28.216Z
- **Modified:** 2026-11-11T20:10:00.273Z

## Who should check

- Anyone running Linux \>= 7e212cebc863c2c7a82f480446cd731721451691, \< 05c9a6df3646cdd25e0e10e6ef2d20cdba3ed8f9; \>= 664f76be38a18c61151d0ef248c7e2f3afb4f3c7, \< 835778685f157b4fd4683b670cfe4010265bac60; \>= 664f76be38a18c61151d0ef248c7e2f3afb4f3c7, \< bc72f739f398d9d2e4f3d06f3f75fe98876d5579; \>= 664f76be38a18c61151d0ef248c7e2f3afb4f3c7, \< 24b2795f9683e092dc22a68f487e7aaaf2ddafea; 8956686d398eca6d324d2d164f9d2a281175a3a1; \>= 6.12.56, \< 6.12.78; \>= 6.17.6, \< 6.18
- Anyone running Linux 6.18

## Description

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

net/mlx5: Fix crash when moving to switchdev mode

When moving to switchdev mode when the device doesn't support IPsec,
we try to clean up the IPsec resources anyway which causes the crash
below, fix that by correctly checking for IPsec support before trying
to clean up its resources.

\[27642.515799\] WARNING: arch/x86/mm/fault.c:1276 at
do\_user\_addr\_fault+0x18a/0x680, CPU\#4: devlink/6490
\[27642.517159\] Modules linked in: xt\_conntrack xt\_MASQUERADE
ip6table\_nat ip6table\_filter ip6\_tables iptable\_nat nf\_nat xt\_addrtype
rpcsec\_gss\_krb5 auth\_rpcgss oid\_registry overlay mlx5\_fwctl nfnetlink
zram zsmalloc mlx5\_ib fuse rpcrdma rdma\_ucm ib\_uverbs ib\_iser libiscsi
scsi\_transport\_iscsi ib\_umad rdma\_cm ib\_ipoib iw\_cm ib\_cm mlx5\_core
ib\_core
\[27642.521358\] CPU: 4 UID: 0 PID: 6490 Comm: devlink Not tainted
6.19.0-rc5\_for\_upstream\_min\_debug\_2026\_01\_14\_16\_47 \#1 NONE
\[27642.522923\] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
\[27642.524528\] RIP: 0010:do\_user\_addr\_fault+0x18a/0x680
\[27642.525362\] Code: ff 0f 84 75 03 00 00 48 89 ee 4c 89 e7 e8 5e b9 22
00 49 89 c0 48 85 c0 0f 84 a8 02 00 00 f7 c3 60 80 00 00 74 22 31 c9 eb
   ae \<0f\> 0b 48 83 c4 10 48 89 ea 48 89 de 4c 89 f7 5b 5d 41 5c 41 5d
41
\[27642.528166\] RSP: 0018:ffff88810770f6b8 EFLAGS: 00010046
\[27642.529038\] RAX: 0000000000000000 RBX: 0000000000000002 RCX:
ffff88810b980f00
\[27642.530158\] RDX: 00000000000000a0 RSI: 0000000000000002 RDI:
ffff88810770f728
\[27642.531270\] RBP: 00000000000000a0 R08: 0000000000000000 R09:
0000000000000000
\[27642.532383\] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff888103f3c4c0
\[27642.533499\] R13: 0000000000000000 R14: ffff88810770f728 R15:
0000000000000000
\[27642.534614\] FS:  00007f197c741740(0000) GS:ffff88856a94c000(0000)
knlGS:0000000000000000
\[27642.535915\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[27642.536858\] CR2: 00000000000000a0 CR3: 000000011334c003 CR4:
0000000000172eb0
\[27642.537982\] Call Trace:
\[27642.538466\]  \<TASK\>
\[27642.538907\]  exc\_page\_fault+0x76/0x140
\[27642.539583\]  asm\_exc\_page\_fault+0x22/0x30
\[27642.540282\] RIP: 0010:\_raw\_spin\_lock\_irqsave+0x10/0x30
\[27642.541134\] Code: 07 85 c0 75 11 ba ff 00 00 00 f0 0f b1 17 75 06 b8
01 00 00 00 c3 31 c0 c3 90 0f 1f 44 00 00 53 9c 5b fa 31 c0 ba 01 00 00
   00 \<f0\> 0f b1 17 75 05 48 89 d8 5b c3 89 c6 e8 7e 02 00 00 48 89 d8
      5b
\[27642.543936\] RSP: 0018:ffff88810770f7d8 EFLAGS: 00010046
\[27642.544803\] RAX: 0000000000000000 RBX: 0000000000000202 RCX:
ffff888113ad96d8
\[27642.545916\] RDX: 0000000000000001 RSI: ffff88810770f818 RDI:
00000000000000a0
\[27642.547027\] RBP: 0000000000000098 R08: 0000000000000400 R09:
ffff88810b980f00
\[27642.548140\] R10: 0000000000000001 R11: ffff888101845a80 R12:
00000000000000a8
\[27642.549263\] R13: ffffffffa02a9060 R14: 00000000000000a0 R15:
ffff8881130d8a40
\[27642.550379\]  complete\_all+0x20/0x90
\[27642.551010\]  mlx5e\_ipsec\_disable\_events+0xb6/0xf0 \[mlx5\_core\]
\[27642.552022\]  mlx5e\_nic\_disable+0x12d/0x220 \[mlx5\_core\]
\[27642.552929\]  mlx5e\_detach\_netdev+0x66/0xf0 \[mlx5\_core\]
\[27642.553822\]  mlx5e\_netdev\_change\_profile+0x5b/0x120 \[mlx5\_core\]
\[27642.554821\]  mlx5e\_vport\_rep\_load+0x419/0x590 \[mlx5\_core\]
\[27642.555757\]  ? xa\_load+0x53/0x90
\[27642.556361\]  \_\_esw\_offloads\_load\_rep+0x54/0x70 \[mlx5\_core\]
\[27642.557328\]  mlx5\_esw\_offloads\_rep\_load+0x45/0xd0 \[mlx5\_core\]
\[27642.558320\]  esw\_offloads\_enable+0xb4b/0xc90 \[mlx5\_core\]
\[27642.559247\]  mlx5\_eswitch\_enable\_locked+0x34e/0x4f0 \[mlx5\_core\]
\[27642.560257\]  ? mlx5\_rescan\_drivers\_locked+0x222/0x2d0 \[mlx5\_core\]
\[27642.561284\]  mlx5\_devlink\_eswitch\_mode\_set+0x5ac/0x9c0 \[mlx5\_core\]
\[27642.562334\]  ? devlink\_rate\_set\_ops\_supported+0x21/0x3a0
\[27642.563220\]  devlink\_nl\_eswitch\_set\_doit+0x67/0xe0
\[27642.564026\]  genl\_family\_rcv\_msg\_doit+0xe0/0x130
\[27642.564816\]  genl\_rcv\_msg+0x183/0x290
\[27642.565466\]  ? \_\_devlink\_nl\_pre\_doit.isra.0+0x160/0x160
\[27642.566329\]  ? d
---truncated---

## Affected and fixed versions

- Linux: \>= 7e212cebc863c2c7a82f480446cd731721451691, \< 05c9a6df3646cdd25e0e10e6ef2d20cdba3ed8f9; \>= 664f76be38a18c61151d0ef248c7e2f3afb4f3c7, \< 835778685f157b4fd4683b670cfe4010265bac60; \>= 664f76be38a18c61151d0ef248c7e2f3afb4f3c7, \< bc72f739f398d9d2e4f3d06f3f75fe98876d5579; \>= 664f76be38a18c61151d0ef248c7e2f3afb4f3c7, \< 24b2795f9683e092dc22a68f487e7aaaf2ddafea; 8956686d398eca6d324d2d164f9d2a281175a3a1; \>= 6.12.56, \< 6.12.78; \>= 6.17.6, \< 6.18 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 6.18 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-43467. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43467.md
Affected: Linux >= 7e212cebc863c2c7a82f480446cd731721451691, < 05c9a6df3646cdd25e0e10e6ef2d20cdba3ed8f9; >= 664f76be38a18c61151d0ef248c7e2f3afb4f3c7, < 835778685f157b4fd4683b670cfe4010265bac60; >= 664f76be38a18c61151d0ef248c7e2f3afb4f3c7, < bc72f739f398d9d2e4f3d06f3f75fe98876d5579; >= 664f76be38a18c61151d0ef…
Fixed in: Linux 05c9a6df3646cdd25e0e10e6ef2d20cdba3ed8f9, Linux 835778685f157b4fd4683b670cfe4010265bac60, Linux 24b2795f9683e092dc22a68f487e7aaaf2ddafea, Linux 6.12.78, Linux 6.18

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-43467 being exploited?

There is no confirmed exploitation: CVE-2026-43467 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-43467?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-43467?

Linux \>= 7e212cebc863c2c7a82f480446cd731721451691, \< 05c9a6df3646cdd25e0e10e6ef2d20cdba3ed8f9; \>= 664f76be38a18c61151d0ef248c7e2f3afb4f3c7, \< 835778685f157b4fd4683b670cfe4010265bac60; \>= 664f76be38a18c61151d0ef248c7e2f3afb4f3c7, \< bc72f739f398d9d2e4f3d06f3f75fe98876d5579; \>= 664f76be38a18c61151d0ef248c7e2f3afb4f3c7, \< 24b2795f9683e092dc22a68f487e7aaaf2ddafea; 8956686d398eca6d324d2d164f9d2a281175a3a1; \>= 6.12.56, \< 6.12.78; \>= 6.17.6, \< 6.18; Linux 6.18.

### Is there a fix for CVE-2026-43467?

Yes. Fixed in Linux 05c9a6df3646cdd25e0e10e6ef2d20cdba3ed8f9, Linux 835778685f157b4fd4683b670cfe4010265bac60, Linux 24b2795f9683e092dc22a68f487e7aaaf2ddafea, Linux 6.12.78, Linux 6.18. Upgrade Linux to 6.18 or later.

### How do I check if I'm affected by CVE-2026-43467?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/05c9a6df3646cdd25e0e10e6ef2d20cdba3ed8f9>
- patch: <https://git.kernel.org/stable/c/835778685f157b4fd4683b670cfe4010265bac60>
- patch: <https://git.kernel.org/stable/c/bc72f739f398d9d2e4f3d06f3f75fe98876d5579>
- patch: <https://git.kernel.org/stable/c/24b2795f9683e092dc22a68f487e7aaaf2ddafea>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-43467>

HTML: <https://flawdb.com/CVE-2026-43467> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-43467>
