CVE Catalog

CVE-2025-40045

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

5th percentile - higher than 5% of all known CVEs

Summary

In the Linux kernel, the wcd937x audio codec driver (ASoC) had an issue where the SoundWire port for HPHL_COMP and HPHR_COMP was incorrectly set to zero. This can lead to memory corruption by accessing the -1th element of the port_map array.

Risk Assessment

This vulnerability can cause kernel memory corruption, potentially allowing a local attacker to escalate privileges or cause a denial of service (DoS) on systems with the WCD937x audio chip.

Recommendation

Update the Linux kernel to a version containing the fix that correctly sets the SoundWire port.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: wcd937x: set the comp soundwire port correctly For some reason we endup with setting soundwire port for HPHL_COMP and HPHR_COMP as zero, this can potentially result in a memory corruption due to accessing and setting -1 th element of port_map array.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS