net: mvpp2: limit XDP frame size to the RX buffer (Linux Linux)

CVE-2026-53216
CRITICAL 9.8

En bref

Source
NVD
EPSS
EPSS 0.50 % · centile 43 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 07dd0a7aae7f72af7cec18909581c2bb570edddc < a3ee9231ccec6ec3be2de89c56f897055fd9eab1 ; affected 07dd0a7aae7f72af7cec18909581c2bb570edddc < ec8e1e5842bc0dbd4c272761f4db3651eecd0339 ; affected 07dd0a7aae7f72af7cec18909581c2bb570edddc < 3b8b0c3631b19faee53f0d15a49924129b063eec ; affected 07dd0a7aae7f72af7cec18909581c2bb570edddc < 994bd2b58d2bd08aa97ec0836cc813cfcb00d749 ; affected 07dd0a7aae7f72af7cec18909581c2bb570edddc < 910617a4e67dbdd5fdb39d9dc6a51e491e1b2c3e ; affected 07dd0a7aae7f72af7cec18909581c2bb570edddc < 9545cc5ef18ca22d031f2f47c157192460652359
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.* ; unaffected 6.12.94 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD