{"id":"CVE-2025-37889","aliases":["CVE-2025-37889"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: ops: Consistently treat platform_max as control value","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: ops: Consistently treat platform_max as control value\n\nThis reverts commit 9bdd10d57a88 (\"ASoC: ops: Shift tested values in\nsnd_soc_put_volsw() by +min\"), and makes some additional related\nupdates.\n\nThere are two ways the platform_max could be interpreted; the maximum\nregister value, or the maximum value the control can be set to. The\npatch moved from treating the value as a control value to a register\none. When the patch was applied it was technically correct as\nsnd_soc_limit_volume() also used the register interpretation. However,\neven then most of the other usages treated platform_max as a\ncontrol value, and snd_soc_limit_volume() has since been updated to\nalso do so in commit fb9ad24485087 (\"ASoC: ops: add correct range\ncheck for limiting volume\"). That patch however, missed updating\nsnd_soc_put_volsw() back to the control interpretation, and fixing\nsnd_soc_info_volsw_range(). The control interpretation makes more\nsense as limiting is typically done from the machine driver, so it is\nappropriate to use the customer facing representation rather than the\ninternal codec representation. Update all the code to consistently use\nthis interpretation of platform_max.\n\nFinally, also add some comments to the soc_mixer_control struct to\nhopefully avoid further patches switching between the two approaches.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: ops: Consistently treat platform_max as control value\n\nThis reverts commit 9bdd10d57a88 (\"ASoC: ops: Shift tested values in\nsnd_soc_put_volsw() by +min\"), and makes some additional related\nupdates.\n\nThere are two ways the platform_max could be interpreted; the maximum\nregister value, or the maximum value the control can be set to. The\npatch moved from treating the value as a control value to a register\none. When the patch was applied it was technically correct as\nsnd_soc_limit_volume() also used the register interpretation. However,\neven then most of the other usages treated platform_max as a\ncontrol value, and snd_soc_limit_volume() has since been updated to\nalso do so in commit fb9ad24485087 (\"ASoC: ops: add correct range\ncheck for limiting volume\"). That patch however, missed updating\nsnd_soc_put_volsw() back to the control interpretation, and fixing\nsnd_soc_info_volsw_range(). The control interpretation makes more\nsense as limiting is typically done from the machine driver, so it is\nappropriate to use the customer facing representation rather than the\ninternal codec representation. Update all the code to consistently use\nthis interpretation of platform_max.\n\nFinally, also add some comments to the soc_mixer_control struct to\nhopefully avoid further patches switching between the two approaches.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: PCI/MSI: Manejo correcto del indicador NOMASK para todos los backends PCI/MSI. La conversión de la variable global específica de XEN pci_msi_ignore_mask a un indicador de dominio MSI pasó por alto los siguientes hechos: 1) Las arquitecturas heredadas no proporcionan un dominio de interrupción. 2) Los dominios MSI principales no necesariamente tienen información de dominio adjunta. Ambos casos resultan en una desreferencia de puntero NULL incondicional. Desafortunadamente, esto se pasó por alto en la revisión y las pruebas lo revelaron tarde. Solucione esto utilizando el asistente pci_msi_domain_supports() existente, que maneja todos los casos posibles correctamente.","source":"nvd"}],"published":"2025-05-09T06:45:50.868Z","modified":"2026-11-05T21:17:57.400Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c11fc224e58e7972ffd05b8f25e9b1d6a0b8d562","fixed":"c402f184a053c8e7ca325e50f04bbbc1e4fee019","status":"affected"},{"type":"git","introduced":"a50562146d6c7650029a115c96ef9aaa7648c344","fixed":"694110bc2407a61f02a770cbb5f39b51e4ec77c6","status":"affected"},{"type":"git","introduced":"395e52b7a1ad01e1b51adb09854a0aa5347428de","fixed":"544055329560d4b64fe204fc6be325ebc24c72ca","status":"affected"},{"type":"git","introduced":"fb9ad24485087e0f00d84bee7a5914640b2b9024","fixed":"a46a9371f8b9a0eeff53a21e11ed3b65f52d9cf6","status":"affected"},{"type":"git","introduced":"fb9ad24485087e0f00d84bee7a5914640b2b9024","fixed":"296c8295ae34045da0214882628d49c1c060dd8a","status":"affected"},{"type":"git","introduced":"fb9ad24485087e0f00d84bee7a5914640b2b9024","fixed":"0eba2a7e858907a746ba69cd002eb9eb4dbd7bf3","status":"affected"},{"type":"semver","introduced":"5.15.148","fixed":"5.15.180","status":"affected"},{"type":"semver","introduced":"6.1.74","fixed":"6.1.132","status":"affected"},{"type":"semver","introduced":"6.6.7","fixed":"6.6.84","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"5.15.180","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.132","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.84","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.20","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.8","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15.148","fixed":"5.15.180"},{"status":"affected","introduced":"6.1.74","fixed":"6.1.132"},{"status":"affected","introduced":"6.6.7","fixed":"6.6.84"},{"status":"affected","introduced":"6.7.1","fixed":"6.12.20"},{"status":"affected","introduced":"6.13","fixed":"6.13.8"},{"status":"affected","version":"6.7"},{"status":"affected","version":"6.7"},{"status":"affected","version":"6.7"},{"status":"affected","version":"6.7"},{"status":"affected","version":"6.7"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c402f184a053c8e7ca325e50f04bbbc1e4fee019","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/694110bc2407a61f02a770cbb5f39b51e4ec77c6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/544055329560d4b64fe204fc6be325ebc24c72ca","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a46a9371f8b9a0eeff53a21e11ed3b65f52d9cf6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/296c8295ae34045da0214882628d49c1c060dd8a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0eba2a7e858907a746ba69cd002eb9eb4dbd7bf3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["mailing-list"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:44:42.778Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37889","url":"https://www.cve.org/CVERecord?id=CVE-2025-37889","licence":"CVE Terms of Use","modified":"2026-11-05T20:52:07.188Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37889","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37889","licence":"Public domain","modified":"2026-11-05T21:17:57.400Z"}],"updatedAt":"2026-11-25T22:58:57.864Z","epss":{"score":0.00317,"percentile":0.26538,"date":"2026-12-01T12:00:22.000Z"}}