CVE-2026-31675
HIGH 7.8CVSS 3.1net/sched: sch_netem: fix out-of-bounds access in packet corruption
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.
- Published
- 25 Apr 2026
- Last modified
- 23 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-125CWE-787
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 2.6.16, < 6.6.134 | 6.6.134 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.12.81 | 6.12.81 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.13, < 6.18.22 | 6.18.22 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.19, < 6.19.12 | 6.19.12 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* |
= 7.0 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* |
= 7.0 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* |
= 7.0 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* |
= 7.0 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* |
= 7.0 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* |
= 7.0 | |
| CVE List | Linux | Linux | >= c865e5d99e25a171e8262fc0f7ba608568633c64, < 48358cb08bf7fb712ab773a27edc4a68c980c721; >= c865e5d99e25a171e8262fc0f7ba608568633c64, < 0f550925d7438781bb73ef02eda0efa32cda6d10; >= c865e5d99e25a171e8262fc0f7ba608568633c64, < 8d3de49c22ec0ec8f7199cc7e2b0559de7306f87; >= c865e5d99e25a171e8262fc0f7ba608568633c64, < a14b56863348686dd0387eea8ce66b85cf455908; >= c865e5d99e25a171e8262fc0f7ba608568633c64, < 13a66ca1e235d4bcd53d12d4c68490cad7f8e46f; >= c865e5d99e25a171e8262fc0f7ba608568633c64, < 3a2999704ac36cfb4041fed3652d26a3373e8d12; >= c865e5d99e25a171e8262fc0f7ba608568633c64, < 4fd258e281fa8bc15e9ce2c7691941537e9258ad; >= c865e5d99e25a171e8262fc0f7ba608568633c64, < d64cb81dcbd54927515a7f65e5e24affdc73c14b | 48358cb08bf7fb712ab773a27edc4a68c980c721, 0f550925d7438781bb73ef02eda0efa32cda6d10, 8d3de49c22ec0ec8f7199cc7e2b0559de7306f87, a14b56863348686dd0387eea8ce66b85cf455908, 13a66ca1e235d4bcd53d12d4c68490cad7f8e46f, 3a2999704ac36cfb4041fed3652d26a3373e8d12, 4fd258e281fa8bc15e9ce2c7691941537e9258ad, d64cb81dcbd54927515a7f65e5e24affdc73c14b |
| CVE List | Linux | Linux | = 2.6.16 |
References
- https://git.kernel.org/stable/c/0f550925d7438781bb73ef02eda0efa32cda6d10
- https://git.kernel.org/stable/c/13a66ca1e235d4bcd53d12d4c68490cad7f8e46f · Patch
- https://git.kernel.org/stable/c/3a2999704ac36cfb4041fed3652d26a3373e8d12 · Patch
- https://git.kernel.org/stable/c/48358cb08bf7fb712ab773a27edc4a68c980c721
- https://git.kernel.org/stable/c/4fd258e281fa8bc15e9ce2c7691941537e9258ad · Patch
- https://git.kernel.org/stable/c/8d3de49c22ec0ec8f7199cc7e2b0559de7306f87
- https://git.kernel.org/stable/c/a14b56863348686dd0387eea8ce66b85cf455908 · Patch
- https://git.kernel.org/stable/c/d64cb81dcbd54927515a7f65e5e24affdc73c14b · Patch
History
- 25 Nov 2026 20:33 UTC · CVE List: first stored (published 25 Apr 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 25 Apr 2026)