net: usb: pegasus: enable basic endpoint checking
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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")
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
2.6.12
References 8
git.kernel.org
- stable/c/a3e64e950a3981a8199de9798f6d21261b959171
- stable/c/229dc9b9db475ac900182bafe258943e0e054c6d
- stable/c/26b3ec62fa1a94ac801feca47f040fc729b3c174
- stable/c/35854ed5c40b02f95824e44398f9d2ba33727203
- stable/c/67ba6b13dbcaf45681fb6758794c5ac5fa589a6c
- stable/c/d2e7c898cc02dfe42443489a67a45ed616cb76e9
- stable/c/2705709f6574a088aab246af72fc95f2fea51484
- stable/c/3d7e6ce34f4fcc7083510c28b17a7c36462a25d4