🇰🇷 한글 설명
Linux 커널의 drm/msm/a6xx 드라이버에서 메모리 할당 방식의 오류로 인해 발생하는 취약점입니다. 특정 조건에서 데이터가 ascii85로 인코딩될 때 잘못된 메모리 할당 함수를 사용하여 메모리 누수 및 잘못된 포인터 참조가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 그래픽 장치를 관리하는 프로그램에서 메모리를 사용하는 방식에 실수가 있어 발생한 문제입니다. 이로 인해 시스템의 메모리가 낭비되거나 예상치 못한 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/a6xx: Fix kvzalloc vs state_kcalloc usage
adreno_show_object() is a trap! It will re-allocate the pointer it is
passed on first call, when the data is ascii85 encoded, using kvmalloc/
kvfree(). Which means the data *passed* to it must be kvmalloc'd, ie.
we cannot use the state_kcalloc() helper.
This partially reverts commit ec8f1813bf8d ("drm/msm/a6xx: Replace
kcalloc() with kvzalloc()"), but adds the missing kvfree() to fix the
memory leak that was present previously. And adds a warning comment.
Patchwork: https://patchwork.freedesktop.org/patch/507014/
📍 영향받는 시스템
Linux kernel (drm/msm/a6xx 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
특수하게 조작된 ascii85 인코딩 데이터를 통해 메모리 할당 오류를 유도하는 방식
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인하십시오.