9.8critical
xdp: reject clones that overrun skb_shared_info tailroom
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.51% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: xdp: reject clones that overrun skb_shared_info tailroom xdpf_clone() clones broadcast copies into a single page and sets frame_sz to PAGE_SIZE. __xdp_build_skb_from_frame() later treats that page like a normal XDP frame and expects the usual skb_shared_info tailroom at the end of the buffer. The current check only rejects frames whose linear xdp_frame header, headroom, and packet data exceed PAGE_SIZE. A source frame backed by a larger allocation can still satisfy that check while extending into the clone's required shared-info area. When such a clone is converted back into an skb, build_skb_around() places skb_shared_info over live packet bytes and later writes can corrupt XDP return metadata. Reject clones unless their linear area fits inside SKB_WITH_OVERHEAD(PAGE_SIZE), matching the tailroom requirement already enforced by the XDP-to-skb conversion path.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e624d4ed4aa8cc3c69d1359b0aaea539203ed266 before 58408982fa39f9758124cec169f42854d6f98f35, from e624d4ed4aa8cc3c69d1359b0aaea539203ed266 before 685edea27ac68d08fe4dbd3de74b858d2ad8e830, from e624d4ed4aa8cc3c69d1359b0aaea539203ed266 before ba13763d667e008e185fedf592d53846a5b457d1, from e624d4ed4aa8cc3c69d1359b0aaea539203ed266 before ef4b7c7046d29a67090de15af0da0d1ae8d1b192, from e624d4ed4aa8cc3c69d1359b0aaea539203ed266 before fab820f1691a9e26d9031f18aae1e9ce09078f92, from e624d4ed4aa8cc3c69d1359b0aaea539203ed266 before f463b6f4957c9c3fd1c75f8d3e5af4879fa609c0, from e624d4ed4aa8cc3c69d1359b0aaea539203ed266 before e48e8edbef2eb824201495daa5234560f632b23c, 5.14 Not affected: before 5.14, from 5.15.216 up to 5.15.*, from 6.1.183 up to 6.1.*, from 6.6.152 up to 6.6.*, from 6.12.104 up to 6.12.*, from 6.18.45 up to 6.18.* | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: xdp: reject clones that overrun skb_shared_info tailroom xdpf_clone() clones broadcast copies into a single page and sets frame_sz to PAGE_SIZE. __xdp_build_skb_from_frame() later treats that page like a normal XDP frame and expects the usual skb_shared_info tailroom at the end of the buffer. The current check only rejects frames whose linear xdp_frame header, headroom, and packet data exceed PAGE_SIZE. A source frame backed by a larger allocation can still satisfy that check while extending into the clone's required shared-info area. When such a clone is converted back into an skb, build_skb_around() places skb_shared_info over live packet bytes and later writes can corrupt XDP return metadata. Reject clones unless their linear area fits inside SKB_WITH_OVERHEAD(PAGE_SIZE), matching the tailroom requirement already enforced by the XDP-to-skb conversion path.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: xdp: rechazar clones que exceden el espacio de cola de skb_shared_info xdpf_clone() clona copias de difusión en una sola página y establece frame_sz a PAGE_SIZE. __xdp_build_skb_from_frame() más tarde trata esa página como un frame XDP normal y espera el espacio de cola habitual de skb_shared_info al final del búfer. La comprobación actual solo rechaza frames cuyo encabezado xdp_frame lineal, espacio inicial y datos de paquete exceden PAGE_SIZE. Un frame de origen respaldado por una asignación mayor aún puede satisfacer esa comprobación mientras se extiende hacia el área de información compartida requerida del clon. Cuando dicho clon se convierte de nuevo en un skb, build_skb_around() coloca skb_shared_info sobre bytes de paquete activos y escrituras posteriores pueden corromper los metadatos de retorno de XDP. Rechazar clones a menos que su área lineal quepa dentro de SKB_WITH_OVERHEAD(PAGE_SIZE), coincidiendo con el requisito de espacio de cola ya aplicado por la ruta de conversión de XDP a skb.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74616 changed 2026-10-16 | CVE Terms of Use |
| NVD | CVE-2026-74616 changed 2026-10-16 | Public domain |