CVE-2026-31675 Details
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.
A vulnerability in the Linux kernel's netem packet scheduling component can lead to out-of-bounds memory access. This issue arises when fully non-linear packets are sent over an IPIP tunnel, causing the packet head length to be zero. The packet corruption logic then uses this zero value to select a random index for modifying packet data, leading to uncontrolled memory access. The vulnerability has been addressed by ensuring the packet head length is non-zero before applying corruption, allowing non-linear packets to bypass the logic without causing memory errors.
Users can upgrade to the patched version of the Linux kernel available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/13a66ca1e235d4bcd53d12d4c68490cad7f8e46f | kernel.org | Patch |
| https://git.kernel.org/stable/c/3a2999704ac36cfb4041fed3652d26a3373e8d12 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4fd258e281fa8bc15e9ce2c7691941537e9258ad | kernel.org | Patch |
| https://git.kernel.org/stable/c/a14b56863348686dd0387eea8ce66b85cf455908 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d64cb81dcbd54927515a7f65e5e24affdc73c14b | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.16, < 6.6.134 >= 6.7, < 6.12.81 >= 6.13, < 6.18.22 >= 6.19, < 6.19.12 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 7.0 rc6 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 6, 2026 | Initial Analysis | [email protected] |
| Apr 27, 2026 | CVE Modified | kernel.org |
| Apr 25, 2026 | New CVE Received | kernel.org |