# CVE-2025-68800: mlxsw: spectrum\_mr: Fix use-after-free when updating multicast route stats

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.21% (percentile 7, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-01-13T15:29:09.688Z
- **Modified:** 2026-10-19T19:17:05.760Z

## Who should check

- Anyone running Linux \>= f38656d067257cc43b652958dd154e1ab0773701, \< b957366f5611bbaba03dd10ef861283347ddcc88; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 6e367c361a523a4b54fe618215c64a0ee189caf0; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 37ca08b35a27ce8fd8e74dd3fd2ae21c23b63b73; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 5f2831fc593c2b2efbff7dd0dd7441cec76adcd5; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 216afc198484fde110ebeafc017992266f4596ce; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 4049a6ace209f4ed150429f86ae796d7d6a4c22b; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 8ac1dacec458f55f871f7153242ed6ab60373b90
- Anyone running Linux 5.7

## Description

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

mlxsw: spectrum\_mr: Fix use-after-free when updating multicast route stats

Cited commit added a dedicated mutex (instead of RTNL) to protect the
multicast route list, so that it will not change while the driver
periodically traverses it in order to update the kernel about multicast
route stats that were queried from the device.

One instance of list entry deletion (during route replace) was missed
and it can result in a use-after-free \[1\].

Fix by acquiring the mutex before deleting the entry from the list and
releasing it afterwards.

\[1\]
BUG: KASAN: slab-use-after-free in mlxsw\_sp\_mr\_stats\_update+0x4a5/0x540 drivers/net/ethernet/mellanox/mlxsw/spectrum\_mr.c:1006 \[mlxsw\_spectrum\]
Read of size 8 at addr ffff8881523c2fa8 by task kworker/2:5/22043

CPU: 2 UID: 0 PID: 22043 Comm: kworker/2:5 Not tainted 6.18.0-rc1-custom-g1a3d6d7cd014 \#1 PREEMPT(full)
Hardware name: Mellanox Technologies Ltd. MSN2010/SA002610, BIOS 5.6.5 08/24/2017
Workqueue: mlxsw\_core mlxsw\_sp\_mr\_stats\_update \[mlxsw\_spectrum\]
Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0xba/0x110
 print\_report+0x174/0x4f5
 kasan\_report+0xdf/0x110
 mlxsw\_sp\_mr\_stats\_update+0x4a5/0x540 drivers/net/ethernet/mellanox/mlxsw/spectrum\_mr.c:1006 \[mlxsw\_spectrum\]
 process\_one\_work+0x9cc/0x18e0
 worker\_thread+0x5df/0xe40
 kthread+0x3b8/0x730
 ret\_from\_fork+0x3e9/0x560
 ret\_from\_fork\_asm+0x1a/0x30
 \</TASK\>

Allocated by task 29933:
 kasan\_save\_stack+0x30/0x50
 kasan\_save\_track+0x14/0x30
 \_\_kasan\_kmalloc+0x8f/0xa0
 mlxsw\_sp\_mr\_route\_add+0xd8/0x4770 \[mlxsw\_spectrum\]
 mlxsw\_sp\_router\_fibmr\_event\_work+0x371/0xad0 drivers/net/ethernet/mellanox/mlxsw/spectrum\_router.c:7965 \[mlxsw\_spectrum\]
 process\_one\_work+0x9cc/0x18e0
 worker\_thread+0x5df/0xe40
 kthread+0x3b8/0x730
 ret\_from\_fork+0x3e9/0x560
 ret\_from\_fork\_asm+0x1a/0x30

Freed by task 29933:
 kasan\_save\_stack+0x30/0x50
 kasan\_save\_track+0x14/0x30
 \_\_kasan\_save\_free\_info+0x3b/0x70
 \_\_kasan\_slab\_free+0x43/0x70
 kfree+0x14e/0x700
 mlxsw\_sp\_mr\_route\_add+0x2dea/0x4770 drivers/net/ethernet/mellanox/mlxsw/spectrum\_mr.c:444 \[mlxsw\_spectrum\]
 mlxsw\_sp\_router\_fibmr\_event\_work+0x371/0xad0 drivers/net/ethernet/mellanox/mlxsw/spectrum\_router.c:7965 \[mlxsw\_spectrum\]
 process\_one\_work+0x9cc/0x18e0
 worker\_thread+0x5df/0xe40
 kthread+0x3b8/0x730
 ret\_from\_fork+0x3e9/0x560
 ret\_from\_fork\_asm+0x1a/0x30

## Affected and fixed versions

- Linux: \>= f38656d067257cc43b652958dd154e1ab0773701, \< b957366f5611bbaba03dd10ef861283347ddcc88; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 6e367c361a523a4b54fe618215c64a0ee189caf0; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 37ca08b35a27ce8fd8e74dd3fd2ae21c23b63b73; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 5f2831fc593c2b2efbff7dd0dd7441cec76adcd5; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 216afc198484fde110ebeafc017992266f4596ce; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 4049a6ace209f4ed150429f86ae796d7d6a4c22b; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 8ac1dacec458f55f871f7153242ed6ab60373b90 (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- Upgrade Linux to 8ac1dacec458f55f871f7153242ed6ab60373b90 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68800.md
Affected: Linux >= f38656d067257cc43b652958dd154e1ab0773701, < b957366f5611bbaba03dd10ef861283347ddcc88; >= f38656d067257cc43b652958dd154e1ab0773701, < 6e367c361a523a4b54fe618215c64a0ee189caf0; >= f38656d067257cc43b652958dd154e1ab0773701, < 37ca08b35a27ce8fd8e74dd3fd2ae21c23b63b73; >= f38656d067257cc43b65295…
Fixed in: Linux 6e367c361a523a4b54fe618215c64a0ee189caf0, Linux 37ca08b35a27ce8fd8e74dd3fd2ae21c23b63b73, Linux 5f2831fc593c2b2efbff7dd0dd7441cec76adcd5, Linux 216afc198484fde110ebeafc017992266f4596ce, Linux 4049a6ace209f4ed150429f86ae796d7d6a4c22b, Linux 8ac1dacec458f55f871f7153242ed6ab60373b90

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-2025-68800 being exploited?

There is no confirmed exploitation: CVE-2025-68800 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-2025-68800?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-68800?

Linux \>= f38656d067257cc43b652958dd154e1ab0773701, \< b957366f5611bbaba03dd10ef861283347ddcc88; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 6e367c361a523a4b54fe618215c64a0ee189caf0; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 37ca08b35a27ce8fd8e74dd3fd2ae21c23b63b73; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 5f2831fc593c2b2efbff7dd0dd7441cec76adcd5; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 216afc198484fde110ebeafc017992266f4596ce; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 4049a6ace209f4ed150429f86ae796d7d6a4c22b; \>= f38656d067257cc43b652958dd154e1ab0773701, \< 8ac1dacec458f55f871f7153242ed6ab60373b90; Linux 5.7.

### Is there a fix for CVE-2025-68800?

Yes. Fixed in Linux 6e367c361a523a4b54fe618215c64a0ee189caf0, Linux 37ca08b35a27ce8fd8e74dd3fd2ae21c23b63b73, Linux 5f2831fc593c2b2efbff7dd0dd7441cec76adcd5, Linux 216afc198484fde110ebeafc017992266f4596ce, Linux 4049a6ace209f4ed150429f86ae796d7d6a4c22b, Linux 8ac1dacec458f55f871f7153242ed6ab60373b90. Upgrade Linux to 8ac1dacec458f55f871f7153242ed6ab60373b90 or later.

### How do I check if I'm affected by CVE-2025-68800?

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/b957366f5611bbaba03dd10ef861283347ddcc88>
- other: <https://git.kernel.org/stable/c/6e367c361a523a4b54fe618215c64a0ee189caf0>
- other: <https://git.kernel.org/stable/c/37ca08b35a27ce8fd8e74dd3fd2ae21c23b63b73>
- other: <https://git.kernel.org/stable/c/5f2831fc593c2b2efbff7dd0dd7441cec76adcd5>
- other: <https://git.kernel.org/stable/c/216afc198484fde110ebeafc017992266f4596ce>
- other: <https://git.kernel.org/stable/c/4049a6ace209f4ed150429f86ae796d7d6a4c22b>
- other: <https://git.kernel.org/stable/c/8ac1dacec458f55f871f7153242ed6ab60373b90>

## 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-2025-68800>

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