net: mvpp2: limit XDP frame size to the RX buffer
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.210, 6.1.176, 6.12.94, 6.18.36, 6.6.143, 7.0.13
- CVEs
- CVE-2026-53216
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 15:30 UTC · Revision 1
Source evidence
net: mvpp2: limit XDP frame size to the RX buffer
core-osv · Original sourcePublished 25 Jun 2026, 08:39 UTC
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.
osv:CVE-2026-53216
Kernel
Fixed versions: 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13
Complete source record
{
"id": "eeba3da71e92041477377236fdf0d7795dca1521c0d11e253486029f61a138d0",
"url": "https://osv.dev/vulnerability/CVE-2026-53216",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: mvpp2: limit XDP frame size to the RX buffer",
"summary": "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.",
"evidence": "osv:CVE-2026-53216",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.210",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.176",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.143",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.94",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.36",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.13",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "CVE-2026-53216",
"aliases": [
"CVE-2026-53216"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "07dd0a7aae7f72af7cec18909581c2bb570edddc"
},
{
"fixed": "a3ee9231ccec6ec3be2de89c56f897055fd9eab1"
},
{
"fixed": "ec8e1e5842bc0dbd4c272761f4db3651eecd0339"
},
{
"fixed": "3b8b0c3631b19faee53f0d15a49924129b063eec"
},
{
"fixed": "994bd2b58d2bd08aa97ec0836cc813cfcb00d749"
},
{
"fixed": "910617a4e67dbdd5fdb39d9dc6a51e491e1b2c3e"
},
{
"fixed": "9545cc5ef18ca22d031f2f47c157192460652359"
},
{
"fixed": "f3c6aa078927e6fe8121c9c591ddee8716c5305a"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53216.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.9.0"
},
{
"fixed": "5.15.210"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.176"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.143"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.94"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.36"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.13"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53216.json"
}
}
],
"modified": "2026-10-28T02:30:36.792866338Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/3b8b0c3631b19faee53f0d15a49924129b063eec",
"https://git.kernel.org/stable/c/910617a4e67dbdd5fdb39d9dc6a51e491e1b2c3e",
"https://git.kernel.org/stable/c/9545cc5ef18ca22d031f2f47c157192460652359",
"https://git.kernel.org/stable/c/994bd2b58d2bd08aa97ec0836cc813cfcb00d749",
"https://git.kernel.org/stable/c/a3ee9231ccec6ec3be2de89c56f897055fd9eab1",
"https://git.kernel.org/stable/c/ec8e1e5842bc0dbd4c272761f4db3651eecd0339",
"https://git.kernel.org/stable/c/f3c6aa078927e6fe8121c9c591ddee8716c5305a",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53216.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-53216",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53216.json"
}
},
"related_cves": [
{
"value": "CVE-2026-53216",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504117,
"published_at": "2026-06-25T08:39:19.529+00:00"
}