CVE-2022-49151
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49151 affects the Linux kernel's mcbausb driver, specifically related to improper endpoint type checking. The vulnerability was discovered when Syzbot reported a warning in usbsubmit_urb() caused by incorrect endpoint type handling (Kernel Git).

Technical details

The vulnerability exists in the mcbausb driver where endpoint types were not properly checked before USB operations. The issue manifests when the driver attempts to use incorrect endpoint types, triggering a warning in usbsubmiturb() with the message 'BOGUS urb xfer, pipe 3 != type 1'. The bug occurs during the USB device probing process, specifically in the mcbausb_probe function (Kernel Git).

Impact

When triggered, the vulnerability can cause kernel warnings and potential system instability. The issue affects systems using the Microchip CAN BUS Analyzer with the mcba_usb driver (Kernel Git).

Mitigation and workarounds

The issue has been fixed by implementing proper endpoint type checking in the mcbausb driver. The fix involves saving found pipes to struct mcbapriv and using them directly instead of making pipes in place. The patch also adds proper error handling for endpoint detection (Kernel Git).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management