CVE-2025-40045

published 28 Oct 2025 · updated 5 Aug 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1a1ca38392e7e896075afc8905ddaea525ed30f7, Kernel 66a940b1bf48a7095162688332d725ba160154eb and Kernel abcd537aae3b84c6d10ad147e99a204bcb56b234.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.11, >=82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4 <1a1ca38392e7e896075afc8905ddaea525ed30f7, >=82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4 <66a940b1bf48a7095162688332d725ba160154eb, >=82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4 <abcd537aae3b84c6d10ad147e99a204bcb56b2341a1ca38392e7e896075afc8905ddaea525ed30f7, 66a940b1bf48a7095162688332d725ba160154eb, abcd537aae3b84c6d10ad147e99a204bcb56b234

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40045 severity on Zeptric[![CVE-2025-40045](https://zeptric.io/badge/cve/CVE-2025-40045.svg)](https://zeptric.io/cve/CVE-2025-40045)