net: mvpp2: limit XDP frame size to the RX buffer

Summary

CVECVE-2026-53216
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-25 09:16:39 UTC
Updated2026-06-25 09:16:39 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: net: mvpp2: limit XDP frame size to the RX buffer mvpp2 has short and long BM pools, and short pool buffers can be smaller than PAGE_SIZE. The XDP path nevertheless initializes every xdp_buff with PAGE_SIZE as frame size. XDP helpers use frame_sz to validate tail growth and to derive the hard end of the data area. Advertising PAGE_SIZE for short buffers can let bpf_xdp_adjust_tail() grow a packet past the real allocation, corrupting memory or later tripping skb tailroom checks. Initialize the XDP buffer with bm_pool->frag_size so XDP tailroom matches the actual buffer backing the packet.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 07dd0a7aae7f72af7cec18909581c2bb570edddc a3ee9231ccec6ec3be2de89c56f897055fd9eab1 git Not specified
CNA Linux Linux affected 07dd0a7aae7f72af7cec18909581c2bb570edddc ec8e1e5842bc0dbd4c272761f4db3651eecd0339 git Not specified
CNA Linux Linux affected 07dd0a7aae7f72af7cec18909581c2bb570edddc 3b8b0c3631b19faee53f0d15a49924129b063eec git Not specified
CNA Linux Linux affected 07dd0a7aae7f72af7cec18909581c2bb570edddc 994bd2b58d2bd08aa97ec0836cc813cfcb00d749 git Not specified
CNA Linux Linux affected 07dd0a7aae7f72af7cec18909581c2bb570edddc 910617a4e67dbdd5fdb39d9dc6a51e491e1b2c3e git Not specified
CNA Linux Linux affected 07dd0a7aae7f72af7cec18909581c2bb570edddc 9545cc5ef18ca22d031f2f47c157192460652359 git Not specified
CNA Linux Linux affected 07dd0a7aae7f72af7cec18909581c2bb570edddc f3c6aa078927e6fe8121c9c591ddee8716c5305a git Not specified
CNA Linux Linux affected 5.9 Not specified
CNA Linux Linux unaffected 5.9 semver Not specified
CNA Linux Linux unaffected 5.15.210 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.176 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.143 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.94 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.36 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.13 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/ec8e1e5842bc0dbd4c272761f4db3651eecd0339 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a3ee9231ccec6ec3be2de89c56f897055fd9eab1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f3c6aa078927e6fe8121c9c591ddee8716c5305a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9545cc5ef18ca22d031f2f47c157192460652359 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/910617a4e67dbdd5fdb39d9dc6a51e491e1b2c3e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3b8b0c3631b19faee53f0d15a49924129b063eec 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/994bd2b58d2bd08aa97ec0836cc813cfcb00d749 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report