---
id: CVE-2025-22060
title: |-
  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 t…
summary: |-
  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 t…
severity: medium
cvss: 4.7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-367
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 3.17, < 5.15.180'
  - 'linux_kernel >= 5.16, < 6.1.134'
  - 'linux_kernel >= 6.2, < 6.6.87'
  - 'linux_kernel >= 6.7, < 6.12.23'
  - 'linux_kernel >= 6.13, < 6.13.11'
  - 'linux_kernel >= 6.14, < 6.14.2'
patched:
  - linux_kernel 6.14.2
published: '2025-04-16'
updated: '2026-07-14'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-22060'
references:
  - url: 'https://git.kernel.org/stable/c/46c1e23e34c9d1eaadf37f88216d9d8ce0d0bcee'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5b0ae1723a7d9574ae1aee7d9cf9757a30069865'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/96844075226b49af25a69a1d084b648ec2d9b08d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b3f48a41a00d6d8d9c6fe09ae47dd21c8c1c8b03'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e3711163d14d02af9005e4cdad30899c565f13fb'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e64e9b6e86b39db3baa576fd73da73533b54cb2d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/fcbfb54a0269875cf3cd6a2bff4f85a2e0a0b552'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-019113.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00155
epssPercentile: 0.03869
ingestedAt: '2026-07-14T13:36:56.240Z'
---

## Overview

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

- `linux_kernel >= 3.17, < 5.15.180`
- `linux_kernel >= 5.16, < 6.1.134`
- `linux_kernel >= 6.2, < 6.6.87`
- `linux_kernel >= 6.7, < 6.12.23`
- `linux_kernel >= 6.13, < 6.13.11`
- `linux_kernel >= 6.14, < 6.14.2`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.14.2`
