🔍 CVE-2024-26799

7.0
CVSS Score
HIGH
2024-04-04
2026-08-04 11:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ASoC qcom 드라이버에서 dmactl 포인터가 초기화되지 않아 발생하는 취약점입니다. 유효하지 않은 dai_id가 전달될 경우 dmactl에 쓰레기 값이 포함되어 NULL 체크가 정상적으로 작동하지 않을 수 있습니다.

💡 쉬운 설명

컴퓨터 프로그램이 특정 정보를 확인하기 전에 준비되지 않은 잘못된 값을 참조하여 오류를 일으킬 수 있는 문제입니다. 이로 인해 시스템이 예상치 못한 동작을 하거나 보안 문제가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ASoC: qcom: Fix uninitialized pointer dmactl In the case where __lpass_get_dmactl_handle is called and the driver id dai_id is invalid the pointer dmactl is not being assigned a value, and dmactl contains a garbage value since it has not been initialized and so the null check may not work. Fix this to initialize dmactl to NULL. One could argue that modern compilers will set this to zero, but it is useful to keep this initialized as per the same way in functions __lpass_platform_codec_intf_init and lpass_cdc_dma_daiops_hw_params. Cleans up clang scan build warning: sound/soc/qcom/lpass-cdc-dma.c:275:7: warning: Branch condition evaluates to a garbage value [core.uninitialized.Branch]

📍 영향받는 시스템

Linux Kernel (ASoC qcom 드라이버 포함 버전)

⚔️ 공격 벡터

유효하지 않은 dai_id를 전달하여 초기화되지 않은 포인터를 참조하게 만드는 방식

🛡️ 대응 방법

dmactl 포인터를 NULL로 초기화하는 패치가 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel