7.1high
USB: serial: cypress_m8: validate interrupt packet headers
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: USB: serial: cypress_m8: validate interrupt packet headers cypress_read_int_callback() parses the interrupt-in buffer according to the selected Cypress packet format. Format 1 has a two-byte status/count header and format 2 has a one-byte combined status/count header. The usb-serial core sizes the interrupt-in buffer from the endpoint descriptor's wMaxPacketSize, and successful interrupt transfers can complete short when URB_SHORT_NOT_OK is not set. Check that the completed packet contains the selected header before reading it. Malformed short reports are ignored and the interrupt URB is resubmitted through the existing retry path, preventing out-of-bounds header-byte reads. KASAN report as below: KASAN slab-out-of-bounds in cypress_read_int_callback+0x240/0x7f0 Read of size 1 Call trace: cypress_read_int_callback() (drivers/usb/serial/cypress_m8.c:1009) __usb_hcd_giveback_urb() dummy_timer() [ johan: use constants in header length sanity checks ]
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 3416eaa1f8f8d516b77de514e14cf8da256d28fb before fcef31a5a85ccf3c313449a866ec6ed7e4132425, from 3416eaa1f8f8d516b77de514e14cf8da256d28fb before aaa66708bfb1dca2acd219d1c1582f9f6d5492cb, from 3416eaa1f8f8d516b77de514e14cf8da256d28fb before 44f9bab8df7750a1e2a4d6cc22d7c9c2dc096aed, from 3416eaa1f8f8d516b77de514e14cf8da256d28fb before be50533fe7068e86eb7adb81988e6d6a3f6dfe53, from 3416eaa1f8f8d516b77de514e14cf8da256d28fb before 90664556916de22467097d4c8ceb716d597a5c32, from 3416eaa1f8f8d516b77de514e14cf8da256d28fb before ae03453f2c809ca3cf73753269fa6184dea7160f, from 3416eaa1f8f8d516b77de514e14cf8da256d28fb before 4a4cb0021ebe1fcadb52e04d19ed8d71470a530b, from 3416eaa1f8f8d516b77de514e14cf8da256d28fb before 9f9bfc80c67f35a275820da7e83a35dface08281 and 1 more Not affected: before 2.6.26, from 5.10.259 up to 5.10.*, from 5.15.210 up to 5.15.*, from 6.1.176 up to 6.1.*, from 6.6.143 up to 6.6.*, from 6.12.93 up to 6.12.* | CVE List |
| linux linux_kernel | from 2.6.26 before 5.10.259, from 5.11 before 5.15.210, from 5.16 before 6.1.176, from 6.2 before 6.6.143, from 6.7 before 6.12.93, from 6.13 before 6.18.35, from 6.19 before 7.0.12, 7.1 | NVD |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-63902 changed 2026-07-19 | CVE Terms of Use |
| NVD | CVE-2026-63902 changed 2026-10-30 | Public domain |