{"id":"CVE-2022-50544","aliases":["CVE-2022-50544"],"related":[],"kind":"vulnerability","state":"published","title":"usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()\n\nxhci_alloc_stream_info() allocates stream context array for stream_info\n->stream_ctx_array with xhci_alloc_stream_ctx(). When some error occurs,\nstream_info->stream_ctx_array is not released, which will lead to a\nmemory leak.\n\nWe can fix it by releasing the stream_info->stream_ctx_array with\nxhci_free_stream_ctx() on the error path to avoid the potential memory\nleak.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()\n\nxhci_alloc_stream_info() allocates stream context array for stream_info\n->stream_ctx_array with xhci_alloc_stream_ctx(). When some error occurs,\nstream_info->stream_ctx_array is not released, which will lead to a\nmemory leak.\n\nWe can fix it by releasing the stream_info->stream_ctx_array with\nxhci_free_stream_ctx() on the error path to avoid the potential memory\nleak.","source":"cvelist"}],"published":"2025-10-07T15:21:08.629Z","modified":"2026-11-05T21:17:04.773Z","severity":{"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"},"severities":[{"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":"8df75f42f8e67e2851cdcf6da91640fb881defd1","fixed":"7fc6bab3413e6a42bb1264ff7c9149808c93a4c7","status":"affected"},{"type":"git","introduced":"8df75f42f8e67e2851cdcf6da91640fb881defd1","fixed":"e702de2f5c893bf2cdb0152191f99a6ad1411823","status":"affected"},{"type":"git","introduced":"8df75f42f8e67e2851cdcf6da91640fb881defd1","fixed":"ddab9fe76296840aad686c66888a9c1dfdbff5ff","status":"affected"},{"type":"git","introduced":"8df75f42f8e67e2851cdcf6da91640fb881defd1","fixed":"9fa81cbd2dd300aa8fe9bac70e068b9a11cbb144","status":"affected"},{"type":"git","introduced":"8df75f42f8e67e2851cdcf6da91640fb881defd1","fixed":"91271a3e772e180bbb8afb114c72fd294a02f93d","status":"affected"},{"type":"git","introduced":"8df75f42f8e67e2851cdcf6da91640fb881defd1","fixed":"fcd594da0b5955119d9707e4e0a8d0fb1c969101","status":"affected"},{"type":"git","introduced":"8df75f42f8e67e2851cdcf6da91640fb881defd1","fixed":"a40ad475236022f3432880e3091c380e46e71a71","status":"affected"},{"type":"git","introduced":"8df75f42f8e67e2851cdcf6da91640fb881defd1","fixed":"782c873f8e7686f5b3c47e8b099f7e08c3dd1fdc","status":"affected"},{"type":"git","introduced":"8df75f42f8e67e2851cdcf6da91640fb881defd1","fixed":"7e271f42a5cc3768cd2622b929ba66859ae21f97","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.35","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.35","status":"unaffected"},{"type":"semver","introduced":"4.9.331","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.296","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.262","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.220","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.150","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","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":"2.6.35","fixed":"4.9.331"},{"status":"affected","introduced":"4.10","fixed":"4.14.296"},{"status":"affected","introduced":"4.15","fixed":"4.19.262"},{"status":"affected","introduced":"4.20","fixed":"5.4.220"},{"status":"affected","introduced":"5.5","fixed":"5.10.150"},{"status":"affected","introduced":"5.11","fixed":"5.15.75"},{"status":"affected","introduced":"5.16","fixed":"5.19.17"},{"status":"affected","introduced":"6.0","fixed":"6.0.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7fc6bab3413e6a42bb1264ff7c9149808c93a4c7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e702de2f5c893bf2cdb0152191f99a6ad1411823","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ddab9fe76296840aad686c66888a9c1dfdbff5ff","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9fa81cbd2dd300aa8fe9bac70e068b9a11cbb144","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/91271a3e772e180bbb8afb114c72fd294a02f93d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fcd594da0b5955119d9707e4e0a8d0fb1c969101","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a40ad475236022f3432880e3091c380e46e71a71","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/782c873f8e7686f5b3c47e8b099f7e08c3dd1fdc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7e271f42a5cc3768cd2622b929ba66859ae21f97","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:13:30.334Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50544","url":"https://www.cve.org/CVERecord?id=CVE-2022-50544","licence":"CVE Terms of Use","modified":"2026-11-05T20:20:51.839Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50544","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50544","licence":"Public domain","modified":"2026-11-05T21:17:04.773Z"}],"updatedAt":"2026-11-25T22:58:21.265Z","epss":{"score":0.00165,"percentile":0.0601,"date":"2026-12-01T12:00:22.000Z"}}