🇰🇷 한글 설명
Linux 커널의 ASoC(ALSA System on Chip) 오디오 제어 코드에서 볼륨 제한 값(platform_max)의 해석이 일관되지 않았던 문제를 수정했습니다. 일부 코드는 레지스터 값으로, 다른 코드는 제어 값으로 해석하고 있어 볼륨 범위 검사가 잘못 동작할 수 있었습니다. 이번 패치는 모든 코드가 제어 값 기준으로 통일되도록 정리했습니다.
💡 쉬운 설명
리눅스 커널의 오디오 볼륨 조절 기능에서 최대값을 계산하는 방식이 부분적으로 어긋나 있었습니다. 이로 인해 볼륨 제한이 의도대로 적용되지 않을 수 있었고, 이를 일관된 방식으로 고쳤습니다.
🇺🇸 원문 (English)
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.
📍 영향받는 시스템
ASoC 오디오 드라이버를 사용하는 Linux 커널 (패치 적용 이전 버전)
⚔️ 공격 벡터
로컬 사용자가 오디오 볼륨 제어 인터페이스를 통해 의도된 볼륨 제한을 우회하는 방식으로 제한적으로 악용될 수 있으며, 원격 공격 경로는 확인되지 않았습니다.
🛡️ 대응 방법
배포판 또는 커널 공급사가 제공하는 CVE-2025-37889 수정이 포함된 최신 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 배포판 보안 공지에서 해당 수정이 포함된 패키지 버전과 비교하여, 수정 이전 버전이면 업데이트가 필요합니다.