CVE-2024-50258
net: fix crash when config small gso_max_size/gso_ipv4_max_size
Reported by linux · Published November 9, 2024
In the Linux kernel, the following vulnerability has been resolved: net: fix crash when config small gso_max_size/gso_ipv4_max_size Config a small gso_max_size/gso_ipv4_max_size will lead to an underflow in sk_dst_gso_max_size(), which may trigger a BUG_ON crash, because sk->sk_gso_max_size would be much bigger than device limits. Call Trace: tcp_write_xmit tso_segs = tcp_init_tso_segs(skb, mss_now); tcp_set_skb_tso_segs tcp_skb_pcount_set // skb->len = 524288, mss_now = 8 // u16 tso_segs = 524288/8 = 65535 -> 0 tso_segs = DIV_ROUND_UP(skb->len, mss_now) BUG_ON(!tso_segs) Add check for the minimum value of gso_max_size and gso_ipv4_max_size.
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-modules-extra | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.124-134.200.amzn2023 |
| linux_kernel | linux | 6.11.7, 6.6.60 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 46e6b992c2502b094e61da6994f1363f3b7c1413, 46e6b992c2502b094e61da6994f1363f3b7c1413, 46e6b992c2502b094e61da6994f1363f3b7c1413 |
| Linux | Linux | 4.16, 0, 5.15.181 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| linux | linux_kernel | 4.16, 4.16, 4.16 |
| Linux | Linux | 6.12, 46e6b992c2502b094e61da6994f1363f3b7c1413, 46e6b992c2502b094e61da6994f1363f3b7c1413 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-livepatch-6.1.124-134.200 | 0 |
| amazon:2023 | kernel-headers | 0 |
Timeline
- Nov 9, 2024 Coalition ESS Score (10 in total, the first dated here)
- Nov 9, 2024 CVE Published
- Nov 10, 2024 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 2, 2026 Security Advisory (175 in total, the first dated here)
- Jan 2, 2026 CVE Updated
- Apr 29, 2026 Distribution Patch (158 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-50258
vulnetix vdb fixes CVE-2024-50258
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-50258/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart