We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-22060

net: mvpp2: Prevent parser TCAM memory corruption



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.

Reserved 2024-12-29 | Published 2025-04-16 | Updated 2025-04-16 | Assigner Linux

Product status

Default status
unaffected

3f518509dedc99f0b755d2ce68d24f610e3a005a before e3711163d14d02af9005e4cdad30899c565f13fb
affected

3f518509dedc99f0b755d2ce68d24f610e3a005a before b3f48a41a00d6d8d9c6fe09ae47dd21c8c1c8b03
affected

3f518509dedc99f0b755d2ce68d24f610e3a005a before 5b0ae1723a7d9574ae1aee7d9cf9757a30069865
affected

3f518509dedc99f0b755d2ce68d24f610e3a005a before fcbfb54a0269875cf3cd6a2bff4f85a2e0a0b552
affected

3f518509dedc99f0b755d2ce68d24f610e3a005a before e64e9b6e86b39db3baa576fd73da73533b54cb2d
affected

3f518509dedc99f0b755d2ce68d24f610e3a005a before 46c1e23e34c9d1eaadf37f88216d9d8ce0d0bcee
affected

3f518509dedc99f0b755d2ce68d24f610e3a005a before 96844075226b49af25a69a1d084b648ec2d9b08d
affected

Default status
affected

3.17
affected

Any version before 3.17
unaffected

5.15.180
unaffected

6.1.134
unaffected

6.6.87
unaffected

6.12.23
unaffected

6.13.11
unaffected

6.14.2
unaffected

6.15-rc1
unaffected

References

git.kernel.org/...c/e3711163d14d02af9005e4cdad30899c565f13fb

git.kernel.org/...c/b3f48a41a00d6d8d9c6fe09ae47dd21c8c1c8b03

git.kernel.org/...c/5b0ae1723a7d9574ae1aee7d9cf9757a30069865

git.kernel.org/...c/fcbfb54a0269875cf3cd6a2bff4f85a2e0a0b552

git.kernel.org/...c/e64e9b6e86b39db3baa576fd73da73533b54cb2d

git.kernel.org/...c/46c1e23e34c9d1eaadf37f88216d9d8ce0d0bcee

git.kernel.org/...c/96844075226b49af25a69a1d084b648ec2d9b08d

cve.org (CVE-2025-22060)

nvd.nist.gov (CVE-2025-22060)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-22060

Support options

Helpdesk Chat, Email, Knowledgebase