{"id":"CVE-2025-37941","summary":"ASoC: codecs: wcd937x: fix a potential memory leak in wcd937x_soc_codec_probe()","details":"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-\u003eclsh_info',\nwhich is allocated by wcd_clsh_ctrl_alloc. Add wcd_clsh_ctrl_free()\nto prevent potential memory leak.","modified":"2026-05-07T04:16:49.298954Z","published":"2025-05-20T15:58:18.275Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37941.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3e330acf4efd63876d673c046cd073a1d4ed57a8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aafb5325aca3e806b3ea3707402189263473d257"},{"type":"WEB","url":"https://git.kernel.org/stable/c/acadb2e2b3c5b9977a843a3a94fece9bdcf6aea1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b573e04116fd33b9143fa276bbab2f0afad0a1ae"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37941.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37941"},{"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":"313e978df7fc38b9e949ac5933d0d9d56d5e8a9c"},{"fixed":"acadb2e2b3c5b9977a843a3a94fece9bdcf6aea1"},{"fixed":"b573e04116fd33b9143fa276bbab2f0afad0a1ae"},{"fixed":"aafb5325aca3e806b3ea3707402189263473d257"},{"fixed":"3e330acf4efd63876d673c046cd073a1d4ed57a8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37941.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.12.24"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.13.12"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.14.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37941.json"}}],"schema_version":"1.7.5"}