{"id":"CVE-2025-40045","summary":"ASoC: codecs: wcd937x: set the comp soundwire port correctly","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: codecs: wcd937x: set the comp soundwire port correctly\n\nFor some reason we endup with setting soundwire port for\nHPHL_COMP and HPHR_COMP as zero, this can potentially result\nin a memory corruption due to accessing and setting -1 th element of\nport_map array.","modified":"2026-03-20T12:43:09.392333Z","published":"2025-10-28T11:48:23.431Z","related":["SUSE-SU-2026:20555-1","SUSE-SU-2026:20599-1","SUSE-SU-2026:20615-1","openSUSE-SU-2025:15702-1","openSUSE-SU-2026:10301-1","openSUSE-SU-2026:20287-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40045.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1a1ca38392e7e896075afc8905ddaea525ed30f7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66a940b1bf48a7095162688332d725ba160154eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/abcd537aae3b84c6d10ad147e99a204bcb56b234"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40045.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40045"},{"type":"PACKAGE","url":"https://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/osv-test-cve-osv-conversion/osv-output/CVE-2025-40045.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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/osv-test-cve-osv-conversion/osv-output/CVE-2025-40045.json"}}],"schema_version":"1.7.5"}