VDB

CVE-2024-50258

CVE-2024-50258 PUBLISHED

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.

PackageEcosystemFixed in
kernel-modules-extraAmazon Linux6.1.124-134.200.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.124-134.200.amzn2023
linux_kernellinux6.11.7, 6.6.60

Affected products

VendorProductVersions
LinuxLinux46e6b992c2502b094e61da6994f1363f3b7c1413, 46e6b992c2502b094e61da6994f1363f3b7c1413, 46e6b992c2502b094e61da6994f1363f3b7c1413
LinuxLinux4.16, 0, 5.15.181
amazon:2023kernel-modules-extra0
amazon:2023kernel-modules-extra-common0
linuxlinux_kernel4.16, 4.16, 4.16
LinuxLinux6.12, 46e6b992c2502b094e61da6994f1363f3b7c1413, 46e6b992c2502b094e61da6994f1363f3b7c1413
amazon:2023kernel-libbpf0
amazon:2023kernel-tools-devel0
amazon:2023bpftool0
amazon:2023perf0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-tools0
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.1.124-134.2000
amazon:2023kernel-headers0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›