# CVE-2026-98014: net/mlx5: E-Switch, prevent mc\_list repopulation during vport disable

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-25T10:23:37.131Z
- **Modified:** 2026-10-19T10:17:54.773Z

## Who should check

- Anyone running Linux \>= 4df1f2d36bdc9a368650bf14b9097c555e95f71d, \< 413e04adcc1fd263cf02b1b83b4a0dbdc66bcee9; \>= 63546395a0e6ac264f78f65218086ce6014b4494, \< 2196f9d3358b00fcb28835a5fde14071f51ecb96; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< 5a2b87dfceccf9065157a14a599d395c2b6281b8; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< 69904608e25e8ba58111aadd9210892cf3876201; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< 72cfcb79026cffb6490f5044153a841d360b0cfc; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< 668e050429c7ca688cf4e7112f97f0cd269d446b; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< c0c6f4ba8a37688f7b4d4044898d88f0450d44c2; 18cead61e437f4c7898acca0a5f3df12f801d97f; 6f5780536181d1d0d09a11a1bc92f22e143447e2; \>= 5.15.105, \< 5.15.222; …
- Anyone running Linux 6.3

## Description

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

net/mlx5: E-Switch, prevent mc\_list repopulation during vport disable

In mlx5\_esw\_vport\_disable(), move esw\_apply\_vport\_rx\_mode() ahead
of esw\_vport\_change\_handle\_locked() so vport-\>allmulti\_rule is
NULL before the change handler observes it.

During FW-fatal recovery the disable runs while dev-\>state ==
INTERNAL\_ERROR. The promisc query inside esw\_update\_vport\_rx\_mode()
fails and returns early, leaving vport-\>allmulti\_rule intact, so
esw\_update\_vport\_mc\_promisc() runs and adds MLX5\_ACTION\_ADD entries
to vport-\>mc\_list whose flow rules are then installed in the FDB
by esw\_add\_mc\_addr(). esw\_destroy\_legacy\_table() tears down the
FDB with those refs still held, corrupting the sub-tree and
leaving dangling flow\_rule pointers in vport-\>mc\_list.

Two-stage failure on \`echo 1 \> /sys/bus/pci/devices/\<bdf\>/reset\`:

  refcount\_t: underflow; use-after-free.
   tree\_put\_node+0xef/0x110 \[mlx5\_core\]
   clean\_tree+0x44/0xd0 \[mlx5\_core\] (x5)
   mlx5\_fs\_core\_cleanup+0x57/0x1c0 \[mlx5\_core\]
   mlx5\_unload+0x65/0xd0 \[mlx5\_core\]
   ... mlx5\_health\_try\_recover

  BUG: unable to handle page fault for address: 0000000003000055
   down\_write+0x1c/0x60
   mlx5\_del\_flow\_rules+0x33/0x1f0 \[mlx5\_core\]
   esw\_del\_mc\_addr+0x7b/0x170 \[mlx5\_core\]
   esw\_apply\_vport\_addr\_list+0x56/0xf0 \[mlx5\_core\]
   esw\_vport\_change\_handle\_locked+0x28b/0x310 \[mlx5\_core\]
   mlx5\_esw\_vport\_enable+0x270/0x4a0 \[mlx5\_core\]
   ... mlx5\_load ... mlx5\_health\_try\_recover

esw\_apply\_vport\_rx\_mode(false, false) clears vport-\>allmulti\_rule
via its local state machine even when the FW del fails. With the
rule NULL the !IS\_ERR\_OR\_NULL(allmulti\_rule) gate in the change
handler closes, no rules are installed during disable, and the
reload starts with a clean mc\_list.

## Affected and fixed versions

- Linux: \>= 4df1f2d36bdc9a368650bf14b9097c555e95f71d, \< 413e04adcc1fd263cf02b1b83b4a0dbdc66bcee9; \>= 63546395a0e6ac264f78f65218086ce6014b4494, \< 2196f9d3358b00fcb28835a5fde14071f51ecb96; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< 5a2b87dfceccf9065157a14a599d395c2b6281b8; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< 69904608e25e8ba58111aadd9210892cf3876201; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< 72cfcb79026cffb6490f5044153a841d360b0cfc; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< 668e050429c7ca688cf4e7112f97f0cd269d446b; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< c0c6f4ba8a37688f7b4d4044898d88f0450d44c2; 18cead61e437f4c7898acca0a5f3df12f801d97f; 6f5780536181d1d0d09a11a1bc92f22e143447e2; \>= 5.15.105, \< 5.15.222; … (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98014.md
Affected: Linux >= 4df1f2d36bdc9a368650bf14b9097c555e95f71d, < 413e04adcc1fd263cf02b1b83b4a0dbdc66bcee9; >= 63546395a0e6ac264f78f65218086ce6014b4494, < 2196f9d3358b00fcb28835a5fde14071f51ecb96; >= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, < 5a2b87dfceccf9065157a14a599d395c2b6281b8; >= 922f56e9a795d6f3dd72d34…
Fixed in: Linux 413e04adcc1fd263cf02b1b83b4a0dbdc66bcee9, Linux 2196f9d3358b00fcb28835a5fde14071f51ecb96, Linux 5a2b87dfceccf9065157a14a599d395c2b6281b8, Linux 69904608e25e8ba58111aadd9210892cf3876201, Linux 72cfcb79026cffb6490f5044153a841d360b0cfc, Linux 668e050429c7ca688cf4e7112f97f0cd269d446b, Linux 5.15.…

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-98014 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 4df1f2d36bdc9a368650bf14b9097c555e95f71d, \< 413e04adcc1fd263cf02b1b83b4a0dbdc66bcee9; \>= 63546395a0e6ac264f78f65218086ce6014b4494, \< 2196f9d3358b00fcb28835a5fde14071f51ecb96; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< 5a2b87dfceccf9065157a14a599d395c2b6281b8; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< 69904608e25e8ba58111aadd9210892cf3876201; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< 72cfcb79026cffb6490f5044153a841d360b0cfc; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< 668e050429c7ca688cf4e7112f97f0cd269d446b; \>= 922f56e9a795d6f3dd72d3428ebdd7ee040fa855, \< c0c6f4ba8a37688f7b4d4044898d88f0450d44c2; 18cead61e437f4c7898acca0a5f3df12f801d97f; 6f5780536181d1d0d09a11a1bc92f22e143447e2; \>= 5.15.105, \< 5.15.222; …; Linux 6.3.

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

Yes. Fixed in Linux 413e04adcc1fd263cf02b1b83b4a0dbdc66bcee9, Linux 2196f9d3358b00fcb28835a5fde14071f51ecb96, Linux 5a2b87dfceccf9065157a14a599d395c2b6281b8, Linux 69904608e25e8ba58111aadd9210892cf3876201, Linux 72cfcb79026cffb6490f5044153a841d360b0cfc, Linux 668e050429c7ca688cf4e7112f97f0cd269d446b, Linux 5.15.222. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/413e04adcc1fd263cf02b1b83b4a0dbdc66bcee9>
- other: <https://git.kernel.org/stable/c/2196f9d3358b00fcb28835a5fde14071f51ecb96>
- other: <https://git.kernel.org/stable/c/5a2b87dfceccf9065157a14a599d395c2b6281b8>
- other: <https://git.kernel.org/stable/c/69904608e25e8ba58111aadd9210892cf3876201>
- other: <https://git.kernel.org/stable/c/72cfcb79026cffb6490f5044153a841d360b0cfc>
- other: <https://git.kernel.org/stable/c/668e050429c7ca688cf4e7112f97f0cd269d446b>
- other: <https://git.kernel.org/stable/c/c0c6f4ba8a37688f7b4d4044898d88f0450d44c2>

## 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-98014>

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