CVE-2026-53216
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by Linux
Exploit likelihood
0.50% (higher than 44% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 07dd0a7aae7f72af7cec18909581c2bb570edddc before a3ee9231ccec6ec3be2de89c56f897055fd9eab1, from 07dd0a7aae7f72af7cec18909581c2bb570edddc before ec8e1e5842bc0dbd4c272761f4db3651eecd0339, from 07dd0a7aae7f72af7cec18909581c2bb570edddc before 3b8b0c3631b19faee53f0d15a49924129b063eec, from 07dd0a7aae7f72af7cec18909581c2bb570edddc before 994bd2b58d2bd08aa97ec0836cc813cfcb00d749, from 07dd0a7aae7f72af7cec18909581c2bb570edddc before 910617a4e67dbdd5fdb39d9dc6a51e491e1b2c3e, from 07dd0a7aae7f72af7cec18909581c2bb570edddc before 9545cc5ef18ca22d031f2f47c157192460652359, from 07dd0a7aae7f72af7cec18909581c2bb570edddc before f3c6aa078927e6fe8121c9c591ddee8716c5305a, 5.9
Not affected: before 5.9, from 5.15.210 up to 5.15.*, from 6.1.176 up to 6.1.*, from 6.6.143 up to 6.6.*, from 6.12.94 up to 6.12.*, from 6.18.36 up to 6.18.*
CVE List
linux linux_kernelfrom 5.9 before 5.15.210, from 5.16 before 6.1.176, from 6.2 before 6.6.143, from 6.7 before 6.12.94, from 6.13 before 6.18.36, from 6.19 before 7.0.13, 7.1NVD

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53216 changed 2026-08-05CVE Terms of Use
NVDCVE-2026-53216 changed 2026-07-02Public domain