🇰🇷 한글 설명
Linux 커널의 ASoC SOF ipc4-topology 구성 요소에서 메모리 할당 크기 계산 오류가 발견되었습니다. 바이트 제어 데이터를 처리할 때 커널 전용 구조체 크기를 고려하지 않아 메모리가 부족하게 할당될 수 있는 취약점입니다.
💡 쉬운 설명
컴퓨터가 데이터를 저장하기 위해 메모리 공간을 빌릴 때, 실제 필요한 양보다 적게 빌리는 문제가 있었습니다. 이로 인해 데이터가 넘쳐흘러 시스템 오류나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: ipc4-topology: Correct the allocation size for bytes controls
The size of the data behind of scontrol->ipc_control_data for bytes
controls is:
[1] sizeof(struct sof_ipc4_control_data) + // kernel only struct
[2] sizeof(struct sof_abi_hdr)) + payload
The max_size specifies the size of [2] and it is coming from topology.
Change the function to take this into account and allocate adequate amount
of memory behind scontrol->ipc_control_data.
With the change we will allocate [1] amount more memory to be able to hold
the full size of data.
📍 영향받는 시스템
Linux Kernel (ASoC SOF ipc4-topology 관련 구성 요소 포함 버전)
⚔️ 공격 벡터
조작된 토폴로지 데이터를 통해 메모리 부족(Heap Overflow) 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인하십시오.