{
  "id": "CVE-2026-31675",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31675",
  "published_at": "2026-04-25T08:46:51.184Z",
  "title": "net/sched: sch_netem: fix out-of-bounds access in packet corruption",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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-\u003edata. 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-\u003edata 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.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= c865e5d99e25a171e8262fc0f7ba608568633c64, \u003c 48358cb08bf7fb712ab773a27edc4a68c980c721",
          "\u003e= c865e5d99e25a171e8262fc0f7ba608568633c64, \u003c 0f550925d7438781bb73ef02eda0efa32cda6d10",
          "\u003e= c865e5d99e25a171e8262fc0f7ba608568633c64, \u003c 8d3de49c22ec0ec8f7199cc7e2b0559de7306f87",
          "\u003e= c865e5d99e25a171e8262fc0f7ba608568633c64, \u003c a14b56863348686dd0387eea8ce66b85cf455908",
          "\u003e= c865e5d99e25a171e8262fc0f7ba608568633c64, \u003c 13a66ca1e235d4bcd53d12d4c68490cad7f8e46f",
          "\u003e= c865e5d99e25a171e8262fc0f7ba608568633c64, \u003c 3a2999704ac36cfb4041fed3652d26a3373e8d12",
          "\u003e= c865e5d99e25a171e8262fc0f7ba608568633c64, \u003c 4fd258e281fa8bc15e9ce2c7691941537e9258ad",
          "\u003e= c865e5d99e25a171e8262fc0f7ba608568633c64, \u003c d64cb81dcbd54927515a7f65e5e24affdc73c14b"
        ],
        "fixed_in": [
          "48358cb08bf7fb712ab773a27edc4a68c980c721",
          "0f550925d7438781bb73ef02eda0efa32cda6d10",
          "8d3de49c22ec0ec8f7199cc7e2b0559de7306f87",
          "a14b56863348686dd0387eea8ce66b85cf455908",
          "13a66ca1e235d4bcd53d12d4c68490cad7f8e46f",
          "3a2999704ac36cfb4041fed3652d26a3373e8d12",
          "4fd258e281fa8bc15e9ce2c7691941537e9258ad",
          "d64cb81dcbd54927515a7f65e5e24affdc73c14b"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.16"
        ],
        "fixed_in": [
          "0",
          "5.10.275",
          "5.15.226",
          "6.1.191",
          "6.6.134",
          "6.12.81",
          "6.18.22",
          "6.19.12",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 48358cb08bf7fb712ab773a27edc4a68c980c721 or 0f550925d7438781bb73ef02eda0efa32cda6d10 or 8d3de49c22ec0ec8f7199cc7e2b0559de7306f87 or a14b56863348686dd0387eea8ce66b85cf455908 or 13a66ca1e235d4bcd53d12d4c68490cad7f8e46f or 3a2999704ac36cfb4041fed3652d26a3373e8d12 or 4fd258e281fa8bc15e9ce2c7691941537e9258ad or d64cb81dcbd54927515a7f65e5e24affdc73c14b or later.",
      "Upgrade Linux to 0 or 5.10.275 or 5.15.226 or 6.1.191 or 6.6.134 or 6.12.81 or 6.18.22 or 6.19.12 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
