# CVE-2025-22060: net: mvpp2: Prevent parser TCAM memory corruption

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-367
- **Published:** 2025-04-16T14:12:16.121Z
- **Modified:** 2026-11-10T13:17:41.863Z

## Who should check

- Anyone running Linux \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< e3711163d14d02af9005e4cdad30899c565f13fb; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< b3f48a41a00d6d8d9c6fe09ae47dd21c8c1c8b03; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< 5b0ae1723a7d9574ae1aee7d9cf9757a30069865; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< fcbfb54a0269875cf3cd6a2bff4f85a2e0a0b552; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< e64e9b6e86b39db3baa576fd73da73533b54cb2d; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< 46c1e23e34c9d1eaadf37f88216d9d8ce0d0bcee; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< 96844075226b49af25a69a1d084b648ec2d9b08d
- Anyone running Linux 3.17

## Description

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

net: mvpp2: Prevent parser TCAM memory corruption

Protect the parser TCAM/SRAM memory, and the cached (shadow) SRAM
information, from concurrent modifications.

Both the TCAM and SRAM tables are indirectly accessed by configuring
an index register that selects the row to read or write to. This means
that operations must be atomic in order to, e.g., avoid spreading
writes across multiple rows. Since the shadow SRAM array is used to
find free rows in the hardware table, it must also be protected in
order to avoid TOCTOU errors where multiple cores allocate the same
row.

This issue was detected in a situation where \`mvpp2\_set\_rx\_mode()\` ran
concurrently on two CPUs. In this particular case the
MVPP2\_PE\_MAC\_UC\_PROMISCUOUS entry was corrupted, causing the
classifier unit to drop all incoming unicast - indicated by the
\`rx\_classifier\_drops\` counter.

## Affected and fixed versions

- Linux: \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< e3711163d14d02af9005e4cdad30899c565f13fb; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< b3f48a41a00d6d8d9c6fe09ae47dd21c8c1c8b03; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< 5b0ae1723a7d9574ae1aee7d9cf9757a30069865; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< fcbfb54a0269875cf3cd6a2bff4f85a2e0a0b552; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< e64e9b6e86b39db3baa576fd73da73533b54cb2d; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< 46c1e23e34c9d1eaadf37f88216d9d8ce0d0bcee; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< 96844075226b49af25a69a1d084b648ec2d9b08d (cvelist)
- Linux: 3.17 (cvelist)

## Mitigation

- Upgrade Linux to 96844075226b49af25a69a1d084b648ec2d9b08d 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-22060. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-22060.md
Affected: Linux >= 3f518509dedc99f0b755d2ce68d24f610e3a005a, < e3711163d14d02af9005e4cdad30899c565f13fb; >= 3f518509dedc99f0b755d2ce68d24f610e3a005a, < b3f48a41a00d6d8d9c6fe09ae47dd21c8c1c8b03; >= 3f518509dedc99f0b755d2ce68d24f610e3a005a, < 5b0ae1723a7d9574ae1aee7d9cf9757a30069865; >= 3f518509dedc99f0b755d2c…
Fixed in: Linux 5b0ae1723a7d9574ae1aee7d9cf9757a30069865, Linux 46c1e23e34c9d1eaadf37f88216d9d8ce0d0bcee, Linux 96844075226b49af25a69a1d084b648ec2d9b08d

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

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

### How serious is CVE-2025-22060?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< e3711163d14d02af9005e4cdad30899c565f13fb; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< b3f48a41a00d6d8d9c6fe09ae47dd21c8c1c8b03; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< 5b0ae1723a7d9574ae1aee7d9cf9757a30069865; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< fcbfb54a0269875cf3cd6a2bff4f85a2e0a0b552; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< e64e9b6e86b39db3baa576fd73da73533b54cb2d; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< 46c1e23e34c9d1eaadf37f88216d9d8ce0d0bcee; \>= 3f518509dedc99f0b755d2ce68d24f610e3a005a, \< 96844075226b49af25a69a1d084b648ec2d9b08d; Linux 3.17.

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

Yes. Fixed in Linux 5b0ae1723a7d9574ae1aee7d9cf9757a30069865, Linux 46c1e23e34c9d1eaadf37f88216d9d8ce0d0bcee, Linux 96844075226b49af25a69a1d084b648ec2d9b08d. Upgrade Linux to 96844075226b49af25a69a1d084b648ec2d9b08d or later.

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

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/e3711163d14d02af9005e4cdad30899c565f13fb>
- patch: <https://git.kernel.org/stable/c/b3f48a41a00d6d8d9c6fe09ae47dd21c8c1c8b03>
- patch: <https://git.kernel.org/stable/c/5b0ae1723a7d9574ae1aee7d9cf9757a30069865>
- patch: <https://git.kernel.org/stable/c/fcbfb54a0269875cf3cd6a2bff4f85a2e0a0b552>
- patch: <https://git.kernel.org/stable/c/e64e9b6e86b39db3baa576fd73da73533b54cb2d>
- patch: <https://git.kernel.org/stable/c/46c1e23e34c9d1eaadf37f88216d9d8ce0d0bcee>
- patch: <https://git.kernel.org/stable/c/96844075226b49af25a69a1d084b648ec2d9b08d>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

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

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