{"id":"CVE-2025-40045","aliases":["CVE-2025-40045"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: codecs: wcd937x: set the comp soundwire port correctly","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nASoC: codecs: wcd937x: establecer el puerto soundwire comp correctamente\n\nPor alguna razón terminamos configurando el puerto soundwire para HPHL_COMP y HPHR_COMP como cero, esto puede resultar potencialmente en una corrupción de memoria debido a acceder y establecer el elemento -1 del array port_map.","source":"nvd"}],"published":"2025-10-28T11:48:23.431Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4","fixed":"abcd537aae3b84c6d10ad147e99a204bcb56b234","status":"affected"},{"type":"git","introduced":"82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4","fixed":"1a1ca38392e7e896075afc8905ddaea525ed30f7","status":"affected"},{"type":"git","introduced":"82be8c62a38c6a44e64ecb29d7a9b5cb35c6cad4","fixed":"66a940b1bf48a7095162688332d725ba160154eb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.53","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.3","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/abcd537aae3b84c6d10ad147e99a204bcb56b234","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a1ca38392e7e896075afc8905ddaea525ed30f7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/66a940b1bf48a7095162688332d725ba160154eb","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40045","url":"https://www.cve.org/CVERecord?id=CVE-2025-40045","licence":"CVE Terms of Use","modified":"2026-08-05T12:07:18.382Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40045","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40045","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:06.933Z","epss":{"score":0.00235,"percentile":0.08708,"date":"2026-11-30T12:00:22.000Z"}}