CVE-2025-22060CWE-367

CVE-2025-22060

Medium · published April 16, 2025

CVSS v3.1
4.7
EPSS
0%
Percentile
4.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.7 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00159 · 4.7th percentile
Weakness
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition
Published
2025-04-16T19:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 3.17, < 5.15.1805.15.180
linux/linux_kernel≥ 5.16, < 6.1.1346.1.134
linux/linux_kernel≥ 6.2, < 6.6.876.6.87
linux/linux_kernel≥ 6.7, < 6.12.236.12.23
linux/linux_kernel≥ 6.13, < 6.13.116.13.11
linux/linux_kernel≥ 6.14, < 6.14.26.14.2
References (10)
EPSS history
Timeline
  • 16 APR 14:12Z
    net: mvpp2: Prevent parser TCAM memory corruption
    cvelistv5