{"id":"CVE-2022-49713","aliases":["CVE-2022-49713"],"related":[],"kind":"vulnerability","state":"published","title":"usb: dwc2: Fix memory leak in dwc2_hcd_init","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: dwc2: Fix memory leak in dwc2_hcd_init\n\nusb_create_hcd will alloc memory for hcd, and we should\ncall usb_put_hcd to free it when platform_get_resource()\nfails to prevent memory leak.\ngoto error2 label instead error1 to fix this.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: dwc2: Fix memory leak in dwc2_hcd_init\n\nusb_create_hcd will alloc memory for hcd, and we should\ncall usb_put_hcd to free it when platform_get_resource()\nfails to prevent memory leak.\ngoto error2 label instead error1 to fix this.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: dwc2: Se corrige la pérdida de memoria en dwc2_hcd_init usb_create_hcd asignará memoria para hcd, y debemos llamar a usb_put_hcd para liberarla cuando platform_get_resource() no puede evitar la pérdida de memoria. Vaya a la etiqueta error2 en lugar de error1 para solucionar esto.","source":"nvd"}],"published":"2025-02-26T02:24:29.566Z","modified":"2026-06-17T05:18:56.463Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"4b7f4a0eb92bf37bea4cd838c7f83ea42823ca8b","fixed":"981ee40649e5fd9550f82db1fbb3bfab037da346","status":"affected"},{"type":"git","introduced":"a7182993dd8e09f96839ddc3ac54f9b37370d282","fixed":"84e6d0af87e27bbc0db94f2e7323b34abe17b6e5","status":"affected"},{"type":"git","introduced":"8b9c1c33e51d0959f2aec573dfbac0ffd3f5c0b7","fixed":"6506aff2dc2f7059aa3d45ee2e8639b25e87090f","status":"affected"},{"type":"git","introduced":"2754fa3b73df7d0ae042f3ed6cfd9df9042f6262","fixed":"a44a8a762f7fe9ad3c065813d058e835a6180cb2","status":"affected"},{"type":"git","introduced":"856e6e8e0f9300befa87dde09edb578555c99a82","fixed":"701d8ec01e0f229d4db6f43d3d64ee479120cbeb","status":"affected"},{"type":"git","introduced":"856e6e8e0f9300befa87dde09edb578555c99a82","fixed":"52bfcedbfd5bf962dbdcb6e761f4d0dd3ba26dfd","status":"affected"},{"type":"git","introduced":"856e6e8e0f9300befa87dde09edb578555c99a82","fixed":"3755278f078460b021cd0384562977bf2039a57a","status":"affected"},{"type":"git","version":"337f00a0bc62d7cb7d10ec0b872c79009a1641df","status":"affected"},{"type":"semver","introduced":"4.14.250","fixed":"4.14.285","status":"affected"},{"type":"semver","introduced":"4.19.210","fixed":"4.19.249","status":"affected"},{"type":"semver","introduced":"5.4.152","fixed":"5.4.200","status":"affected"},{"type":"semver","introduced":"5.10.72","fixed":"5.10.124","status":"affected"},{"type":"semver","introduced":"5.14.11","fixed":"5.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"4.14.285","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.249","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.200","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.124","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.49","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.6","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.14.250","fixed":"4.14.285"},{"status":"affected","introduced":"4.19.210","fixed":"4.19.249"},{"status":"affected","introduced":"5.4.152","fixed":"5.4.200"},{"status":"affected","introduced":"5.10.72","fixed":"5.10.124"},{"status":"affected","introduced":"5.14.11","fixed":"5.15.49"},{"status":"affected","introduced":"5.16","fixed":"5.18.6"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/981ee40649e5fd9550f82db1fbb3bfab037da346","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84e6d0af87e27bbc0db94f2e7323b34abe17b6e5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6506aff2dc2f7059aa3d45ee2e8639b25e87090f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a44a8a762f7fe9ad3c065813d058e835a6180cb2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/701d8ec01e0f229d4db6f43d3d64ee479120cbeb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/52bfcedbfd5bf962dbdcb6e761f4d0dd3ba26dfd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3755278f078460b021cd0384562977bf2039a57a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:32:22.966Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49713","url":"https://www.cve.org/CVERecord?id=CVE-2022-49713","licence":"CVE Terms of Use","modified":"2026-05-23T15:22:48.094Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49713","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49713","licence":"Public domain","modified":"2026-06-17T05:18:56.463Z"}],"updatedAt":"2026-11-25T22:58:20.820Z","epss":{"score":0.00285,"percentile":0.13704,"date":"2026-11-30T12:00:22.000Z"}}