CVE-2024-49979
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
21/10/2024
Last modified:
25/03/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net: gso: fix tcp fraglist segmentation after pull from frag_list<br />
<br />
Detect tcp 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 TCP, this<br />
causes a NULL ptr deref in __tcpv4_gso_segment_list_csum at<br />
tcp_hdr(seg->next).<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.<br />
<br />
Approach and description based on a patch by Willem de Bruijn.
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:*:*:*:*:*:*:*:* | 6.10 (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/17bd3bd82f9f79f3feba15476c2b2c95a9b11ff8
- https://git.kernel.org/stable/c/2d4a83a44428de45bfe9dccb0192a3711d1097e0
- https://git.kernel.org/stable/c/3fdd8c83e83fa5e82f1b5585245c51e0355c9f46
- https://git.kernel.org/stable/c/75733986fcb0725c0033cde94764389e287b331e
- https://git.kernel.org/stable/c/e19201b0c67da5146eaac06fd3d44bd7945c3448



