🇰🇷 한글 설명
Linux 커널의 ASoC(ALSA System on Chip) 토폴로지 파서에서 PCM 및 DAI 이름 문자열에 대한 검증이 누락된 취약점입니다. 악의적으로 조작된 토폴로지 데이터가 NUL 종료 문자 없이 전달될 경우, 문자열 처리 과정에서 배열의 경계를 넘어 메모리를 읽는 버퍼 오버리드 현상이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 소리 관련 설정 파일에 특수하게 조작된 데이터를 넣으면, 시스템이 데이터의 끝을 찾지 못해 메모리의 엉뚱한 부분을 읽어버리는 문제입니다. 이로 인해 시스템 오류가 발생하거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ASoC: topology: Check PCM and DAI name strings before use
Topology objects store several PCM and DAI names in fixed-size UAPI
arrays. Other topology parser paths validate these fields with bounded
strnlen() checks before using them as C strings, but the PCM and DAI
paths still pass some fixed-size arrays directly to strlen(),
devm_kstrdup(), DAI lookup, and diagnostic prints.
A malformed topology blob with a non-NUL-terminated PCM, DAI, or stream
capability name can therefore make the parser read past the end of the
fixed-size field.
Reject unterminated PCM and DAI name fields before consuming them as C
strings.
📍 영향받는 시스템
Linux Kernel (ASoC topology parser 관련 구성 요소)
⚔️ 공격 벡터
조작된(NUL 종료 문자가 없는) 토폴로지 데이터 블롭(blob)을 시스템에 전달
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.