# CVE-2024-49978: gso: fix udp gso fraglist segmentation after pull from frag_list

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 53% of CVEs (2026-12-01)
- Published: 2024-10-21T18:02:25.151Z
- Modified: 2026-08-05T11:40:48.306Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- 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

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/080e6c9a3908de193a48f646c5ce1bfb15676ffc> (patch)
- <https://git.kernel.org/stable/c/af3122f5fdc0d00581d6e598a668df6bf54c9daa> (patch)
- <https://git.kernel.org/stable/c/33e28acf42ee863f332a958bfc2f1a284a3659df> (patch)
- <https://git.kernel.org/stable/c/3cd00d2e3655fad3bda96dc1ebf17b6495f86fea> (patch)
- <https://git.kernel.org/stable/c/a1e40ac5b5e9077fe1f7ae0eb88034db0f9ae1ab> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-49978](https://www.cve.org/CVERecord?id=CVE-2024-49978), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-49978](https://nvd.nist.gov/vuln/detail/CVE-2024-49978), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-49978 · Whole record: https://cve.day/CVE-2024-49978.json · Rebuilt by cve.day 2026-11-25T22:58:47.074Z
