KernelScan.io

HIGH Introduced in 5.4

mvpp2 PagePool Overflow

CVE-2026-98272

CVSS 7.8 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

01

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.

02

Engine v0.7.0

Risk summary

An out-of-bounds write in the Marvell PP2 ethernet driver can be triggered by changing the MTU on a network interface, corrupting kernel heap memory. This requires CAP_NET_ADMIN (obtainable in a user namespace) and only affects systems with Marvell MVPP22 or newer ethernet hardware. Successful exploitation could lead to kernel code execution, privilege escalation, or system crash.

Affecteddrivers/net/ethernet/marvell/mvpp2/mvpp2_main.c (mvpp2 ethernet driver)

Vulnerability analysis

The Marvell PP2 ethernet driver's MTU change handler can switch the device to per-CPU buffer pool mode without verifying that the required number of pools fits within the allocated array. When the number of receive queues is at its maximum, the per-CPU scheme doubles it, exceeding the array bounds and causing an out-of-bounds write during buffer pool initialization. The fix adds the same hardware-version and pool-count bounds check that already exists in the driver probe path, ensuring the per-CPU scheme is only activated when it is safe to do so. The vulnerable code path is reached by changing the network interface MTU, which requires CAP_NET_ADMIN — obtainable in a user namespace — and only affects systems with Marvell PP2 (MVPP22 or newer) ethernet hardware.

03

BranchIntroducedFixed inPatch commit
5.105.45.10.2715cefdb7acfc6
5.155.45.15.2224ac1d5adc4f4
6.15.46.1.189dfd46b5584a5
6.125.46.12.112e7f30dcfa6c6
6.185.46.18.54f0e7d62c1eb9
6.65.46.6.1586569fd85b0ef
7.25.47.2.81734c3fc0066
mainline5.47.314cb1e7702e5
cip/5.105.45.10.271-cip785cefdb7acfc6
cip/5.10-rt5.45.10.272-cip79-rt355cefdb7acfc6
cip/6.15.46.1.189-cip61dfd46b5584a5
cip/6.1-rt5.46.1.189-cip61-rt32dfd46b5584a5
cip/6.125.46.12.112-cip33e7f30dcfa6c6

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.271-cip78
cip/5.10-rtFixed in 5.10.272-cip79-rt35