{"id":"DEBIAN-CVE-2022-50876","details":"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-\u003elength \u003e musb_ep-\u003epacket_sz) and (is_buffer_mapped(req) return false),the rxstate() will copy all data in fifo to request-\u003ebuf which may cause request-\u003ebuf out of bounds.  Fix it by add the length check : fifocnt = min_t(unsigned, request-\u003elength - request-\u003eactual, fifocnt);","modified":"2026-09-01T16:05:36.494825015Z","published":"2025-12-30T13:16:02.610Z","upstream":["CVE-2022-50876"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-50876"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50876.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50876.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50876.json"}}],"schema_version":"1.9.0"}