NONE · 0

CVE-2022-50876

In the Linux kernel, the following vulnerability has been resolved: usb: musb: Fix musb_gadget.c rxstate overflow bug The usb function device call musb_gadget_queue() adds the passed request to musb...

Vulnerability Description

In the Linux kernel, the following vulnerability has been resolved: usb: musb: Fix musb_gadget.c rxstate overflow bug The usb function device call musb_gadget_queue() adds the passed request to musb_ep::req_list,If the (request->length > musb_ep->packet_sz) and (is_buffer_mapped(req) return false),the rxstate() will copy all data in fifo to request->buf which may cause request->buf out of bounds. Fix it by add the length check : fifocnt = min_t(unsigned, request->length - request->actual, fifocnt);

References

FAQ

What is CVE-2022-50876?

CVE-2022-50876 is a documented vulnerability. In the Linux kernel, the following vulnerability has been resolved: usb: musb: Fix musb_gadget.c rxstate overflow bug The usb function device call musb_gadget_queue() adds the passed request to musb...

How severe is CVE-2022-50876?

CVSS scoring is not yet available for CVE-2022-50876. Check NVD for updates.

Is there a patch for CVE-2022-50876?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.