{"id":"CVE-2026-139188","state":"PUBLISHED","title":"net: harden qdisc_pkt_len_segs_init() against malicious GSO packets","description":"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.","publishedAt":"2026-11-30T13:32:23.672Z","updatedAt":"2026-11-30T13:32:23.672Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"15e5a030716468dce4032fa0f398d840fa2756f6","status":"affected","lessThan":"3befe3ce154f542f608736d5b1d7b4ee725afeab","versionType":"git"},{"version":"15e5a030716468dce4032fa0f398d840fa2756f6","status":"affected","lessThan":"c6648c9f3b51c5a8a3df470c1542b2aa378d88f9","versionType":"git"},{"version":"15aaf7e76567ab59307bfd68aa0be41abaa5b003","status":"affected","versionType":"git"},{"version":"3.9.8","status":"affected","lessThan":"3.10","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/dev.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.10","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/dev.c"]}],"references":["https://git.kernel.org/stable/c/3befe3ce154f542f608736d5b1d7b4ee725afeab","https://git.kernel.org/stable/c/c6648c9f3b51c5a8a3df470c1542b2aa378d88f9"],"weaknesses":[],"ingestedAt":"2026-11-30T13:44:05.999Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139188.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139188","state":"PUBLISHED","datePublished":"2026-11-30T13:32:23.672Z","dateUpdated":"2026-11-30T13:32:23.672Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.919Z"},"containers":{"cna":{"title":"net: harden qdisc_pkt_len_segs_init() against malicious GSO packets","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"15e5a030716468dce4032fa0f398d840fa2756f6","status":"affected","lessThan":"3befe3ce154f542f608736d5b1d7b4ee725afeab","versionType":"git"},{"version":"15e5a030716468dce4032fa0f398d840fa2756f6","status":"affected","lessThan":"c6648c9f3b51c5a8a3df470c1542b2aa378d88f9","versionType":"git"},{"version":"15aaf7e76567ab59307bfd68aa0be41abaa5b003","status":"affected","versionType":"git"},{"version":"3.9.8","status":"affected","lessThan":"3.10","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/dev.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.10","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/dev.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3befe3ce154f542f608736d5b1d7b4ee725afeab"},{"url":"https://git.kernel.org/stable/c/c6648c9f3b51c5a8a3df470c1542b2aa378d88f9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:32:23.672Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9.8"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}