{"id":"CVE-2026-139188","summary":"net: harden qdisc_pkt_len_segs_init() against malicious GSO packets","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: harden qdisc_pkt_len_segs_init() against malicious GSO packets\n\nAn SKB_GSO_DODGY packet can carry untrusted gso_size and headers.\n\nFor instance, gso_size=1 and hdr_len=65532 for a 524275-byte frame\nmakes qdisc_pkt_len_segs_init() compute an accounted length of\nabout 4,294,574,091 bytes (after gso_segs silently wrapped in a u16).\n\nWith DRR quantum 256, the dequeue path then needs ~16.8 million\ndeficit refills before it can dequeue the skb, keeping the CPU in\nthe qdisc path long enough to trigger the soft-lockup watchdog.\n\nCommit 8f735d64382d (\"net/sched: bound qdisc_pkt_len to prevent\nqdisc soft lockup\") added QDISC_PKT_LEN_MAX to bound size table\namplification. Use the same bound for DODGY packets:\n\n- Make gso_segs a u32 and drop packets whose segment count does\n  not fit GSO_MAX_SEGS, instead of silently truncating it.\n\n- Drop packets whose estimated qdisc_pkt_len() would exceed\n  QDISC_PKT_LEN_MAX.","modified":"2026-12-01T21:02:42.711217791Z","published":"2026-11-30T13:32:23.672Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139188.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3befe3ce154f542f608736d5b1d7b4ee725afeab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c6648c9f3b51c5a8a3df470c1542b2aa378d88f9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139188.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139188"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"15e5a030716468dce4032fa0f398d840fa2756f6"},{"fixed":"3befe3ce154f542f608736d5b1d7b4ee725afeab"},{"fixed":"c6648c9f3b51c5a8a3df470c1542b2aa378d88f9"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"15aaf7e76567ab59307bfd68aa0be41abaa5b003"}]}],"versions":["v3.9.11","v3.9.10","v3.9.9","v3.9.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139188.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.9.8"},{"fixed":"3.10"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.10.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139188.json"}}],"schema_version":"1.9.2"}