VYPR
Medium severity5.5NVD Advisory· Published May 20, 2025· Updated Jun 17, 2026

CVE-2025-37941

CVE-2025-37941

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.

Affected products

4
  • osv-coords
    Range: >= 6.11.0, < 6.12.24
  • Linux/Kernelcpe-rescue3 versions
    6.11+ 2 more
    • (no CPE)range: 6.11
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=6.11,<6.12.24
    • (no CPE)

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.