🔍 CVE-2022-49518

7.1
CVSS Score
HIGH
2025-02-26
2026-08-15 13:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ASoC SOF ipc3-topology 구성 요소에서 발생하는 취약점으로, 특정 토폴로지를 조작하여 범위를 벗어난 메모리 접근(Out-of-bounds access)이 가능합니다. 이는 sof_get_control_data() 함수가 페이로드가 바이트 타입이 아닐 경우를 제대로 처리하지 못해 발생합니다.

💡 쉬운 설명

리눅스 시스템의 소리 관련 설정 파일이 조작될 경우, 컴퓨터의 메모리 영역을 잘못된 곳까지 읽거나 쓸 수 있는 보안 약점이 있습니다. 이를 통해 시스템이 불안정해지거나 공격자가 의도하지 않은 동작을 유도할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc3-topology: Correct get_control_data for non bytes payload It is possible to craft a topology where sof_get_control_data() would do out of bounds access because it expects that it is only called when the payload is bytes type. Confusingly it also handles other types of controls, but the payload parsing implementation is only valid for bytes. Fix the code to count the non bytes controls and instead of storing a pointer to sof_abi_hdr in sof_widget_data (which is only valid for bytes), store the pointer to the data itself and add a new member to save the size of the data. In case of non bytes controls we store the pointer to the chanv itself, which is just an array of values at the end. In case of bytes control, drop the wrong cdata->data (wdata[i].pdata) check against NULL since it is incorrect and invalid in this context. The data is pointing to the end of cdata struct, so it should never be null.

📍 영향받는 시스템

Linux kernel (ASoC SOF ipc3-topology 관련 구성 요소 포함 버전)

⚔️ 공격 벡터

조작된 토폴로지 데이터를 전달하여 커널 내 메모리 경계 외 접근 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel