🔍 CVE-2022-48771

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

🇰🇷 한글 설명

Linux 커널의 drm/vmwgfx 구성 요소에서 usercopy 실패 시 stale 파일 디스크립터가 남는 취약점이 발견되었습니다. 이로 인해 사용자 공간에서 dangling 'file' 객체를 참조할 수 있게 되어 다양한 Use-After-Free(UAF) 공격 시나리오가 가능해집니다.

💡 쉬운 설명

컴퓨터 운영체제의 그래픽 관련 기능에서 메모리 관리 오류가 발생하여, 이미 사용이 끝난 메모리 영역을 공격자가 다시 사용할 수 있는 보안 허점이 있습니다. 이를 통해 공격자는 시스템의 권한을 탈취하거나 비정상적인 동작을 유도할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Fix stale file descriptors on failed usercopy A failing usercopy of the fence_rep object will lead to a stale entry in the file descriptor table as put_unused_fd() won't release it. This enables userland to refer to a dangling 'file' object through that still valid file descriptor, leading to all kinds of use-after-free exploitation scenarios. Fix this by deferring the call to fd_install() until after the usercopy has succeeded.

📍 영향받는 시스템

Linux kernel (drm/vmwgfx driver components)

⚔️ 공격 벡터

사용자 공간(Userland)에서 특정 그래픽 관련 시스템 호출을 통해 잘못된 파일 디스크립터를 생성하여 메모리 오류 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 fd_install() 호출 시점을 수정해야 합니다.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.

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