← CVE Intelligence

CVE-2025-40045

ASoC: codecs: wcd937x: set the comp soundwire port correctly PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4 before abcd537aae3b84c6d10ad147e99a204bcb56b234; affected 82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4 before 1a1ca38392e7e896075afc8905ddaea525ed30f7; affected 82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4 before 66a940b1bf48a7095162688332d725ba160154eb
Linux / Linuxaffected 6.11; unaffected 0 before 6.11; unaffected 6.12.53 through 6.12.*; unaffected 6.17.3 through 6.17.*; unaffected 6.18 through *

CWE

No CWE identifiers supplied.

References