🔍 CVE-2022-48899

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

🇰🇷 한글 설명

리눅스 커널의 drm/virtio 드라이버에서 GEM 핸들 생성 시 Use-After-Free(UAF) 취약점이 발견되었습니다. 사용자가 핸들 값을 예측하여 객체 생성과 핸들 닫기 사이의 경합 상태를 유도함으로써, 참조가 해제된 객체를 참조하게 되어 발생합니다.

💡 쉬운 설명

컴퓨터 메모리 관리 과정에서 이미 삭제된 데이터를 다시 사용하려고 시도할 때 발생하는 오류입니다. 공격자가 특정 타이밍을 노려 시스템을 조작하면 프로그램이 비정상적으로 종료되거나 보안이 뚫릴 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/virtio: Fix GEM handle creation UAF Userspace can guess the handle value and try to race GEM object creation with handle close, resulting in a use-after-free if we dereference the object after dropping the handle's reference. For that reason, dropping the handle's reference must be done *after* we are done dereferencing the object.

📍 영향받는 시스템

Linux kernel (drm/virtio 드라이버를 사용하는 시스템)

⚔️ 공격 벡터

사용자 공간에서 GEM 핸들 값을 예측하여 객체 생성과 핸들 해제 사이의 경합 상태(Race Condition) 유도

🛡️ 대응 방법

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

🔧 검증 코드

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

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