Skip to content

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

MediumCVSS 5.5 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Linux KernelUbuntuDebian

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.

Upgrade path

10 packages: 9 fixed.

PackageAffectedFixed inStatus
debian/linux(Debian 12) < 6.1.133-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +33 more 6.1.133-1 Fixed
debian/linux(Debian 13) < 6.12.20-1 6.12.20-1 Fixed
debian/linux(Debian 14) < 6.12.20-1 6.12.20-1 Fixed
Linux kernel < 5.15.180; < 6.1.132; < 6.6.84; < 6.12.20 +24 more 0eba2a7e858907a746ba69cd002eb9eb4dbd7bf3, 5.15.180, 6.1.132, 6.6.84, 6.12.20, 6.13.8, 6.14, 296c8295ae34045da0214882628d49c1c060dd8a, 694110bc2407a61f02a770cbb5f39b51e4ec77c6, 544055329560d4b64fe204fc6be325ebc24c72ca, a46a9371f8b9a0eeff53a21e11ed3b65f52d9cf6, c402f184a053c8e7ca325e50f04bbbc1e4fee019 Fixed
ubuntu/linux(Ubuntu 22.04) < 5.15.0-142.152 5.15.0-142.152 Fixed
ubuntu/linux(Ubuntu 24.04) < 6.8.0-84.84 6.8.0-84.84 Fixed
ubuntu/linux-kvm(Ubuntu 22.04) < 5.15.0-1082.87 5.15.0-1082.87 Fixed
ubuntu/linux-raspi(Ubuntu 22.04) < 5.15.0-1080.83 5.15.0-1080.83 Fixed
ubuntu/linux-raspi(Ubuntu 24.04) < 6.8.0-1039.43 6.8.0-1039.43 Fixed
debian linux = 11.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/linux(Debian:12) < 6.1.133-1 6.1.133-1
debian/linux(Debian:12) = 6.1.106-1 No fix listed
debian/linux(Debian:12) = 6.1.106-2 No fix listed
debian/linux(Debian:12) = 6.1.106-3 No fix listed
debian/linux(Debian:12) = 6.1.112-1 No fix listed
debian/linux(Debian:12) = 6.1.115-1 No fix listed
debian/linux(Debian:12) = 6.1.119-1 No fix listed
debian/linux(Debian:12) = 6.1.123-1 No fix listed
debian/linux(Debian:12) = 6.1.124-1 No fix listed
debian/linux(Debian:12) = 6.1.128-1 No fix listed
debian/linux(Debian:12) = 6.1.129-1 No fix listed
debian/linux(Debian:12) = 6.1.27-1 No fix listed
debian/linux(Debian:12) = 6.1.37-1 No fix listed
debian/linux(Debian:12) = 6.1.38-1 No fix listed
debian/linux(Debian:12) = 6.1.38-2 No fix listed
debian/linux(Debian:12) = 6.1.38-2~bpo11+1 No fix listed
debian/linux(Debian:12) = 6.1.38-3 No fix listed
debian/linux(Debian:12) = 6.1.38-4 No fix listed
debian/linux(Debian:12) = 6.1.38-4~bpo11+1 No fix listed
debian/linux(Debian:12) = 6.1.52-1 No fix listed
debian/linux(Debian:12) = 6.1.55-1 No fix listed
debian/linux(Debian:12) = 6.1.55-1~bpo11+1 No fix listed
debian/linux(Debian:12) = 6.1.64-1 No fix listed
debian/linux(Debian:12) = 6.1.66-1 No fix listed
debian/linux(Debian:12) = 6.1.67-1 No fix listed
Show 48 more
ProductAffected versionsFixed in
debian/linux(Debian:12) = 6.1.69-1 No fix listed
debian/linux(Debian:12) = 6.1.69-1~bpo11+1 No fix listed
debian/linux(Debian:12) = 6.1.76-1 No fix listed
debian/linux(Debian:12) = 6.1.76-1~bpo11+1 No fix listed
debian/linux(Debian:12) = 6.1.82-1 No fix listed
debian/linux(Debian:12) = 6.1.85-1 No fix listed
debian/linux(Debian:12) = 6.1.90-1 No fix listed
debian/linux(Debian:12) = 6.1.90-1~bpo11+1 No fix listed
debian/linux(Debian:12) = 6.1.94-1 No fix listed
debian/linux(Debian:12) = 6.1.94-1~bpo11+1 No fix listed
debian/linux(Debian:12) = 6.1.98-1 No fix listed
debian/linux(Debian:12) = 6.1.99-1 No fix listed
debian/linux(Debian:13) < 6.12.20-1 6.12.20-1
debian/linux(Debian:14) < 6.12.20-1 6.12.20-1
Linux kernel >= c11fc224e58e7972ffd05b8f25e9b1d6a0b8d562, < c402f184a053c8e7ca325e50f04bbbc1e4fee019 c402f184a053c8e7ca325e50f04bbbc1e4fee019
Linux kernel >= a50562146d6c7650029a115c96ef9aaa7648c344, < 694110bc2407a61f02a770cbb5f39b51e4ec77c6 694110bc2407a61f02a770cbb5f39b51e4ec77c6
Linux kernel >= 395e52b7a1ad01e1b51adb09854a0aa5347428de, < 544055329560d4b64fe204fc6be325ebc24c72ca 544055329560d4b64fe204fc6be325ebc24c72ca
Linux kernel >= fb9ad24485087e0f00d84bee7a5914640b2b9024, < a46a9371f8b9a0eeff53a21e11ed3b65f52d9cf6 a46a9371f8b9a0eeff53a21e11ed3b65f52d9cf6
Linux kernel >= fb9ad24485087e0f00d84bee7a5914640b2b9024, < 296c8295ae34045da0214882628d49c1c060dd8a 296c8295ae34045da0214882628d49c1c060dd8a
Linux kernel >= fb9ad24485087e0f00d84bee7a5914640b2b9024, < 0eba2a7e858907a746ba69cd002eb9eb4dbd7bf3 0eba2a7e858907a746ba69cd002eb9eb4dbd7bf3
Linux kernel >= 5.15.148, < 5.15.180 5.15.180
Linux kernel >= 6.1.74, < 6.1.132 6.1.132
Linux kernel >= 6.6.7, < 6.6.84 6.6.84
Linux kernel = 6.7 No fix listed
Linux kernel < 5.15.180 5.15.180
Linux kernel < 6.1.132 6.1.132
Linux kernel < 6.6.84 6.6.84
Linux kernel < 6.12.20 6.12.20
Linux kernel < 6.13.8 6.13.8
Linux kernel < 6.14 6.14
ubuntu/linux(Ubuntu:22.04) < 5.15.0-142.152 5.15.0-142.152
ubuntu/linux-kvm(Ubuntu:22.04) < 5.15.0-1082.87 5.15.0-1082.87
ubuntu/linux-raspi(Ubuntu:22.04) < 5.15.0-1080.83 5.15.0-1080.83
ubuntu/linux(Ubuntu:24.04) < 6.8.0-84.84 6.8.0-84.84
ubuntu/linux-raspi(Ubuntu:24.04) < 6.8.0-1039.43 6.8.0-1039.43
Linux kernel >= 6.7.1, < 6.12.20 6.12.20
Linux kernel >= 6.13, < 6.13.8 6.13.8
Linux kernel = 6.7-rc5 No fix listed
Linux kernel = 6.7-rc6 No fix listed
Linux kernel = 6.7-rc7 No fix listed
Linux kernel = 6.7-rc8 No fix listed
Linux kernel = 6.14-rc1 No fix listed
Linux kernel = 6.14-rc2 No fix listed
Linux kernel = 6.14-rc3 No fix listed
Linux kernel = 6.14-rc4 No fix listed
Linux kernel = 6.14-rc5 No fix listed
Linux kernel = 6.14-rc6 No fix listed
debian linux = 11.0 No fix listed

References