We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-37941

ASoC: codecs: wcd937x: fix a potential memory leak in wcd937x_soc_codec_probe()



Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: wcd937x: fix a potential memory leak in wcd937x_soc_codec_probe() When snd_soc_dapm_new_controls() or snd_soc_dapm_add_routes() fails, wcd937x_soc_codec_probe() returns without releasing 'wcd937x->clsh_info', which is allocated by wcd_clsh_ctrl_alloc. Add wcd_clsh_ctrl_free() to prevent potential memory leak.

Reserved 2025-04-16 | Published 2025-05-20 | Updated 2025-05-26 | Assigner Linux

Product status

Default status
unaffected

313e978df7fc38b9e949ac5933d0d9d56d5e8a9c before acadb2e2b3c5b9977a843a3a94fece9bdcf6aea1
affected

313e978df7fc38b9e949ac5933d0d9d56d5e8a9c before b573e04116fd33b9143fa276bbab2f0afad0a1ae
affected

313e978df7fc38b9e949ac5933d0d9d56d5e8a9c before aafb5325aca3e806b3ea3707402189263473d257
affected

313e978df7fc38b9e949ac5933d0d9d56d5e8a9c before 3e330acf4efd63876d673c046cd073a1d4ed57a8
affected

Default status
affected

6.11
affected

Any version before 6.11
unaffected

6.12.24
unaffected

6.13.12
unaffected

6.14.3
unaffected

6.15
unaffected

References

git.kernel.org/...c/acadb2e2b3c5b9977a843a3a94fece9bdcf6aea1

git.kernel.org/...c/b573e04116fd33b9143fa276bbab2f0afad0a1ae

git.kernel.org/...c/aafb5325aca3e806b3ea3707402189263473d257

git.kernel.org/...c/3e330acf4efd63876d673c046cd073a1d4ed57a8

cve.org (CVE-2025-37941)

nvd.nist.gov (CVE-2025-37941)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-37941

Support options

Helpdesk Chat, Email, Knowledgebase