🔍 CVE-2020-36788

7.8
CVSS Score
HIGH
2024-05-21
2026-08-04 10:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 nouveau 드라이버에서 BO(Buffer Object) 초기화 실패 시 Use-After-Free 취약점이 발생합니다. ttm_bo_init()이 실패할 때 이미 메모리가 해제되었음에도 불구하고, 호출자가 이를 인지하지 못하고 다시 접근할 수 있는 문제입니다.

💡 쉬운 설명

컴퓨터가 메모리를 사용하려고 준비하다가 실패했을 때, 이미 사용이 끝난 메모리 영역을 다시 건드려서 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: avoid a use-after-free when BO init fails nouveau_bo_init() is backed by ttm_bo_init() and ferries its return code back to the caller. On failures, ttm_bo_init() invokes the provided destructor which should de-initialize and free the memory. Thus, when nouveau_bo_init() returns an error the gem object has already been released and the memory freed by nouveau_bo_del_ttm().

📍 영향받는 시스템

Linux kernel (nouveau DRM driver 포함 버전)

⚔️ 공격 벡터

로컬 공격자가 특수하게 조작된 그래픽 관련 시스템 호출을 통해 메모리 오류를 유도하여 발생

🛡️ 대응 방법

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:H/A:H

💻 영향받는 소프트웨어

Linux Kernel