{"cve":"CVE-2022-50876","nvd":{"published":"2025-12-30T13:16:02.610","modified":"2026-06-17T05:24:20.200","status":"Deferred","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: musb: Fix musb_gadget.c rxstate overflow bug\n\nThe usb function device call musb_gadget_queue() adds the passed\nrequest to musb_ep::req_list,If the (request->length > musb_ep->packet_sz)\nand (is_buffer_mapped(req) return false),the rxstate() will copy all data\nin fifo to request->buf which may cause request->buf out of bounds.\n\nFix it by add the length check :\nfifocnt = min_t(unsigned, request->length - request->actual, fifocnt);","cvss_v4":null,"cvss_v3":null,"cwes":[],"references":["https://git.kernel.org/stable/c/3c84c7f592c4ba38f54ddaddd0115acc443025db","https://git.kernel.org/stable/c/523313881f0aa5cbbdb548ce575b6e58b202bd76","https://git.kernel.org/stable/c/7c80f3a918ba9aa26fb699ee887064ec3af0396a","https://git.kernel.org/stable/c/826f84ab04a5cafe484ea9c2c85a3930068e5cb7","https://git.kernel.org/stable/c/a1008c8b9f357691ce6a8fdb8f157aecb2d79167"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:18:08.089039631+00:00"},"epss":{"cve":"CVE-2022-50876","score":0.00233,"percentile":0.14204,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}