🇰🇷 한글 설명
Linux 커널의 soundwire 드라이버에서 sdw_add_element_group_count 함수 내 루프 조건 오류로 인해 경계 외 메모리 접근(Out-of-bounds access) 취약점이 발견되었습니다. 이 문제는 i가 num과 같을 때 발생하며, 이를 해결하기 위해 그룹 내 기존 항목을 사전에 확인하는 로직이 추가되었습니다.
💡 쉬운 설명
컴퓨터 소리 관련 장치를 관리하는 프로그램에서 데이터 범위를 벗어나 잘못된 메모리 영역을 읽으려 하는 오류가 있었습니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있어 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
soundwire: fix bug in sdw_add_element_group_count found by syzkaller
The original implementation caused an out-of-bounds memory access
in the sdw_add_element_group_count for-loop when i == num.
for (i = 0; i <= num; i++) {
if (rate == group->rates[i] && lane == group->lanes[i])
...
To fix this error, the function now checks for existing rate/lane
entries in the group(a function parameter) using a for-loop before
adding them.
No functional changes apart from this fix.
📍 영향받는 시스템
Linux kernel (soundwire driver 포함 버전)
⚔️ 공격 벡터
특수하게 조작된 soundwire 관련 데이터/설정을 통해 커널 메모리 경계를 넘어서는 접근 유도
🛡️ 대응 방법
soundwire 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인