{"id":"CVE-2022-50484","summary":"ALSA: usb-audio: Fix potential memory leaks","details":"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-\u003enurbs is still zero at that point.\n\nFix it by setting ep-\u003enurbs at first, so that the error handler loops\nover the full URB list.","modified":"2026-04-02T08:28:33.104468Z","published":"2025-10-04T15:16:42.385Z","related":["SUSE-SU-2025:4111-1","SUSE-SU-2025:4135-1","SUSE-SU-2025:4139-1","SUSE-SU-2025:4149-1","SUSE-SU-2025:4188-1","SUSE-SU-2025:4320-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50484.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0604e5e5537af099ea2f6dfd892afe5c92db8a80"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0672215994e2347a9b4f145e2bc1709b1e01cee3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/28d8d267af5d73f91d7640cbdb4024703256e36c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/46f0aed47673e275d682af60ed26dcc28add8eae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6382da0828995af87aa8b8bef28cc61aceb4aff3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/988ec0cd0a2643c25c1658f7c33de2e15a5a2e31"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bc1d16d282bca421c6fc31de4b8fd412010f01bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e4442410f76d66b9f7e854010bce04853f665324"},{"type":"WEB","url":"https://git.kernel.org/stable/c/faa8c1ed77d0169955b9b3516b714cc5fb512f27"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50484.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50484"},{"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":"8fdff6a319e7dac757c558bd283dc4577e68cde7"},{"fixed":"0604e5e5537af099ea2f6dfd892afe5c92db8a80"},{"fixed":"28d8d267af5d73f91d7640cbdb4024703256e36c"},{"fixed":"46f0aed47673e275d682af60ed26dcc28add8eae"},{"fixed":"988ec0cd0a2643c25c1658f7c33de2e15a5a2e31"},{"fixed":"bc1d16d282bca421c6fc31de4b8fd412010f01bd"},{"fixed":"0672215994e2347a9b4f145e2bc1709b1e01cee3"},{"fixed":"faa8c1ed77d0169955b9b3516b714cc5fb512f27"},{"fixed":"e4442410f76d66b9f7e854010bce04853f665324"},{"fixed":"6382da0828995af87aa8b8bef28cc61aceb4aff3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50484.json"}}],"schema_version":"1.7.5"}