CVE-2026-31675
net/sched: sch_netem: fix out-of-bounds access in packet corruption
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.
INFO
Published Date :
April 25, 2026, 9:16 a.m.
Last Modified :
Nov. 23, 2026, 8:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Validate skb_headlen is non-zero before packet corruption.
- Modify skb->data offset calculation for safety.
- Ensure random index is within bounds.
- Apply kernel patches for net/sched: sch_netem.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-31675.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-31675 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-31675
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-31675 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-31675 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 23, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31675.json">CVE-2026-31675</a> Added Reference https://git.kernel.org/stable/c/0f550925d7438781bb73ef02eda0efa32cda6d10 Added Reference https://git.kernel.org/stable/c/48358cb08bf7fb712ab773a27edc4a68c980c721 -
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net/sched: sch_netem: corrección de acceso fuera de límites en la corrupción de paquetes En netem_enqueue(), la lógica de corrupción de paquetes utiliza get_random_u32_below(skb_headlen(skb)) para seleccionar un índice para modificar skb -> data. Cuando un AF_PACKET TX_RING envía paquetes completamente no lineales a través de un túnel IPIP, skb_headlen(skb) se evalúa a 0. Pasar 0 a get_random_u32_below() toma la ruta lenta de techo variable que devuelve un entero aleatorio de 32 bits sin restricciones. Usar este valor sin restricciones como un desplazamiento en skb -> data resulta en un acceso a memoria fuera de límites. Corregir esto al verificar que skb_headlen(skb) no sea cero antes de intentar corromper el área de datos lineal. Los paquetes completamente no lineales omitirán silenciosamente la lógica de corrupción. -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 30, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31675.json">CVE-2026-31675</a> Added Reference https://git.kernel.org/stable/c/8d3de49c22ec0ec8f7199cc7e2b0559de7306f87 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 19, 2026
Action Type Old Value New Value Added CWE CWE-787 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 16, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/13a66ca1e235d4bcd53d12d4c68490cad7f8e46f Added Reference https://git.kernel.org/stable/c/3a2999704ac36cfb4041fed3652d26a3373e8d12 Added Reference https://git.kernel.org/stable/c/4fd258e281fa8bc15e9ce2c7691941537e9258ad Added Reference https://git.kernel.org/stable/c/a14b56863348686dd0387eea8ce66b85cf455908 Added Reference https://git.kernel.org/stable/c/d64cb81dcbd54927515a7f65e5e24affdc73c14b Removed Reference https://git.kernel.org/stable/c/13a66ca1e235d4bcd53d12d4c68490cad7f8e46f Removed Reference https://git.kernel.org/stable/c/3a2999704ac36cfb4041fed3652d26a3373e8d12 Removed Reference https://git.kernel.org/stable/c/4fd258e281fa8bc15e9ce2c7691941537e9258ad Removed Reference https://git.kernel.org/stable/c/a14b56863348686dd0387eea8ce66b85cf455908 Removed Reference https://git.kernel.org/stable/c/d64cb81dcbd54927515a7f65e5e24affdc73c14b Removed Reference Type https://git.kernel.org/stable/c/13a66ca1e235d4bcd53d12d4c68490cad7f8e46f Types: Patch Removed Reference Type https://git.kernel.org/stable/c/3a2999704ac36cfb4041fed3652d26a3373e8d12 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/4fd258e281fa8bc15e9ce2c7691941537e9258ad Types: Patch Removed Reference Type https://git.kernel.org/stable/c/a14b56863348686dd0387eea8ce66b85cf455908 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/d64cb81dcbd54927515a7f65e5e24affdc73c14b Types: Patch -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 16, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-31675', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:12:12.570875Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'c865e5d99e25a171e8262fc0f7ba608568633c64', 'lessThan': 'a14b56863348686dd0387eea8ce66b85cf455908', 'versionType': 'git'}, {'status': 'affected', 'version': 'c865e5d99e25a171e8262fc0f7ba608568633c64', 'lessThan': '13a66ca1e235d4bcd53d12d4c68490cad7f8e46f', 'versionType': 'git'}, {'status': 'affected', 'version': 'c865e5d99e25a171e8262fc0f7ba608568633c64', 'lessThan': '3a2999704ac36cfb4041fed3652d26a3373e8d12', 'versionType': 'git'}, {'status': 'affected', 'version': 'c865e5d99e25a171e8262fc0f7ba608568633c64', 'lessThan': '4fd258e281fa8bc15e9ce2c7691941537e9258ad', 'versionType': 'git'}, {'status': 'affected', 'version': 'c865e5d99e25a171e8262fc0f7ba608568633c64', 'lessThan': 'd64cb81dcbd54927515a7f65e5e24affdc73c14b', 'versionType': 'git'}], 'programFiles': ['net/sched/sch_netem.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.134', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.81', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.22', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.12', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/sched/sch_netem.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
May. 06, 2026
Action Type Old Value New Value Added CWE CWE-125 Added CPE Configuration OR *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:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.22 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.81 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.16 up to (excluding) 6.6.134 Added Reference Type kernel.org: https://git.kernel.org/stable/c/13a66ca1e235d4bcd53d12d4c68490cad7f8e46f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3a2999704ac36cfb4041fed3652d26a3373e8d12 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4fd258e281fa8bc15e9ce2c7691941537e9258ad Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a14b56863348686dd0387eea8ce66b85cf455908 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d64cb81dcbd54927515a7f65e5e24affdc73c14b Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 27, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 25, 2026
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/13a66ca1e235d4bcd53d12d4c68490cad7f8e46f Added Reference https://git.kernel.org/stable/c/3a2999704ac36cfb4041fed3652d26a3373e8d12 Added Reference https://git.kernel.org/stable/c/4fd258e281fa8bc15e9ce2c7691941537e9258ad Added Reference https://git.kernel.org/stable/c/a14b56863348686dd0387eea8ce66b85cf455908 Added Reference https://git.kernel.org/stable/c/d64cb81dcbd54927515a7f65e5e24affdc73c14b