🇰🇷 한글 설명
Linux 커널의 ASoC rsnd 드라이버에서 component_dais[] 배열의 경계 검사 로직 오류로 인해 발생합니다. 인덱스 범위 확인 과정에서 마지막 유효 요소를 보장하지 못해 배열 범위를 벗어난 메모리 접근(Out-of-bounds access)이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 메모리의 정해진 칸을 넘어서서 데이터를 읽거나 쓰려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ASoC: rsnd: Fix potential out-of-bounds access of component_dais[]
component_dais[RSND_MAX_COMPONENT] is initially zero-initialized
and later populated in rsnd_dai_of_node(). However, the existing boundary check:
if (i >= RSND_MAX_COMPONENT)
does not guarantee that the last valid element remains zero. As a result,
the loop can rely on component_dais[RSND_MAX_COMPONENT] being zero,
which may lead to an out-of-bounds access.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
📍 영향받는 시스템
Linux kernel (ASoC rsnd driver 포함 버전)
⚔️ 공격 벡터
특정 하드웨어 구성이나 드라이버 설정을 통해 배열 인덱스 범위를 초과하도록 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인