🇰🇷 한글 설명
Linux 커널의 ASoC fsl_audmix 드라이버에서 열거형(enum) 값을 검증하기 전에 변환을 먼저 수행하여 발생하는 취약점입니다. 이로 인해 범위를 벗어난 값이 입력될 경우 잘못된 메모리 참조나 비정상적인 동작이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 정해진 선택지 중 하나를 골라야 하는데, 잘못된 번호를 입력해도 검사하기 전에 미리 계산을 해버려서 오류가 발생하는 문제입니다. 이로 인해 시스템이 불안정해지거나 해킹의 통로가 될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ASoC: fsl: fsl_audmix: Validate written enum values
fsl_audmix_put_mix_clk_src() and fsl_audmix_put_out_src()
convert the user-provided enum item with snd_soc_enum_item_to_val()
before checking whether the item is within the enum's item count.
The generic snd_soc_put_enum_double() helper performs that
validation, but these callbacks use the converted value first: the
clock-source path tests it with BIT(), and the output-source path
indexes the prms transition table with it.
Reject out-of-range enum items before converting them.
📍 영향받는 시스템
Linux Kernel (ASoC fsl_audmix 드라이버 포함 버전)
⚔️ 공격 벡터
사용자 정의 enum 값을 전달할 수 있는 인터페이스를 통한 잘못된 값 입력
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.