ASoC: codecs: wcd937x: set the comp soundwire port correctly
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.536.17.36.18In 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.
From the CVE record · Linux
The Linux kernel’s wcd937x codec can set the SoundWire port for HPHL_COMP and HPHR_COMP to zero, potentially causing memory corruption through an out-of-bounds port_map access. The input does not specify how an attacker could trigger this or whether access or user interaction is required.
Engineers running the Linux kernel with the wcd937x codec should check their versions; affected versions are not specified.