{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31675","id":"CVE-2026-31675","title":"net/sched: sch_netem: fix out-of-bounds access in packet corruption","description":"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 g","descriptionLong":"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.","published":"2026-04-25T08:46:51.184Z","updated":"2026-11-13T02:30:46.620362368Z","reserved":"2026-03-09T15:48:24.130Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c865e5d99e25a171e8262fc0f7ba608568633c64","lessThan":"8d3de49c22ec0ec8f7199cc7e2b0559de7306f87","status":"affected","versionType":"git"},{"version":"c865e5d99e25a171e8262fc0f7ba608568633c64","lessThan":"a14b56863348686dd0387eea8ce66b85cf455908","status":"affected","versionType":"git"},{"version":"c865e5d99e25a171e8262fc0f7ba608568633c64","lessThan":"13a66ca1e235d4bcd53d12d4c68490cad7f8e46f","status":"affected","versionType":"git"},{"version":"c865e5d99e25a171e8262fc0f7ba608568633c64","lessThan":"3a2999704ac36cfb4041fed3652d26a3373e8d12","status":"affected","versionType":"git"},{"version":"c865e5d99e25a171e8262fc0f7ba608568633c64","lessThan":"4fd258e281fa8bc15e9ce2c7691941537e9258ad","status":"affected","versionType":"git"},{"version":"c865e5d99e25a171e8262fc0f7ba608568633c64","lessThan":"d64cb81dcbd54927515a7f65e5e24affdc73c14b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.16","status":"affected"},{"version":"0","lessThan":"2.6.16","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.134","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.81","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.22","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.12","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-787","CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8d3de49c22ec0ec8f7199cc7e2b0559de7306f87","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a14b56863348686dd0387eea8ce66b85cf455908","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/13a66ca1e235d4bcd53d12d4c68490cad7f8e46f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3a2999704ac36cfb4041fed3652d26a3373e8d12","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4fd258e281fa8bc15e9ce2c7691941537e9258ad","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d64cb81dcbd54927515a7f65e5e24affdc73c14b","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31675.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31675","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00164,"epssPercentile":0.05727,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31675","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31675","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31675","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31675","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}