CVE-2024-49978
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
21/10/2024
Last modified:
03/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
gso: fix udp gso fraglist segmentation after pull from frag_list<br />
<br />
Detect gso fraglist skbs with corrupted geometry (see below) and<br />
pass these to skb_segment instead of skb_segment_list, as the first<br />
can segment them correctly.<br />
<br />
Valid SKB_GSO_FRAGLIST skbs<br />
- consist of two or more segments<br />
- the head_skb holds the protocol headers plus first gso_size<br />
- one or more frag_list skbs hold exactly one segment<br />
- all but the last must be gso_size<br />
<br />
Optional datapath hooks such as NAT and BPF (bpf_skb_pull_data) can<br />
modify these skbs, breaking these invariants.<br />
<br />
In extreme cases they pull all data into skb linear. For UDP, this<br />
causes a NULL ptr deref in __udpv4_gso_segment_list_csum at<br />
udp_hdr(seg->next)->dest.<br />
<br />
Detect invalid geometry due to pull, by checking head_skb size.<br />
Don&#39;t just drop, as this may blackhole a destination. Convert to be<br />
able to pass to regular skb_segment.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.6 (including) | 6.1.113 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.55 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.10.14 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.11 (including) | 6.11.3 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/080e6c9a3908de193a48f646c5ce1bfb15676ffc
- https://git.kernel.org/stable/c/33e28acf42ee863f332a958bfc2f1a284a3659df
- https://git.kernel.org/stable/c/3cd00d2e3655fad3bda96dc1ebf17b6495f86fea
- https://git.kernel.org/stable/c/a1e40ac5b5e9077fe1f7ae0eb88034db0f9ae1ab
- https://git.kernel.org/stable/c/af3122f5fdc0d00581d6e598a668df6bf54c9daa
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html



