5.5medium
net: usb: pegasus: enable basic endpoint checking
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.12% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net: usb: pegasus: enable basic endpoint checking pegasus_probe() fills URBs with hardcoded endpoint pipes without verifying the endpoint descriptors: - usb_rcvbulkpipe(dev, 1) for RX data - usb_sndbulkpipe(dev, 2) for TX data - usb_rcvintpipe(dev, 3) for status interrupts A malformed USB device can present these endpoints with transfer types that differ from what the driver assumes. Add a pegasus_usb_ep enum for endpoint numbers, replacing magic constants throughout. Add usb_check_bulk_endpoints() and usb_check_int_endpoints() calls before any resource allocation to verify endpoint types before use, rejecting devices with mismatched descriptors at probe time, and avoid triggering assertion. Similar fix to - commit 90b7f2961798 ("net: usb: rtl8150: enable basic endpoint checking") - commit 9e7021d2aeae ("net: usb: catc: enable basic endpoint checking")
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a3e64e950a3981a8199de9798f6d21261b959171, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 229dc9b9db475ac900182bafe258943e0e054c6d, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 26b3ec62fa1a94ac801feca47f040fc729b3c174, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 35854ed5c40b02f95824e44398f9d2ba33727203, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 67ba6b13dbcaf45681fb6758794c5ac5fa589a6c, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d2e7c898cc02dfe42443489a67a45ed616cb76e9, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2705709f6574a088aab246af72fc95f2fea51484, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3d7e6ce34f4fcc7083510c28b17a7c36462a25d4 and 1 more Not affected: before 2.6.12, from 5.10.252 up to 5.10.*, from 5.15.202 up to 5.15.*, from 6.1.165 up to 6.1.*, from 6.6.128 up to 6.6.*, from 6.12.75 up to 6.12.* | CVE List |
| linux linux_kernel | from 2.6.12.1 before 5.10.252, from 5.11 before 5.15.202, from 5.16 before 6.1.165, from 6.2 before 6.6.128, from 6.7 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6, 2.6.12 and 1 more | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: net: usb: pegasus: enable basic endpoint checking pegasus_probe() fills URBs with hardcoded endpoint pipes without verifying the endpoint descriptors: - usb_rcvbulkpipe(dev, 1) for RX data - usb_sndbulkpipe(dev, 2) for TX data - usb_rcvintpipe(dev, 3) for status interrupts A malformed USB device can present these endpoints with transfer types that differ from what the driver assumes. Add a pegasus_usb_ep enum for endpoint numbers, replacing magic constants throughout. Add usb_check_bulk_endpoints() and usb_check_int_endpoints() calls before any resource allocation to verify endpoint types before use, rejecting devices with mismatched descriptors at probe time, and avoid triggering assertion. Similar fix to - commit 90b7f2961798 ("net: usb: rtl8150: enable basic endpoint checking") - commit 9e7021d2aeae ("net: usb: catc: enable basic endpoint checking")
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: usb: pegasus: habilitar la comprobación básica de puntos finales pegasus_probe() llena URBs con tuberías de punto final codificadas sin verificar los descriptores de punto final: - usb_rcvbulkpipe(dev, 1) para datos RX - usb_sndbulkpipe(dev, 2) para datos TX - usb_rcvintpipe(dev, 3) para interrupciones de estado Un dispositivo USB malformado puede presentar estos puntos finales con tipos de transferencia que difieren de lo que el controlador asume. Añadir una enumeración pegasus_usb_ep para números de punto final, reemplazando constantes mágicas en todo el código. Añadir llamadas a usb_check_bulk_endpoints() y usb_check_int_endpoints() antes de cualquier asignación de recursos para verificar los tipos de punto final antes de su uso, rechazando dispositivos con descriptores no coincidentes en el momento de la sonda, y evitar activar una aserción. Solución similar a - commit 90b7f2961798 (’net: usb: rtl8150: habilitar la comprobación básica de puntos finales’) - commit 9e7021d2aeae (’net: usb: catc: habilitar la comprobación básica de puntos finales’)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43156 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-43156 changed 2026-11-11 | Public domain |