🇰🇷 한글 설명
Linux 커널의 drm/v3d 드라이버에서 간접 CSD의 워크그룹 수가 0일 때 가상 주소(vaddr)가 해제되지 않고 누수되는 취약점이 발견되었습니다. v3d_rewrite_csd_job_wg_counts_from_indirect 함수가 조기 반환 시 정리 과정을 건너뛰어 발생하며, 이를 수정하기 위해 정리 경로로 점프하도록 개선되었습니다.
💡 쉬운 설명
컴퓨터의 그래픽 처리 과정에서 사용한 메모리 주소를 제대로 돌려주지 않고 계속 쌓아두는 버그가 있었습니다. 이 문제가 지속되면 시스템의 메모리 자원이 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/v3d: Fix vaddr leak when indirect CSD has zeroed workgroups
v3d_rewrite_csd_job_wg_counts_from_indirect() maps both the indirect
buffer and the workgroup buffer and is expected to release them before
returning. When any of the workgroup counts read from the buffer is zero,
the function bailed out early and skipped the cleanup, leaking the vaddr
mappings of both BOs.
Jump to the cleanup path instead of returning directly, so the mappings
are always dropped.
📍 영향받는 시스템
Linux kernel (drm/v3d 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 워크그룹 설정을 통해 메모리 누수를 유도하여 시스템 자원을 고갈시킬 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.