# CVE-2026-31675: net/sched: sch\_netem: fix out-of-bounds access in packet corruption

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **CWE:** CWE-125, CWE-787
- **Published:** 2026-04-25T08:46:51.184Z
- **Modified:** 2026-11-23T08:17:15.733Z

## Who should check

- Anyone running Linux \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 48358cb08bf7fb712ab773a27edc4a68c980c721; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 0f550925d7438781bb73ef02eda0efa32cda6d10; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 8d3de49c22ec0ec8f7199cc7e2b0559de7306f87; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< a14b56863348686dd0387eea8ce66b85cf455908; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 13a66ca1e235d4bcd53d12d4c68490cad7f8e46f; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 3a2999704ac36cfb4041fed3652d26a3373e8d12; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 4fd258e281fa8bc15e9ce2c7691941537e9258ad; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< d64cb81dcbd54927515a7f65e5e24affdc73c14b
- Anyone running Linux 2.6.16

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/sched: sch\_netem: fix out-of-bounds access in packet corruption

In netem\_enqueue(), the packet corruption logic uses
get\_random\_u32\_below(skb\_headlen(skb)) to select an index for
modifying skb-\>data. When an AF\_PACKET TX\_RING sends fully non-linear
packets over an IPIP tunnel, skb\_headlen(skb) evaluates to 0.

Passing 0 to get\_random\_u32\_below() takes the variable-ceil slow path
which returns an unconstrained 32-bit random integer. Using this
unconstrained value as an offset into skb-\>data results in an
out-of-bounds memory access.

Fix this by verifying skb\_headlen(skb) is non-zero before attempting
to corrupt the linear data area. Fully non-linear packets will silently
bypass the corruption logic.

## Affected and fixed versions

- Linux: \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 48358cb08bf7fb712ab773a27edc4a68c980c721; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 0f550925d7438781bb73ef02eda0efa32cda6d10; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 8d3de49c22ec0ec8f7199cc7e2b0559de7306f87; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< a14b56863348686dd0387eea8ce66b85cf455908; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 13a66ca1e235d4bcd53d12d4c68490cad7f8e46f; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 3a2999704ac36cfb4041fed3652d26a3373e8d12; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 4fd258e281fa8bc15e9ce2c7691941537e9258ad; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< d64cb81dcbd54927515a7f65e5e24affdc73c14b (cvelist)
- Linux: 2.6.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31675. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31675.md
Affected: Linux >= c865e5d99e25a171e8262fc0f7ba608568633c64, < 48358cb08bf7fb712ab773a27edc4a68c980c721; >= c865e5d99e25a171e8262fc0f7ba608568633c64, < 0f550925d7438781bb73ef02eda0efa32cda6d10; >= c865e5d99e25a171e8262fc0f7ba608568633c64, < 8d3de49c22ec0ec8f7199cc7e2b0559de7306f87; >= c865e5d99e25a171e8262fc…
Fixed in: Linux 48358cb08bf7fb712ab773a27edc4a68c980c721, Linux 0f550925d7438781bb73ef02eda0efa32cda6d10, Linux 8d3de49c22ec0ec8f7199cc7e2b0559de7306f87, Linux 13a66ca1e235d4bcd53d12d4c68490cad7f8e46f, Linux 3a2999704ac36cfb4041fed3652d26a3373e8d12, Linux 4fd258e281fa8bc15e9ce2c7691941537e9258ad

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31675 being exploited?

There is no confirmed exploitation: CVE-2026-31675 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-31675?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31675?

Linux \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 48358cb08bf7fb712ab773a27edc4a68c980c721; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 0f550925d7438781bb73ef02eda0efa32cda6d10; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 8d3de49c22ec0ec8f7199cc7e2b0559de7306f87; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< a14b56863348686dd0387eea8ce66b85cf455908; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 13a66ca1e235d4bcd53d12d4c68490cad7f8e46f; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 3a2999704ac36cfb4041fed3652d26a3373e8d12; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< 4fd258e281fa8bc15e9ce2c7691941537e9258ad; \>= c865e5d99e25a171e8262fc0f7ba608568633c64, \< d64cb81dcbd54927515a7f65e5e24affdc73c14b; Linux 2.6.16.

### Is there a fix for CVE-2026-31675?

Yes. Fixed in Linux 48358cb08bf7fb712ab773a27edc4a68c980c721, Linux 0f550925d7438781bb73ef02eda0efa32cda6d10, Linux 8d3de49c22ec0ec8f7199cc7e2b0559de7306f87, Linux 13a66ca1e235d4bcd53d12d4c68490cad7f8e46f, Linux 3a2999704ac36cfb4041fed3652d26a3373e8d12, Linux 4fd258e281fa8bc15e9ce2c7691941537e9258ad. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-31675?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/a14b56863348686dd0387eea8ce66b85cf455908>
- patch: <https://git.kernel.org/stable/c/13a66ca1e235d4bcd53d12d4c68490cad7f8e46f>
- patch: <https://git.kernel.org/stable/c/3a2999704ac36cfb4041fed3652d26a3373e8d12>
- patch: <https://git.kernel.org/stable/c/4fd258e281fa8bc15e9ce2c7691941537e9258ad>
- patch: <https://git.kernel.org/stable/c/d64cb81dcbd54927515a7f65e5e24affdc73c14b>
- other: <https://git.kernel.org/stable/c/48358cb08bf7fb712ab773a27edc4a68c980c721>
- other: <https://git.kernel.org/stable/c/0f550925d7438781bb73ef02eda0efa32cda6d10>
- other: <https://git.kernel.org/stable/c/8d3de49c22ec0ec8f7199cc7e2b0559de7306f87>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31675>

HTML: <https://flawdb.com/CVE-2026-31675> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31675>
