{"id":"CVE-2022-49713","summary":"usb: dwc2: Fix memory leak in dwc2_hcd_init","details":"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.","modified":"2026-11-13T04:01:10.616904907Z","published":"2025-02-26T02:24:29.566Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1","SUSE-SU-2025:1293-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49713.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3755278f078460b021cd0384562977bf2039a57a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/52bfcedbfd5bf962dbdcb6e761f4d0dd3ba26dfd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6506aff2dc2f7059aa3d45ee2e8639b25e87090f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/701d8ec01e0f229d4db6f43d3d64ee479120cbeb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/84e6d0af87e27bbc0db94f2e7323b34abe17b6e5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/981ee40649e5fd9550f82db1fbb3bfab037da346"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a44a8a762f7fe9ad3c065813d058e835a6180cb2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49713.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49713"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4b7f4a0eb92bf37bea4cd838c7f83ea42823ca8b"},{"fixed":"981ee40649e5fd9550f82db1fbb3bfab037da346"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a7182993dd8e09f96839ddc3ac54f9b37370d282"},{"fixed":"84e6d0af87e27bbc0db94f2e7323b34abe17b6e5"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8b9c1c33e51d0959f2aec573dfbac0ffd3f5c0b7"},{"fixed":"6506aff2dc2f7059aa3d45ee2e8639b25e87090f"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2754fa3b73df7d0ae042f3ed6cfd9df9042f6262"},{"fixed":"a44a8a762f7fe9ad3c065813d058e835a6180cb2"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"856e6e8e0f9300befa87dde09edb578555c99a82"},{"fixed":"701d8ec01e0f229d4db6f43d3d64ee479120cbeb"},{"fixed":"52bfcedbfd5bf962dbdcb6e761f4d0dd3ba26dfd"},{"fixed":"3755278f078460b021cd0384562977bf2039a57a"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"337f00a0bc62d7cb7d10ec0b872c79009a1641df"}]}],"versions":["v4.14.284","v4.14.283","v4.14.282","v4.14.281","v4.14.280","v4.14.279","v4.14.278","v4.14.277","v4.14.276","v4.14.275","v4.14.274","v4.14.273","v4.14.272","v4.14.271","v4.14.270","v4.14.269","v4.14.268","v4.14.267","v4.14.266","v4.14.265","v4.14.264","v4.14.263","v4.14.262","v4.14.261","v4.14.260","v4.14.259","v4.14.258","v4.14.257","v4.14.256","v4.14.255","v4.14.254","v4.14.253","v4.14.252","v4.14.251","v4.14.250","v4.19.248","v4.19.247","v4.19.246","v4.19.245","v4.19.244","v4.19.243","v4.19.242","v4.19.241","v4.19.240","v4.19.239","v4.19.238","v4.19.237","v4.19.236","v4.19.235","v4.19.234","v4.19.233","v4.19.232","v4.19.231","v4.19.230","v4.19.229","v4.19.228","v4.19.227","v4.19.226","v4.19.225","v4.19.224","v4.19.223","v4.19.222","v4.19.221","v4.19.220","v4.19.219","v4.19.218","v4.19.217","v4.19.216","v4.19.215","v4.19.214","v4.19.213","v4.19.212","v4.19.211","v4.19.210","v5.4.199","v5.4.198","v5.4.197","v5.4.196","v5.4.195","v5.4.194","v5.4.193","v5.4.192","v5.4.191","v5.4.190","v5.4.189","v5.4.188","v5.4.187","v5.4.186","v5.4.185","v5.4.184","v5.4.183","v5.4.182","v5.4.181","v5.4.180","v5.4.179","v5.4.178","v5.4.177","v5.4.176","v5.4.175","v5.4.174","v5.4.173","v5.4.172","v5.4.171","v5.4.170","v5.4.169","v5.4.168","v5.4.167","v5.4.166","v5.4.165","v5.4.164","v5.4.163","v5.4.162","v5.4.161","v5.4.160","v5.4.159","v5.4.158","v5.4.157","v5.4.156","v5.4.155","v5.4.154","v5.4.153","v5.4.152","v5.10.123","v5.10.122","v5.10.121","v5.10.120","v5.10.119","v5.10.118","v5.10.117","v5.10.116","v5.10.115","v5.10.114","v5.10.113","v5.10.112","v5.10.111","v5.10.110","v5.10.109","v5.10.108","v5.10.107","v5.10.106","v5.10.105","v5.10.104","v5.10.103","v5.10.102","v5.10.101","v5.10.100","v5.10.99","v5.10.98","v5.10.97","v5.10.96","v5.10.95","v5.10.94","v5.10.93","v5.10.92","v5.10.91","v5.10.90","v5.10.89","v5.10.88","v5.10.87","v5.10.86","v5.10.85","v5.10.84","v5.10.83","v5.10.82","v5.10.81","v5.10.80","v5.10.79","v5.10.78","v5.10.77","v5.10.76","v5.10.75","v5.10.74","v5.10.73","v5.10.72","v5.14.21","v5.14.20","v5.14.19","v5.14.18","v5.14.17","v5.14.16","v5.14.15","v5.14.14","v5.14.13","v5.14.12","v5.14.11"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49713.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.14.250"},{"fixed":"4.14.285"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.19.210"},{"fixed":"4.19.249"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.4.152"},{"fixed":"5.4.200"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.10.72"},{"fixed":"5.10.124"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.14.11"},{"fixed":"5.15"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.49"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.18.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49713.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}