Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-50876— usb: musb: Fix musb_gadget.c rxstate overflow bug

AI Predicted 6.5 Difficulty: Moderate EPSS 0.20% · P9

Possible ATT&CK Techniques 1AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 20

VendorProductVersion RangeStatus
LinuxLinux03840fad004ce8a56bc8b3bb60a2df10f6f9481e< 826f84ab04a5cafe484ea9c2c85a3930068e5cb7affected
03840fad004ce8a56bc8b3bb60a2df10f6f9481e< a1008c8b9f357691ce6a8fdb8f157aecb2d79167affected
03840fad004ce8a56bc8b3bb60a2df10f6f9481e< 7c80f3a918ba9aa26fb699ee887064ec3af0396aaffected
03840fad004ce8a56bc8b3bb60a2df10f6f9481e< d6afcab1b48f4051211c50145b9e91be3b1b42c9affected
03840fad004ce8a56bc8b3bb60a2df10f6f9481e< acf0006f2b2b2ca672988875fd154429aafb2a9baffected
03840fad004ce8a56bc8b3bb60a2df10f6f9481e< 3c84c7f592c4ba38f54ddaddd0115acc443025dbaffected
03840fad004ce8a56bc8b3bb60a2df10f6f9481e< a9ccd2ab1becf5dcb6d57e9fcd981f5eaa606c96affected
03840fad004ce8a56bc8b3bb60a2df10f6f9481e< 523313881f0aa5cbbdb548ce575b6e58b202bd76affected
… +12 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-50876

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
usb: musb: Fix musb_gadget.c rxstate overflow bug
Source: NVD (National Vulnerability Database)
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);
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于长度检查不足,可能导致缓冲区溢出。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 03840fad004ce8a56bc8b3bb60a2df10f6f9481e ~ 826f84ab04a5cafe484ea9c2c85a3930068e5cb7 -
LinuxLinux 4.3 -

II. Public POCs for CVE-2022-50876

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-50876

登录查看更多情报信息。

Other References for CVE-2022-50876 (9)

Same Patch Batch · Linux · 2025-12-30 · 244 CVEs total

CVE-2023-54266media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer()
CVE-2023-54250ksmbd: avoid out of bounds access in decode_preauth_ctxt()
CVE-2023-54249bus: mhi: ep: Only send -ENOTCONN status if client driver is available
CVE-2023-54251net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX.
CVE-2023-54253btrfs: set page extent mapped after read_folio in relocate_one_page
CVE-2023-54252platform/x86: think-lmi: Fix memory leaks when parsing ThinkStation WMI strings
CVE-2023-54254drm/ttm: Don't leak a resource on eviction error
CVE-2023-54255sh: dma: Fix DMA channel offset calculation
CVE-2023-54257net: macb: fix a memory corruption in extended buffer descriptor mode
CVE-2023-54258cifs: fix potential oops in cifs_oplock_break
CVE-2023-54259soundwire: bus: Fix unbalanced pm_runtime_put() causing usage count underflow
CVE-2023-54260cifs: Fix lost destroy smbd connection when MR allocate failed
CVE-2023-54261drm/amdkfd: Add missing gfx11 MQD manager callbacks
CVE-2023-54262net/mlx5e: Don't clone flow post action attributes second time
CVE-2023-54263drm/nouveau/kms/nv50-: init hpd_irq_lock for PIOR DP
CVE-2023-54264fs/sysv: Null check to prevent null-ptr-deref bug
CVE-2023-54274RDMA/srpt: Add a check for valid 'mad_agent' pointer
CVE-2023-54275wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup
CVE-2023-54276nfsd: move init of percpu reply_cache_stats counters back to nfsd_init_net
CVE-2023-54273xfrm: Fix leak of dev tracker

Showing top 20 of 244 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-50876

No comments yet


Leave a comment