CVE-2024-49978
gso: fix udp gso fraglist segmentation after pull from frag_list
Reported by linux · Published October 21, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf-static | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.115-126.197.amzn2023 |
| bpftool | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.115-126.197.amzn2023 |
| Linux | Linux | 5.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 9fd1ff5d2ac7181844735806b0a703c942365291, 9fd1ff5d2ac7181844735806b0a703c942365291, 9fd1ff5d2ac7181844735806b0a703c942365291 |
| Linux | Linux | 5.6, 0, 6.1.113 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| Linux | Linux | 9fd1ff5d2ac7181844735806b0a703c942365291, 6.12, 6.11.3 |
| amazon:2023 | kernel-livepatch-6.1.115-126.197 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| linux | linux_kernel | 5.6, 5.6, 5.6 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel | 0 |
Timeline
- Oct 21, 2024 CVE Published
- Oct 22, 2024 EPSS Score (30 in total, the first dated here)
- Oct 23, 2024 Coalition ESS Score (22 in total, the first dated here)
- Dec 5, 2025 CVE Updated
- Dec 16, 2025 PoC Published
- Jan 2, 2026 Security Advisory (436 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (369 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-49978
vulnetix vdb fixes CVE-2024-49978
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-49978/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart