CVEvulnerability

CVE-2025-22060

4.7 MEDIUM Published 2025-04-16 Modified 2026-10-15 Official page ↗
Status
Modified
Published
2025-04-16
Last modified
2026-10-15
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
4.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-367

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 configurations

• linux linux kernel (>= 3.17 < 5.15.180) • linux linux kernel (>= 5.16 < 6.1.134) • linux linux kernel (>= 6.2 < 6.6.87) • linux linux kernel (>= 6.7 < 6.12.23) • linux linux kernel (>= 6.13 < 6.13.11) • linux linux kernel (>= 6.14 < 6.14.2)

Related

Weakness · CWE (1)

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition weakness

References