Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 81C0F3DEAE0 for ; Tue, 6 Oct 2026 10:25:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282324; cv=none; b=tKXgIMkqhQmHA7/JCI6ChIwdG8fcbfiFmjw3rb6GnALl7T9axrJ50kEgjeMGuSn3A8o8pONkXdB/cYK9xccWjvmJwRt1x3hEA9qd19p23DppY8EJpdfEzVx4VsXfYOBplAdczUSTHVHBYi3x2vGrIe86qduM+EpgK0SAVtHuoHA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282324; c=relaxed/simple; bh=WhmvWGSqjAzZ0cm+oN9YJVw+N6marVH3vAQhRC9jBs0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=ajUGKrTEIjic63awlucez3iY5eQ2qb+/NeryUUbv7+bs3+6m1tA/Oi106jlDVXx2AsyUD+87m1BC/3LKKinUqPu8JDjqOe1dZEUHb4q07/HPptyv3IoDSPeE056bnRw3Lkm9iqPLkG6sGokH3U48qarE6iggu2qWxFHf5jVTSbQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=L/a/7FN4; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="L/a/7FN4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D89451F000FF; Tue, 6 Oct 2026 10:25:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282323; bh=Ye532nNfJQmFJeK5kMRdj8CkZ7aRhB3bcd/b6uJTiWA=; h=From:To:Cc:Subject:Date:Reply-To; b=L/a/7FN4GG2rC8uwWiwQgx0h1kh47MwuxNPRp9vlkbL2zSUaL+iYFH1HmzU046ZTh +08wMWtFYZKMRDrS1qGI/w9s4y2EutNYFg0ouTuLa7NUoYX0gKApX2/cgnzbMwpvvz gA0ZlyuuEHAhxsTyTjNOeJ3T+XoJ4o2oO8fhDBH0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98272: net: mvpp2: prevent buffer overflow in page_pool allocation Date: Tue, 6 Oct 2026 10:46:13 +0200 Message-ID: <2026100603-CVE-2026-98272-98d5@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4004; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2Fd2KJZI98Njw/oOwDZWOSilMxuBTTsClZBFOLR0JS4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtvKHxVT/vmVqb7/hUreNU/v18I9n/CWN/D5Fz1GuX RHVnVbSEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOxKGGYH+GbJ/3q9OTsk3w3 lvT/3VPGeiVZgGGeAsuycLlilgJPztuOj6bvtbztcvkSAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-98272 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f and fixed in 5.10.271 with commit 5cefdb7acfc646fbded59ae77dfe0aac4c9e4a3c Issue introduced in 5.4 with commit 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f and fixed in 5.15.222 with commit 4ac1d5adc4f4dbafbfd270b55cc6d8bf9849d545 Issue introduced in 5.4 with commit 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f and fixed in 6.1.189 with commit dfd46b5584a5881b131008767950e1ab82713c8c Issue introduced in 5.4 with commit 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f and fixed in 6.6.158 with commit 6569fd85b0ef9a8a6f20b7eb868420b8c7c0c2a0 Issue introduced in 5.4 with commit 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f and fixed in 6.12.112 with commit e7f30dcfa6c64033bf9137362517bd248e5be384 Issue introduced in 5.4 with commit 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f and fixed in 6.18.54 with commit f0e7d62c1eb984dd204095118973c59604144cd8 Issue introduced in 5.4 with commit 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f and fixed in 7.2.8 with commit 1734c3fc0066e228ce1c11e434b7c2527f0a949a Issue introduced in 5.4 with commit 7d04b0b13b1175ce0c4bdc77f1278c1f120f874f and fixed in 7.3-rc4 with commit 14cb1e7702e5cb3c58888f6aed498381a73927d2 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98272 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/5cefdb7acfc646fbded59ae77dfe0aac4c9e4a3c https://git.kernel.org/stable/c/4ac1d5adc4f4dbafbfd270b55cc6d8bf9849d545 https://git.kernel.org/stable/c/dfd46b5584a5881b131008767950e1ab82713c8c https://git.kernel.org/stable/c/6569fd85b0ef9a8a6f20b7eb868420b8c7c0c2a0 https://git.kernel.org/stable/c/e7f30dcfa6c64033bf9137362517bd248e5be384 https://git.kernel.org/stable/c/f0e7d62c1eb984dd204095118973c59604144cd8 https://git.kernel.org/stable/c/1734c3fc0066e228ce1c11e434b7c2527f0a949a https://git.kernel.org/stable/c/14cb1e7702e5cb3c58888f6aed498381a73927d2