{"id":"CVE-2024-50258","published":"2024-11-09T10:15:11Z","modified":"2026-11-05T20:31:22Z","title":"net: fix crash when config small gso_max_size/gso_ipv4_max_size","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fix crash when config small gso_max_size/gso_ipv4_max_size\n\nConfig a small gso_max_size/gso_ipv4_max_size will lead to an underflow\nin sk_dst_gso_max_size(), which may trigger a BUG_ON crash,\nbecause sk->sk_gso_max_size would be much bigger than device limits.\nCall Trace:\ntcp_write_xmit\n    tso_segs = tcp_init_tso_segs(skb, mss_now);\n        tcp_set_skb_tso_segs\n            tcp_skb_pcount_set\n                // skb->len = 524288, mss_now = 8\n                // u16 tso_segs = 524288/8 = 65535 -> 0\n                tso_segs = DIV_ROUND_UP(skb->len, mss_now)\n    BUG_ON(!tso_segs)\nAdd check for the minimum value of gso_max_size and gso_ipv4_max_size.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0022,"percentile":0.12831,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/90c8482a5d9791259ba77bfdc1849fc5128b4be7","tags":[]},{"url":"https://git.kernel.org/stable/c/e9365368b483328639c03fc730448dccd5a25b6b","tags":[]},{"url":"https://git.kernel.org/stable/c/ac5977001eee7660c643f8e07a2de9001990b7b8","tags":[]},{"url":"https://git.kernel.org/stable/c/e72fd1389a5364bc6aa6312ecf30bdb5891b9486","tags":[]},{"url":"https://git.kernel.org/stable/c/9ab5cf19fb0e4680f95e506d6c544259bf1111c4","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]}],"priority":{"score":2.6,"factors":[{"name":"EPSS percentile","points":2.57}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 46e6b992c2502b094e61da6994f1363f3b7c1413, < 90c8482a5d9791259ba77bfdc1849fc5128b4be7",">= 46e6b992c2502b094e61da6994f1363f3b7c1413, < e9365368b483328639c03fc730448dccd5a25b6b",">= 46e6b992c2502b094e61da6994f1363f3b7c1413, < ac5977001eee7660c643f8e07a2de9001990b7b8",">= 46e6b992c2502b094e61da6994f1363f3b7c1413, < e72fd1389a5364bc6aa6312ecf30bdb5891b9486",">= 46e6b992c2502b094e61da6994f1363f3b7c1413, < 9ab5cf19fb0e4680f95e506d6c544259bf1111c4"]},{"vendor":"Linux","product":"Linux","versions":["4.16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T20:27:58.864590Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-45167","exploited":false,"provenance":"source"}}