{"id":"CVE-2022-50484","aliases":["CVE-2022-50484"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: usb-audio: Fix potential memory leaks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: Fix potential memory leaks\n\nWhen the driver hits -ENOMEM at allocating a URB or a buffer, it\naborts and goes to the error path that releases the all previously\nallocated resources.  However, when -ENOMEM hits at the middle of the\nsync EP URB allocation loop, the partially allocated URBs might be\nleft without released, because ep->nurbs is still zero at that point.\n\nFix it by setting ep->nurbs at first, so that the error handler loops\nover the full URB list.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: Fix potential memory leaks\n\nWhen the driver hits -ENOMEM at allocating a URB or a buffer, it\naborts and goes to the error path that releases the all previously\nallocated resources.  However, when -ENOMEM hits at the middle of the\nsync EP URB allocation loop, the partially allocated URBs might be\nleft without released, because ep->nurbs is still zero at that point.\n\nFix it by setting ep->nurbs at first, so that the error handler loops\nover the full URB list.","source":"cvelist"}],"published":"2025-10-04T15:16:42.385Z","modified":"2026-06-17T05:23:38.840Z","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":"8fdff6a319e7dac757c558bd283dc4577e68cde7","fixed":"0604e5e5537af099ea2f6dfd892afe5c92db8a80","status":"affected"},{"type":"git","introduced":"8fdff6a319e7dac757c558bd283dc4577e68cde7","fixed":"28d8d267af5d73f91d7640cbdb4024703256e36c","status":"affected"},{"type":"git","introduced":"8fdff6a319e7dac757c558bd283dc4577e68cde7","fixed":"46f0aed47673e275d682af60ed26dcc28add8eae","status":"affected"},{"type":"git","introduced":"8fdff6a319e7dac757c558bd283dc4577e68cde7","fixed":"988ec0cd0a2643c25c1658f7c33de2e15a5a2e31","status":"affected"},{"type":"git","introduced":"8fdff6a319e7dac757c558bd283dc4577e68cde7","fixed":"bc1d16d282bca421c6fc31de4b8fd412010f01bd","status":"affected"},{"type":"git","introduced":"8fdff6a319e7dac757c558bd283dc4577e68cde7","fixed":"0672215994e2347a9b4f145e2bc1709b1e01cee3","status":"affected"},{"type":"git","introduced":"8fdff6a319e7dac757c558bd283dc4577e68cde7","fixed":"faa8c1ed77d0169955b9b3516b714cc5fb512f27","status":"affected"},{"type":"git","introduced":"8fdff6a319e7dac757c558bd283dc4577e68cde7","fixed":"e4442410f76d66b9f7e854010bce04853f665324","status":"affected"},{"type":"git","introduced":"8fdff6a319e7dac757c558bd283dc4577e68cde7","fixed":"6382da0828995af87aa8b8bef28cc61aceb4aff3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.5","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":"3.5","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/0604e5e5537af099ea2f6dfd892afe5c92db8a80","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/28d8d267af5d73f91d7640cbdb4024703256e36c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46f0aed47673e275d682af60ed26dcc28add8eae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/988ec0cd0a2643c25c1658f7c33de2e15a5a2e31","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bc1d16d282bca421c6fc31de4b8fd412010f01bd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0672215994e2347a9b4f145e2bc1709b1e01cee3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/faa8c1ed77d0169955b9b3516b714cc5fb512f27","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e4442410f76d66b9f7e854010bce04853f665324","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6382da0828995af87aa8b8bef28cc61aceb4aff3","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50484","url":"https://www.cve.org/CVERecord?id=CVE-2022-50484","licence":"CVE Terms of Use","modified":"2026-05-11T19:20:23.113Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50484","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50484","licence":"Public domain","modified":"2026-06-17T05:23:38.840Z"}],"updatedAt":"2026-11-25T22:58:21.238Z","epss":{"score":0.00163,"percentile":0.05752,"date":"2026-12-01T12:00:22.000Z"}}