🔍 CVE-2022-50454

7.8
CVSS Score
HIGH
2025-10-01
2026-08-04 10:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 nouveau 드라이버에서 nouveau_gem_prime_import_sg_table() 함수 호출 시 Use-After-Free 취약점이 발견되었습니다. nouveau_bo_init() 함수가 실패할 경우 메모리가 이미 해제되었음에도 불구하고 nouveau_bo_ref()가 해제된 메모리에 접근하여 발생합니다.

💡 쉬운 설명

컴퓨터의 그래픽 카드를 제어하는 프로그램에서 이미 삭제된 메모리 공간을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 보안 공격에 악용될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table() nouveau_bo_init() is backed by ttm_bo_init() and ferries its return code back to the caller. On failures, ttm will call nouveau_bo_del_ttm() and free the memory.Thus, when nouveau_bo_init() returns an error, the gem object has already been released. Then the call to nouveau_bo_ref() will use the freed "nvbo->bo" and lead to a use-after-free bug. We should delete the call to nouveau_bo_ref() to avoid the use-after-free.

📍 영향받는 시스템

nouveau 드라이버를 사용하는 리눅스 커널 시스템

⚔️ 공격 벡터

특정 조건에서 그래픽 메모리 객체를 생성/해제하는 과정을 조작하여 메모리 오류 유도

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

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

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