{"id":"CVE-2026-139188","aliases":["CVE-2026-139188"],"related":[],"kind":"vulnerability","state":"published","title":"net: harden qdisc_pkt_len_segs_init() against malicious GSO packets","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:32:23.672Z","modified":"2026-11-30T14:18:38.210Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"15e5a030716468dce4032fa0f398d840fa2756f6","fixed":"3befe3ce154f542f608736d5b1d7b4ee725afeab","status":"affected"},{"type":"git","introduced":"15e5a030716468dce4032fa0f398d840fa2756f6","fixed":"c6648c9f3b51c5a8a3df470c1542b2aa378d88f9","status":"affected"},{"type":"git","version":"15aaf7e76567ab59307bfd68aa0be41abaa5b003","status":"affected"},{"type":"semver","introduced":"3.9.8","fixed":"3.10","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.10","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3befe3ce154f542f608736d5b1d7b4ee725afeab","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c6648c9f3b51c5a8a3df470c1542b2aa378d88f9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139188","url":"https://www.cve.org/CVERecord?id=CVE-2026-139188","licence":"CVE Terms of Use","modified":"2026-11-30T13:32:23.672Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139188","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139188","licence":"Public domain","modified":"2026-11-30T14:18:38.210Z"}],"updatedAt":"2026-11-30T14:33:08.781Z","epss":{"score":0.00198,"percentile":0.09978,"date":"2026-12-01T12:00:22.000Z"}}