usb: dwc2: Fix memory leak in dwc2_hcd_init
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-401.
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: dwc2: Fix memory leak in dwc2_hcd_init usb_create_hcd will alloc memory for hcd, and we should call usb_put_hcd to free it when platform_get_resource() fails to prevent memory leak. goto error2 label instead error1 to fix this.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.14.250 to before 4.14.285; 4.19.210 to before 4.19.249; 5.4.152 to before 5.4.200; 5.10.72 to before 5.10.124; 5.14.11 to before 5.15 | 4.14.285, 4.19.249, 5.4.200, 5.10.124, 5.15 | Patch available | CNA |
| Linux | Linux | 5.15 and later | 4.14.285, 4.19.249, 5.4.200, 5.10.124, 5.15.49, 5.18.6, 5.19 | Patch available | CNA |
- Linux VendorLinux Affected 4.14.250 to before 4.14.285; 4.19.210 to before 4.19.249; 5.4.152 to before 5.4.200; 5.10.72 to before 5.10.124; 5.14.11 to before 5.15 Fixed in 4.14.285, 4.19.249, 5.4.200, 5.10.124, 5.15 Patch available CNA
- Linux VendorLinux Affected 5.15 and later Fixed in 4.14.285, 4.19.249, 5.4.200, 5.10.124, 5.15.49, 5.18.6, 5.19 Patch available CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.14.250 to before 4.14.285; 4.19.210 to before 4.19.249; 5.4.152 to before 5.4.200; 5.10.72 to before 5.10.124; 5.14.11 to before 5.15.49; 5.16 to before 5.18.6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:* | 5.19 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.19:rc2:*:*:*:*:*:* | 5.19 rc2 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.14.250 to before 4.14.285; 4.19.210 to before 4.19.249; 5.4.152 to before 5.4.200; 5.10.72 to before 5.10.124; 5.14.11 to before 5.15.49; 5.16 to before 5.18.6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:* Versions 5.19 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.19:rc2:*:*:*:*:*:* Versions 5.19 rc2 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.14.285, 4.19.249, 5.4.200, 5.10.124, 5.15
- Fix · CNA Linux (Linux) Fixed in 4.14.285, 4.19.249, 5.4.200, 5.10.124, 5.15.49, 5.18.6, 5.19
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2022-49713
- 2026-10-03 Alias added: GHSA-f3rv-hpw2-w8hv
References
Patch 7
- https://git.kernel.org/stable/c/981ee40649e5fd9550f82db1fbb3bfab037da346
- https://git.kernel.org/stable/c/84e6d0af87e27bbc0db94f2e7323b34abe17b6e5
- https://git.kernel.org/stable/c/6506aff2dc2f7059aa3d45ee2e8639b25e87090f
- https://git.kernel.org/stable/c/a44a8a762f7fe9ad3c065813d058e835a6180cb2
- https://git.kernel.org/stable/c/701d8ec01e0f229d4db6f43d3d64ee479120cbeb
- https://git.kernel.org/stable/c/52bfcedbfd5bf962dbdcb6e761f4d0dd3ba26dfd
- https://git.kernel.org/stable/c/3755278f078460b021cd0384562977bf2039a57a
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2022-49713 · CVE Program
- CVE-2022-49713 · NVD
- FIRST EPSS
- GHSA-f3rv-hpw2-w8hv · GitHub Advisory Database · CC BY 4.0
- CVE-2022-49713 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences