CVE-2025-40045 Details
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.
A memory corruption vulnerability has been identified in the Linux kernel's ASoC codecs for the WCD937X component. This issue arises because the SoundWire port for the HPHL_COMP and HPHR_COMP components is incorrectly set to zero. Consequently, this misconfiguration can lead to memory corruption by allowing access to and modification of the -1 element in the port_map array. The vulnerability affects the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel stable tree, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1a1ca38392e7e896075afc8905ddaea525ed30f7 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/66a940b1bf48a7095162688332d725ba160154eb | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/abcd537aae3b84c6d10ad147e99a204bcb56b234 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Qualcomm WCD937X | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 28, 2025 | New CVE Received | kernel.org |
Volerion