{"id":"CVE-2026-98272","state":"PUBLISHED","title":"net: mvpp2: prevent buffer overflow in page_pool allocation","description":"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.","publishedAt":"2026-10-06T08:45:33.974Z","updatedAt":"2026-10-19T09:16:44.017Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"5cefdb7acfc646fbded59ae77dfe0aac4c9e4a3c","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"4ac1d5adc4f4dbafbfd270b55cc6d8bf9849d545","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"dfd46b5584a5881b131008767950e1ab82713c8c","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"6569fd85b0ef9a8a6f20b7eb868420b8c7c0c2a0","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"e7f30dcfa6c64033bf9137362517bd248e5be384","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"f0e7d62c1eb984dd204095118973c59604144cd8","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"1734c3fc0066e228ce1c11e434b7c2527f0a949a","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"14cb1e7702e5cb3c58888f6aed498381a73927d2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.4","versionType":"semver"},{"version":"5.10.271","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.222","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.189","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.54","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.8","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98272.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98272","state":"PUBLISHED","datePublished":"2026-10-06T08:45:33.974Z","dateUpdated":"2026-10-19T09:16:44.017Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.333Z"},"containers":{"cna":{"title":"net: mvpp2: prevent buffer overflow in page_pool allocation","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"5cefdb7acfc646fbded59ae77dfe0aac4c9e4a3c","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"4ac1d5adc4f4dbafbfd270b55cc6d8bf9849d545","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"dfd46b5584a5881b131008767950e1ab82713c8c","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"6569fd85b0ef9a8a6f20b7eb868420b8c7c0c2a0","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"e7f30dcfa6c64033bf9137362517bd248e5be384","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"f0e7d62c1eb984dd204095118973c59604144cd8","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"1734c3fc0066e228ce1c11e434b7c2527f0a949a","versionType":"git"},{"version":"7d04b0b13b1175ce0c4bdc77f1278c1f120f874f","status":"affected","lessThan":"14cb1e7702e5cb3c58888f6aed498381a73927d2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.4","versionType":"semver"},{"version":"5.10.271","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.222","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.189","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.54","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.8","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5cefdb7acfc646fbded59ae77dfe0aac4c9e4a3c"},{"url":"https://git.kernel.org/stable/c/4ac1d5adc4f4dbafbfd270b55cc6d8bf9849d545"},{"url":"https://git.kernel.org/stable/c/dfd46b5584a5881b131008767950e1ab82713c8c"},{"url":"https://git.kernel.org/stable/c/6569fd85b0ef9a8a6f20b7eb868420b8c7c0c2a0"},{"url":"https://git.kernel.org/stable/c/e7f30dcfa6c64033bf9137362517bd248e5be384"},{"url":"https://git.kernel.org/stable/c/f0e7d62c1eb984dd204095118973c59604144cd8"},{"url":"https://git.kernel.org/stable/c/1734c3fc0066e228ce1c11e434b7c2527f0a949a"},{"url":"https://git.kernel.org/stable/c/14cb1e7702e5cb3c58888f6aed498381a73927d2"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:16:44.017Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.10.271"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.15.222"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.1.189"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.6.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.12.112"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.18.54"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"7.2.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}