{"id":"CVE-2025-37941","aliases":["CVE-2025-37941"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: codecs: wcd937x: fix a potential memory leak in wcd937x_soc_codec_probe()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: códecs: wcd937x: se corrige una posible pérdida de memoria en wcd937x_soc_codec_probe(). Cuando fallan snd_soc_dapm_new_controls() o snd_soc_dapm_add_routes(), wcd937x_soc_codec_probe() regresa sin liberar 'wcd937x-&gt;clsh_info', que está asignado por wcd_clsh_ctrl_alloc. Se ha añadido wcd_clsh_ctrl_free() para evitar posibles pérdidas de memoria.","source":"nvd"}],"published":"2025-05-20T15:58:18.275Z","modified":"2026-06-17T09:15:44.517Z","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":"313e978df7fc38b9e949ac5933d0d9d56d5e8a9c","fixed":"acadb2e2b3c5b9977a843a3a94fece9bdcf6aea1","status":"affected"},{"type":"git","introduced":"313e978df7fc38b9e949ac5933d0d9d56d5e8a9c","fixed":"b573e04116fd33b9143fa276bbab2f0afad0a1ae","status":"affected"},{"type":"git","introduced":"313e978df7fc38b9e949ac5933d0d9d56d5e8a9c","fixed":"aafb5325aca3e806b3ea3707402189263473d257","status":"affected"},{"type":"git","introduced":"313e978df7fc38b9e949ac5933d0d9d56d5e8a9c","fixed":"3e330acf4efd63876d673c046cd073a1d4ed57a8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.24","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.12","lastAffected":"6.13.*","status":"unaffected"},{"type":"semver","introduced":"6.14.3","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","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":"6.11","fixed":"6.12.24"},{"status":"affected","introduced":"6.13","fixed":"6.13.12"},{"status":"affected","introduced":"6.14","fixed":"6.14.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/acadb2e2b3c5b9977a843a3a94fece9bdcf6aea1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b573e04116fd33b9143fa276bbab2f0afad0a1ae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aafb5325aca3e806b3ea3707402189263473d257","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3e330acf4efd63876d673c046cd073a1d4ed57a8","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37941","url":"https://www.cve.org/CVERecord?id=CVE-2025-37941","licence":"CVE Terms of Use","modified":"2026-05-11T21:18:05.091Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37941","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37941","licence":"Public domain","modified":"2026-06-17T09:15:44.517Z"}],"updatedAt":"2026-11-25T22:58:58.298Z","epss":{"score":0.00201,"percentile":0.106,"date":"2026-12-01T12:00:22.000Z"}}