{"id":"CVE-2025-37941","published":"2025-05-20T15:58:18Z","modified":"2026-05-11T21:18:05Z","title":"ASoC: codecs: wcd937x: fix a potential memory leak in wcd937x_soc_codec_probe()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: codecs: wcd937x: fix a potential memory leak in wcd937x_soc_codec_probe()\n\nWhen snd_soc_dapm_new_controls() or snd_soc_dapm_add_routes() fails,\nwcd937x_soc_codec_probe() returns without releasing 'wcd937x->clsh_info',\nwhich is allocated by wcd_clsh_ctrl_alloc. Add wcd_clsh_ctrl_free()\nto prevent potential memory leak.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00201,"percentile":0.09921,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/acadb2e2b3c5b9977a843a3a94fece9bdcf6aea1","tags":[]},{"url":"https://git.kernel.org/stable/c/b573e04116fd33b9143fa276bbab2f0afad0a1ae","tags":[]},{"url":"https://git.kernel.org/stable/c/aafb5325aca3e806b3ea3707402189263473d257","tags":[]},{"url":"https://git.kernel.org/stable/c/3e330acf4efd63876d673c046cd073a1d4ed57a8","tags":[]}],"priority":{"score":2.0,"factors":[{"name":"EPSS percentile","points":1.98}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 313e978df7fc38b9e949ac5933d0d9d56d5e8a9c, < acadb2e2b3c5b9977a843a3a94fece9bdcf6aea1",">= 313e978df7fc38b9e949ac5933d0d9d56d5e8a9c, < b573e04116fd33b9143fa276bbab2f0afad0a1ae",">= 313e978df7fc38b9e949ac5933d0d9d56d5e8a9c, < aafb5325aca3e806b3ea3707402189263473d257",">= 313e978df7fc38b9e949ac5933d0d9d56d5e8a9c, < 3e330acf4efd63876d673c046cd073a1d4ed57a8"]},{"vendor":"Linux","product":"Linux","versions":["6.11"]}],"euvd":{"id":"EUVD-2025-15843","exploited":false,"provenance":"source"}}