Security mailing lists by PureSourceCode

CVE-2025-37889

MEDIUM 5.5CVSS 3.1

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.

Published
9 May 2025
Last modified
5 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Analyzed
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.15.148, < 5.15.180 5.15.180
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.1.74, < 6.1.132 6.1.132
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.6.7, < 6.6.84 6.6.84
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.7.1, < 6.12.20 6.12.20
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.13, < 6.13.8 6.13.8
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.7:-:*:*:*:*:*:*
= 6.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.7:rc5:*:*:*:*:*:*
= 6.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.7:rc6:*:*:*:*:*:*
= 6.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.7:rc7:*:*:*:*:*:*
= 6.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.7:rc8:*:*:*:*:*:*
= 6.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*
= 6.14
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*
= 6.14
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*
= 6.14
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*
= 6.14
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*
= 6.14
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*
= 6.14
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
= 11.0

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 May 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.