CVE-2026-98272

net: mvpp2: prevent buffer overflow in page_pool allocation

State
Published
Severity
Not scored
Published
Oct 6, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f to before 5cefdb7acfc646fbded59ae77dfe0aac4c9e4a3cAffected
  • 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f to before 4ac1d5adc4f4dbafbfd270b55cc6d8bf9849d545Affected
  • 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f to before dfd46b5584a5881b131008767950e1ab82713c8cAffected
  • 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f to before 6569fd85b0ef9a8a6f20b7eb868420b8c7c0c2a0Affected
  • 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f to before e7f30dcfa6c64033bf9137362517bd248e5be384Affected
  • 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f to before f0e7d62c1eb984dd204095118973c59604144cd8Affected
  • 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f to before 1734c3fc0066e228ce1c11e434b7c2527f0a949aAffected
  • 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f to before 14cb1e7702e5cb3c58888f6aed498381a73927d2Affected
LinuxLinux
  • 5.4Affected
  • before 5.4Not affected
  • 5.10.271 through 5.10.*Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.54 through 6.18.*Not affected
  • 7.2.8 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.