Vulnerability in Linux
CVE-2025-22060
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.
Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 5.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 3f518509dedc99f0b755d2ce68d24f610e3a005a, 3.17, 0
- Linux Kernel
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/e3711163d14d02af9005e4cdad30899c565f13fb (Patch)
- git.kernel.org/stable/c/b3f48a41a00d6d8d9c6fe09ae47dd21c8c1c8b03 (Patch)
- git.kernel.org/stable/c/5b0ae1723a7d9574ae1aee7d9cf9757a30069865 (Patch)
- git.kernel.org/stable/c/fcbfb54a0269875cf3cd6a2bff4f85a2e0a0b552 (Patch)
- git.kernel.org/stable/c/e64e9b6e86b39db3baa576fd73da73533b54cb2d (Patch)
- git.kernel.org/stable/c/46c1e23e34c9d1eaadf37f88216d9d8ce0d0bcee (Patch)
- git.kernel.org/stable/c/96844075226b49af25a69a1d084b648ec2d9b08d (Patch)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html
- cert-portal.siemens.com/productcert/html/ssa-019113.html
- cert-portal.siemens.com/productcert/html/ssa-457936.html