net: mvpp2: prevent buffer overflow in page_pool allocation (Linux Linux)

CVE-2026-98272
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.19 % · centile 9 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: net: mvpp2: prevent buffer overflow in page_pool allocation The per‑processor buffering scheme is supported only if the number of pools (nrxqs * 2) does not exceed MVPP2_BM_MAX_POOLS (8). This is already checked in mvpp2_probe() during the initial activation of percpu_pools. However, mvpp2_change_mtu() may later call mvpp2_bm_switch_buffers(priv, true) without this check, which can lead to an out-of-bounds access in the priv->page_pool array in mvpp2_bm_init(). The array is sized to hold MVPP2_PORT_MAX_RXQ entries, and mvpp2_get_nrxqs() may return exactly that value. The per-CPU scheme then doubles it to nrxqs * 2, exceeding the array bounds. Check that the hardware version is MVPP22 or newer and that the number of pools (nrxqs * 2) does not exceed MVPP2_BM_MAX_POOLS before switching to per-CPU mode. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f < 5cefdb7acfc646fbded59ae77dfe0aac4c9e4a3c ; affected 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f < 4ac1d5adc4f4dbafbfd270b55cc6d8bf9849d545 ; affected 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f < dfd46b5584a5881b131008767950e1ab82713c8c ; affected 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f < 6569fd85b0ef9a8a6f20b7eb868420b8c7c0c2a0 ; affected 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f < e7f30dcfa6c64033bf9137362517bd248e5be384 ; affected 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f < f0e7d62c1eb984dd204095118973c59604144cd8
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD