CVE-2024-50258
net: fix crash when config small gso_max_size/gso_ipv4_max_size
Check your servers for CVE-2024-50258
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-50258 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 46e6b992c2502b094e61da6994f1363f3b7c1413, before 90c8482a5d9791259ba77bfdc1849fc5128b4be7 affected from 46e6b992c2502b094e61da6994f1363f3b7c1413, before e9365368b483328639c03fc730448dccd5a25b6b affected from 46e6b992c2502b094e61da6994f1363f3b7c1413, before ac5977001eee7660c643f8e07a2de9001990b7b8 affected from 46e6b992c2502b094e61da6994f1363f3b7c1413, before e72fd1389a5364bc6aa6312ecf30bdb5891b9486 affected from 46e6b992c2502b094e61da6994f1363f3b7c1413, before 9ab5cf19fb0e4680f95e506d6c544259bf1111c4
Other versions: unaffected
|
| Linux |
affected 4.16 unaffected before 4.16 unaffected from 5.15.181 up to and including 5.15.* unaffected from 6.1.120 up to and including 6.1.* unaffected from 6.6.60 up to and including 6.6.* unaffected from 6.11.7 up to and including 6.11.* unaffected 6.12 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-50258 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-50258
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-50258
trivy image --scanners vuln IMAGE | grep CVE-2024-50258
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/90c8482a5d9791259ba77bfdc1849fc5128b4be7 git.kernel.org
- https://git.kernel.org/stable/c/e9365368b483328639c03fc730448dccd5a25b6b git.kernel.org
- https://git.kernel.org/stable/c/ac5977001eee7660c643f8e07a2de9001990b7b8 git.kernel.org
- https://git.kernel.org/stable/c/e72fd1389a5364bc6aa6312ecf30bdb5891b9486 git.kernel.org
- https://git.kernel.org/stable/c/9ab5cf19fb0e4680f95e506d6c544259bf1111c4 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html lists.debian.org
Source: the record CVE-2024-50258 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse