CVE-2022-50876
Last modified
CVE-2022-50876 is a vulnerability of currently unknown severity. 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);. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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);
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < 826f84ab04a5cafe484ea9c2c85a3930068e5cb7; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < a1008c8b9f357691ce6a8fdb8f157aecb2d79167; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < 7c80f3a918ba9aa26fb699ee887064ec3af0396a; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < d6afcab1b48f4051211c50145b9e91be3b1b42c9; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < acf0006f2b2b2ca672988875fd154429aafb2a9b; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < 3c84c7f592c4ba38f54ddaddd0115acc443025db; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < a9ccd2ab1becf5dcb6d57e9fcd981f5eaa606c96; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < 523313881f0aa5cbbdb548ce575b6e58b202bd76; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < eea4c860c3b366369eff0489d94ee4f0571d467d |
| Linux | Linux | 4.3 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2022-50876?
How severe is CVE-2022-50876?
How do I fix CVE-2022-50876?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-50870In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50871In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50872In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50873In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50874In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50875In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50877In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50878In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50879In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50880In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2022-50881In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50882In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2022-50876?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
