# CVE-2025-37889: ASoC: ops: Consistently treat platform_max as control value

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2025-05-09T06:45:50.868Z
- Modified: 2026-11-05T21:17:57.400Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: ops: Consistently treat platform_max as control value

This reverts commit 9bdd10d57a88 ("ASoC: ops: Shift tested values in
snd_soc_put_volsw() by +min"), and makes some additional related
updates.

There are two ways the platform_max could be interpreted; the maximum
register value, or the maximum value the control can be set to. The
patch moved from treating the value as a control value to a register
one. When the patch was applied it was technically correct as
snd_soc_limit_volume() also used the register interpretation. However,
even then most of the other usages treated platform_max as a
control value, and snd_soc_limit_volume() has since been updated to
also do so in commit fb9ad24485087 ("ASoC: ops: add correct range
check for limiting volume"). That patch however, missed updating
snd_soc_put_volsw() back to the control interpretation, and fixing
snd_soc_info_volsw_range(). The control interpretation makes more
sense as limiting is typically done from the machine driver, so it is
appropriate to use the customer facing representation rather than the
internal codec representation. Update all the code to consistently use
this interpretation of platform_max.

Finally, also add some comments to the soc_mixer_control struct to
hopefully avoid further patches switching between the two approaches.

(As written by CVE List.)

## Affected

- Linux Linux: from c11fc224e58e7972ffd05b8f25e9b1d6a0b8d562 before c402f184a053c8e7ca325e50f04bbbc1e4fee019; from a50562146d6c7650029a115c96ef9aaa7648c344 before 694110bc2407a61f02a770cbb5f39b51e4ec77c6; from 395e52b7a1ad01e1b51adb09854a0aa5347428de before 544055329560d4b64fe204fc6be325ebc24c72ca; from fb9ad24485087e0f00d84bee7a5914640b2b9024 before a46a9371f8b9a0eeff53a21e11ed3b65f52d9cf6; from fb9ad24485087e0f00d84bee7a5914640b2b9024 before 296c8295ae34045da0214882628d49c1c060dd8a; from fb9ad24485087e0f00d84bee7a5914640b2b9024 before 0eba2a7e858907a746ba69cd002eb9eb4dbd7bf3; from 5.15.148 before 5.15.180; from 6.1.74 before 6.1.132; from 6.6.7 before 6.6.84; 6.7 (not affected: before 6.7; from 5.15.180 up to 5.15.*; from 6.1.132 up to 6.1.*; from 6.6.84 up to 6.6.*; from 6.12.20 up to 6.12.*; from 6.13.8 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 5.15.148 before 5.15.180; from 6.1.74 before 6.1.132; from 6.6.7 before 6.6.84; from 6.7.1 before 6.12.20; from 6.13 before 6.13.8; 6.7; 6.14
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/c402f184a053c8e7ca325e50f04bbbc1e4fee019> (patch)
- <https://git.kernel.org/stable/c/694110bc2407a61f02a770cbb5f39b51e4ec77c6> (patch)
- <https://git.kernel.org/stable/c/544055329560d4b64fe204fc6be325ebc24c72ca> (patch)
- <https://git.kernel.org/stable/c/a46a9371f8b9a0eeff53a21e11ed3b65f52d9cf6> (patch)
- <https://git.kernel.org/stable/c/296c8295ae34045da0214882628d49c1c060dd8a> (patch)
- <https://git.kernel.org/stable/c/0eba2a7e858907a746ba69cd002eb9eb4dbd7bf3> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (mailing-list)

## Sources

- CVE List: [CVE-2025-37889](https://www.cve.org/CVERecord?id=CVE-2025-37889), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-37889](https://nvd.nist.gov/vuln/detail/CVE-2025-37889), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-37889 · Whole record: https://cve.day/CVE-2025-37889.json · Rebuilt by cve.day 2026-11-25T22:58:57.864Z
