7.5high
gso: fix udp gso fraglist segmentation after pull from frag_list
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.66% (higher than 53% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: gso: fix udp gso fraglist segmentation after pull from frag_list Detect gso fraglist skbs with corrupted geometry (see below) and pass these to skb_segment instead of skb_segment_list, as the first can segment them correctly. Valid SKB_GSO_FRAGLIST skbs - consist of two or more segments - the head_skb holds the protocol headers plus first gso_size - one or more frag_list skbs hold exactly one segment - all but the last must be gso_size Optional datapath hooks such as NAT and BPF (bpf_skb_pull_data) can modify these skbs, breaking these invariants. In extreme cases they pull all data into skb linear. For UDP, this causes a NULL ptr deref in __udpv4_gso_segment_list_csum at udp_hdr(seg->next)->dest. Detect invalid geometry due to pull, by checking head_skb size. Don't just drop, as this may blackhole a destination. Convert to be able to pass to regular skb_segment.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 9fd1ff5d2ac7181844735806b0a703c942365291 before 080e6c9a3908de193a48f646c5ce1bfb15676ffc, from 9fd1ff5d2ac7181844735806b0a703c942365291 before af3122f5fdc0d00581d6e598a668df6bf54c9daa, from 9fd1ff5d2ac7181844735806b0a703c942365291 before 33e28acf42ee863f332a958bfc2f1a284a3659df, from 9fd1ff5d2ac7181844735806b0a703c942365291 before 3cd00d2e3655fad3bda96dc1ebf17b6495f86fea, from 9fd1ff5d2ac7181844735806b0a703c942365291 before a1e40ac5b5e9077fe1f7ae0eb88034db0f9ae1ab, 5.6 Not affected: before 5.6, from 6.1.113 up to 6.1.*, from 6.6.55 up to 6.6.*, from 6.10.14 up to 6.10.*, from 6.11.3 up to 6.11.*, from 6.12 up to * | CVE List |
| linux linux_kernel | from 5.6 before 6.1.113, from 6.2 before 6.6.55, from 6.7 before 6.10.14, from 6.11 before 6.11.3, 6.12 | NVD |
All scores
| Linux | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: gso: fix udp gso fraglist segmentation after pull from frag_list Detect gso fraglist skbs with corrupted geometry (see below) and pass these to skb_segment instead of skb_segment_list, as the first can segment them correctly. Valid SKB_GSO_FRAGLIST skbs - consist of two or more segments - the head_skb holds the protocol headers plus first gso_size - one or more frag_list skbs hold exactly one segment - all but the last must be gso_size Optional datapath hooks such as NAT and BPF (bpf_skb_pull_data) can modify these skbs, breaking these invariants. In extreme cases they pull all data into skb linear. For UDP, this causes a NULL ptr deref in __udpv4_gso_segment_list_csum at udp_hdr(seg->next)->dest. Detect invalid geometry due to pull, by checking head_skb size. Don't just drop, as this may blackhole a destination. Convert to be able to pass to regular skb_segment.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: gso: arregla la segmentación de fraglist gso udp después de extraer de frag_list Detecta skbs de fraglist gso con geometría corrupta (ver abajo) y pásalos a skb_segment en lugar de a skb_segment_list, ya que el primero puede segmentarlos correctamente. Skbs SKB_GSO_FRAGLIST válidos: consisten en dos o más segmentos: el head_skb contiene los encabezados de protocolo más el primero gso_size: uno o más skbs de frag_list contienen exactamente un segmento: todos menos el último deben ser gso_size Los ganchos de ruta de datos opcionales como NAT y BPF (bpf_skb_pull_data) pueden modificar estos skbs, rompiendo estos invariantes. En casos extremos, extraen todos los datos en skb lineal. Para UDP, esto provoca un desreferenciado de ptr NULL en __udpv4_gso_segment_list_csum en udp_hdr(seg->next)->dest. Detecta geometría no válida debido a la extracción, verificando el tamaño de head_skb. No la elimines, ya que esto puede convertir un destino en un agujero negro. Convierte para poder pasar a skb_segment normal.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-49978 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-49978 changed 2026-08-04 | Public domain |