CVE-2026-53216

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

State
Published
Severity
9.8 Critical
Published
Jun 25, 2026
Updated
Aug 5, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

Description

In 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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 07dd0a7aae7f72af7cec18909581c2bb570edddc to before a3ee9231ccec6ec3be2de89c56f897055fd9eab1Affected
  • 07dd0a7aae7f72af7cec18909581c2bb570edddc to before ec8e1e5842bc0dbd4c272761f4db3651eecd0339Affected
  • 07dd0a7aae7f72af7cec18909581c2bb570edddc to before 3b8b0c3631b19faee53f0d15a49924129b063eecAffected
  • 07dd0a7aae7f72af7cec18909581c2bb570edddc to before 994bd2b58d2bd08aa97ec0836cc813cfcb00d749Affected
  • 07dd0a7aae7f72af7cec18909581c2bb570edddc to before 910617a4e67dbdd5fdb39d9dc6a51e491e1b2c3eAffected
  • 07dd0a7aae7f72af7cec18909581c2bb570edddc to before 9545cc5ef18ca22d031f2f47c157192460652359Affected
  • 07dd0a7aae7f72af7cec18909581c2bb570edddc to before f3c6aa078927e6fe8121c9c591ddee8716c5305aAffected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.94 through 6.12.*Not affected
  • 6.18.36 through 6.18.*Not affected
  • 7.0.13 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.