7.8high
ASoC: codecs: wcd937x: set the comp soundwire port correctly
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.24% (higher than 9% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4 before abcd537aae3b84c6d10ad147e99a204bcb56b234, from 82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4 before 1a1ca38392e7e896075afc8905ddaea525ed30f7, from 82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4 before 66a940b1bf48a7095162688332d725ba160154eb, 6.11 Not affected: before 6.11, from 6.12.53 up to 6.12.*, from 6.17.3 up to 6.17.*, from 6.18 up to * | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ASoC: codecs: wcd937x: establecer el puerto soundwire comp correctamente Por alguna razón terminamos configurando el puerto soundwire para HPHL_COMP y HPHR_COMP como cero, esto puede resultar potencialmente en una corrupción de memoria debido a acceder y establecer el elemento -1 del array port_map.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-40045 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-40045 changed 2026-10-19 | Public domain |