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

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-04-16T14:12:16.121Z
- Modified: 2026-11-10T13:17:41.863Z
- Weaknesses: CWE-367
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 3f518509dedc99f0b755d2ce68d24f610e3a005a before e3711163d14d02af9005e4cdad30899c565f13fb; from 3f518509dedc99f0b755d2ce68d24f610e3a005a before b3f48a41a00d6d8d9c6fe09ae47dd21c8c1c8b03; from 3f518509dedc99f0b755d2ce68d24f610e3a005a before 5b0ae1723a7d9574ae1aee7d9cf9757a30069865; from 3f518509dedc99f0b755d2ce68d24f610e3a005a before fcbfb54a0269875cf3cd6a2bff4f85a2e0a0b552; from 3f518509dedc99f0b755d2ce68d24f610e3a005a before e64e9b6e86b39db3baa576fd73da73533b54cb2d; from 3f518509dedc99f0b755d2ce68d24f610e3a005a before 46c1e23e34c9d1eaadf37f88216d9d8ce0d0bcee; from 3f518509dedc99f0b755d2ce68d24f610e3a005a before 96844075226b49af25a69a1d084b648ec2d9b08d; 3.17 (not affected: before 3.17; from 5.15.180 up to 5.15.*; from 6.1.134 up to 6.1.*; from 6.6.87 up to 6.6.*; from 6.12.23 up to 6.12.*; from 6.13.11 up to 6.13.*; from 6.14.2 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 3.17 before 5.15.180; from 5.16 before 6.1.134; from 6.2 before 6.6.87; from 6.7 before 6.12.23; from 6.13 before 6.13.11; from 6.14 before 6.14.2

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2025-22060](https://www.cve.org/CVERecord?id=CVE-2025-22060), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2025-22060](https://nvd.nist.gov/vuln/detail/CVE-2025-22060), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2025-22060 · Whole record: https://cve.day/CVE-2025-22060.json · Rebuilt by cve.day 2026-11-25T22:58:56.589Z
