CVE-2026-142990: Linux kernel · usb: usbtest: prevent divide by zero in simple_io() with zero length
Source GCVE Database
Not known to be exploited · fixed in fdaca138694111153f96c7d76877734b9dbf0e01 : update Linux kernel when convenient.
Data as of 3 Dec 2026, 13:17 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in fdaca138694111153f96c7d76877734b9dbf0e01, e86108348f12dcd64d2cdaa8f59ea5f696d6f4a3, ae987e804d8c18679b117fd55dd55a5c88b195b5 +8
Exploitation evidence
Disclosed: evidence found.
CVE published 3 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
Description
In the Linux kernel, the following vulnerability has been resolved: usb: usbtest: prevent divide by zero in simple_io() with zero length A divide error oops was observed in simple_io(): usbtest 1-1:1.0: TEST 3: write/1 0..0 bytes 16307 times Oops: divide error: 0000 [#1] SMP KASAN RIP: 0010:simple_io+0x2c4/0x540 drivers/usb/misc/usbtest.c:497 The variable-length tests (test 3 and test 4) compute the next URB size with "len %= max", where max is the original urb->transfer_buffer_length. However, when a zero-length transfer is requested (param->length == 0), simple_alloc_urb() still returns a valid URB with transfer_buffer_length set to 0. On the first vary update, "len %= max" divides by zero and the kernel oopses. Commit 564e69893c63 ("USB: usbtest: prevent a divide by zero bug") added the equivalent zero check to alloc_sglist(), which covers the scatterlist tests (test 7/8), but the single-URB variable-length path in simple_io() was left unprotected. Fix this by returning -EINVAL early from simple_io() when vary is requested but max is zero, so the divide by zero never occurs. Zero-length transfers without vary remain valid for the other callers of simple_io().
References
- nvd.nist.gov/vuln/detail/CVE-2026-142990 (opens in a new tab)
- git.kernel.org/stable/c/14acfeda31204c8e22d75707e543a21ec2a0573b (opens in a new tab)
- git.kernel.org/stable/c/2468252d9190ebbf2da8d81b0132d7f2a67d86ec (opens in a new tab)
- git.kernel.org/stable/c/2d0874ec58968a3116caf4b6187640ae06a74819 (opens in a new tab)
- git.kernel.org/stable/c/ae987e804d8c18679b117fd55dd55a5c88b195b5 (opens in a new tab)
- git.kernel.org/stable/c/e86108348f12dcd64d2cdaa8f59ea5f696d6f4a3 (opens in a new tab)
- git.kernel.org/stable/c/fdaca138694111153f96c7d76877734b9dbf0e01 (opens in a new tab)