{"id":"CVE-2026-98272","aliases":["CVE-2026-98272"],"related":[],"kind":"vulnerability","state":"published","title":"net: mvpp2: prevent buffer overflow in page_pool allocation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mvpp2: prevent buffer overflow in page_pool allocation\n\nThe per‑processor buffering scheme is supported only if the\nnumber of pools (nrxqs * 2) does not exceed MVPP2_BM_MAX_POOLS (8).\nThis is already checked in mvpp2_probe() during the initial\nactivation of percpu_pools.\n\nHowever, mvpp2_change_mtu() may later call\nmvpp2_bm_switch_buffers(priv, true) without this check, which can\nlead to an out-of-bounds access in the priv->page_pool array in\nmvpp2_bm_init(). The array is sized to hold MVPP2_PORT_MAX_RXQ\nentries, and mvpp2_get_nrxqs() may return exactly that value. The\nper-CPU scheme then doubles it to nrxqs * 2, exceeding the array\nbounds.\n\nCheck that the hardware version is MVPP22 or newer and that the\nnumber of pools (nrxqs * 2) does not exceed MVPP2_BM_MAX_POOLS\nbefore switching to per-CPU mode.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mvpp2: prevent buffer overflow in page_pool allocation\n\nThe per‑processor buffering scheme is supported only if the\nnumber of pools (nrxqs * 2) does not exceed MVPP2_BM_MAX_POOLS (8).\nThis is already checked in mvpp2_probe() during the initial\nactivation of percpu_pools.\n\nHowever, mvpp2_change_mtu() may later call\nmvpp2_bm_switch_buffers(priv, true) without this check, which can\nlead to an out-of-bounds access in the priv->page_pool array in\nmvpp2_bm_init(). The array is sized to hold MVPP2_PORT_MAX_RXQ\nentries, and mvpp2_get_nrxqs() may return exactly that value. The\nper-CPU scheme then doubles it to nrxqs * 2, exceeding the array\nbounds.\n\nCheck that the hardware version is MVPP22 or newer and that the\nnumber of pools (nrxqs * 2) does not exceed MVPP2_BM_MAX_POOLS\nbefore switching to per-CPU mode.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","source":"cvelist"}],"published":"2026-10-06T08:45:33.974Z","modified":"2026-10-19T10:18:28.490Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","fixed":"5cefdb7acfc646fbded59ae77dfe0aac4c9e4a3c","status":"affected"},{"type":"git","introduced":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","fixed":"4ac1d5adc4f4dbafbfd270b55cc6d8bf9849d545","status":"affected"},{"type":"git","introduced":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","fixed":"dfd46b5584a5881b131008767950e1ab82713c8c","status":"affected"},{"type":"git","introduced":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","fixed":"6569fd85b0ef9a8a6f20b7eb868420b8c7c0c2a0","status":"affected"},{"type":"git","introduced":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","fixed":"e7f30dcfa6c64033bf9137362517bd248e5be384","status":"affected"},{"type":"git","introduced":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","fixed":"f0e7d62c1eb984dd204095118973c59604144cd8","status":"affected"},{"type":"git","introduced":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","fixed":"1734c3fc0066e228ce1c11e434b7c2527f0a949a","status":"affected"},{"type":"git","introduced":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","fixed":"14cb1e7702e5cb3c58888f6aed498381a73927d2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5cefdb7acfc646fbded59ae77dfe0aac4c9e4a3c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ac1d5adc4f4dbafbfd270b55cc6d8bf9849d545","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dfd46b5584a5881b131008767950e1ab82713c8c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6569fd85b0ef9a8a6f20b7eb868420b8c7c0c2a0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7f30dcfa6c64033bf9137362517bd248e5be384","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0e7d62c1eb984dd204095118973c59604144cd8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1734c3fc0066e228ce1c11e434b7c2527f0a949a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/14cb1e7702e5cb3c58888f6aed498381a73927d2","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98272","url":"https://www.cve.org/CVERecord?id=CVE-2026-98272","licence":"CVE Terms of Use","modified":"2026-10-19T09:16:44.017Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98272","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98272","licence":"Public domain","modified":"2026-10-19T10:18:28.490Z"}],"updatedAt":"2026-11-25T22:59:42.311Z","epss":{"score":0.00195,"percentile":0.09663,"date":"2026-12-01T12:00:22.000Z"}}