CVE-2022-50876

Not scored yetLast modified Jun 17, 2026

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

No CVSS score has been published yet.

Affected software

VendorProductVersions
LinuxLinux>= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < 826f84ab04a5cafe484ea9c2c85a3930068e5cb7; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < a1008c8b9f357691ce6a8fdb8f157aecb2d79167; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < 7c80f3a918ba9aa26fb699ee887064ec3af0396a; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < d6afcab1b48f4051211c50145b9e91be3b1b42c9; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < acf0006f2b2b2ca672988875fd154429aafb2a9b; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < 3c84c7f592c4ba38f54ddaddd0115acc443025db; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < a9ccd2ab1becf5dcb6d57e9fcd981f5eaa606c96; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < 523313881f0aa5cbbdb548ce575b6e58b202bd76; >= 03840fad004ce8a56bc8b3bb60a2df10f6f9481e, < eea4c860c3b366369eff0489d94ee4f0571d467d
LinuxLinux4.3

References

Timeline

Published
Dec 30, 2025
Last modified
Jun 17, 2026
NVD status
Deferred

Related CVEs from 2022

CVE-2022-50877In the Linux kernel, the following vulnerability has been resolved: net: broadcom: bcm4908_enet: update TX stats after actual transmission CVE-2022-50878In the Linux kernel, the following vulnerability has been resolved: gpu: lontium-lt9611: Fix NULL pointer dereference in lt9611_connector_iCVE-2022-50879In the Linux kernel, the following vulnerability has been resolved: objtool: Fix SEGFAULT find_insn() will return NULL in case of failure.CVE-2022-508808.8In the Linux kernel, the following vulnerability has been resolved: wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_stateCVE-2022-50881In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect() This patCVE-2022-50882In the Linux kernel, the following vulnerability has been resolved: media: uvcvideo: Fix memory leak in uvc_gpio_parse Previously the unitCVE-2022-50883In the Linux kernel, the following vulnerability has been resolved: bpf: Prevent decl_tag from being referenced in func_proto arg SyzkalleCVE-2022-50884In the Linux kernel, the following vulnerability has been resolved: drm: Prevent drm_copy_field() to attempt copying a NULL pointer There CVE-2022-508857.5In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create CVE-2022-50886In the Linux kernel, the following vulnerability has been resolved: mmc: toshsd: fix return value check of mmc_add_host() mmc_add_host() mCVE-2022-50887In the Linux kernel, the following vulnerability has been resolved: regulator: core: fix unbalanced of node refcount in regulator_dev_lookuCVE-2022-50888In the Linux kernel, the following vulnerability has been resolved: remoteproc: qcom: q6v5: Fix potential null-ptr-deref in q6v5_wcss_init_
CVE-2022-50876: Unscored | Vulnix