CVE-2025-40045

Source
https://cve.org/CVERecord?id=CVE-2025-40045
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40045.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40045
Downstream
Related
Published
2025-10-28T11:48:23.431Z
Modified
2026-04-02T12:48:15.587597Z
Summary
ASoC: codecs: wcd937x: set the comp soundwire port correctly
Details

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 HPHLCOMP and HPHRCOMP as zero, this can potentially result in a memory corruption due to accessing and setting -1 th element of port_map array.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40045.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4
Fixed
abcd537aae3b84c6d10ad147e99a204bcb56b234
Fixed
1a1ca38392e7e896075afc8905ddaea525ed30f7
Fixed
66a940b1bf48a7095162688332d725ba160154eb

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40045.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.12.53
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40045.json"