{"id":"CVE-2026-31675","published":"2026-04-25T08:46:51Z","modified":"2026-11-23T07:58:41Z","title":"net/sched: sch_netem: fix out-of-bounds access in packet corruption","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: sch_netem: fix out-of-bounds access in packet corruption\n\nIn netem_enqueue(), the packet corruption logic uses\nget_random_u32_below(skb_headlen(skb)) to select an index for\nmodifying skb->data. When an AF_PACKET TX_RING sends fully non-linear\npackets over an IPIP tunnel, skb_headlen(skb) evaluates to 0.\n\nPassing 0 to get_random_u32_below() takes the variable-ceil slow path\nwhich returns an unconstrained 32-bit random integer. Using this\nunconstrained value as an offset into skb->data results in an\nout-of-bounds memory access.\n\nFix this by verifying skb_headlen(skb) is non-zero before attempting\nto corrupt the linear data area. Fully non-linear packets will silently\nbypass the corruption logic.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00192,"percentile":0.05092,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://git.kernel.org/stable/c/48358cb08bf7fb712ab773a27edc4a68c980c721","tags":[]},{"url":"https://git.kernel.org/stable/c/0f550925d7438781bb73ef02eda0efa32cda6d10","tags":[]},{"url":"https://git.kernel.org/stable/c/8d3de49c22ec0ec8f7199cc7e2b0559de7306f87","tags":[]},{"url":"https://git.kernel.org/stable/c/a14b56863348686dd0387eea8ce66b85cf455908","tags":[]},{"url":"https://git.kernel.org/stable/c/13a66ca1e235d4bcd53d12d4c68490cad7f8e46f","tags":[]},{"url":"https://git.kernel.org/stable/c/3a2999704ac36cfb4041fed3652d26a3373e8d12","tags":[]},{"url":"https://git.kernel.org/stable/c/4fd258e281fa8bc15e9ce2c7691941537e9258ad","tags":[]},{"url":"https://git.kernel.org/stable/c/d64cb81dcbd54927515a7f65e5e24affdc73c14b","tags":[]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":1.02},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c865e5d99e25a171e8262fc0f7ba608568633c64, < 48358cb08bf7fb712ab773a27edc4a68c980c721",">= c865e5d99e25a171e8262fc0f7ba608568633c64, < 0f550925d7438781bb73ef02eda0efa32cda6d10",">= c865e5d99e25a171e8262fc0f7ba608568633c64, < 8d3de49c22ec0ec8f7199cc7e2b0559de7306f87",">= c865e5d99e25a171e8262fc0f7ba608568633c64, < a14b56863348686dd0387eea8ce66b85cf455908",">= c865e5d99e25a171e8262fc0f7ba608568633c64, < 13a66ca1e235d4bcd53d12d4c68490cad7f8e46f",">= c865e5d99e25a171e8262fc0f7ba608568633c64, < 3a2999704ac36cfb4041fed3652d26a3373e8d12",">= c865e5d99e25a171e8262fc0f7ba608568633c64, < 4fd258e281fa8bc15e9ce2c7691941537e9258ad",">= c865e5d99e25a171e8262fc0f7ba608568633c64, < d64cb81dcbd54927515a7f65e5e24affdc73c14b"]},{"vendor":"Linux","product":"Linux","versions":["2.6.16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:12:12.570875Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-25642","exploited":false,"provenance":"source"}}