🇰🇷 한글 설명
리눅스 커널의 soundwire: cadence 드라이버에서 PDI 오프셋을 잘못 계산하여 발생하는 취약점입니다. 잘못된 오프셋 적용으로 인해 배열 범위를 벗어난 메모리 접근(Out-of-bounds access)이 발생할 수 있습니다.
💡 쉬운 설명
소리 관련 장치를 제어하는 프로그램이 메모리의 잘못된 위치를 읽거나 쓰려고 시도하는 오류입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
soundwire: cadence: fix invalid PDI offset
For some reason, we add an offset to the PDI, presumably to skip the
PDI0 and PDI1 which are reserved for BPT.
This code is however completely wrong and leads to an out-of-bounds
access. We were just lucky so far since we used only a couple of PDIs
and remained within the PDI array bounds.
A Fixes: tag is not provided since there are no known platforms where
the out-of-bounds would be accessed, and the initial code had problems
as well.
A follow-up patch completely removes this useless offset.
📍 영향받는 시스템
Linux kernel (soundwire: cadence driver 포함 버전)
⚔️ 공격 벡터
특정 하드웨어 환경에서 조작된 PDI(Port Data Interface) 요청을 통해 메모리 경계를 벗어난 접근 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하거나 해당 드라이버의 오프셋 수정 패치를 적용하십시오.
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인하십시오.