🔍 CVE-2026-46215

7.8
CVSS Score
HIGH
2026-05-28
2026-07-10 05:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 DRM(Direct Rendering Manager) 구성 요소 내 change_handle 함수에서 레이스 컨디션 취약점이 발견되었습니다. 이로 인해 gem_close가 동시에 실행될 경우 객체가 삭제된 후에도 핸들이 남아있게 되어 Use-After-Free(UAF) 메모리 오류가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 그래픽 처리 과정에서 데이터가 삭제되는 순간과 사용되는 순간이 겹쳐서 발생하는 오류입니다. 이 오류를 이용하면 해커가 시스템의 메모리에 잘못 접근하여 보안을 무너뜨릴 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm: Set old handle to NULL before prime swap in change_handle There was a potential race condition in change_handle. The ioctl briefly had a single object with two idr entries; a concurrent gem_close could delete the object and remove one of the handles while leaving the other one dangling, which could subsequently be dereferenced for a use-after-free. To fix this, do the same dance that gem_close itself does. (f6cd7daecff5 drm: Release driver references to handle before making it available again) First idr_replace the old handle to NULL. Later, if the prime operations are successful, actually close it. create_tail required a similar dance to avoid a similar problem. (bd46cece51a3 drm/gem: Fix race in drm_gem_handle_create_tail()) It idr_allocs the new handle with NULL, then swaps in the correct object later to avoid races. We don't need to do that here, since the only operations that could race are drm_prime, and change_handle holds the prime lock for the entire duration. v2: cleanups of error paths

📍 영향받는 시스템

Linux Kernel (DRM/GEM 관련 모듈을 사용하는 시스템)

⚔️ 공격 벡터

동시성 제어 미흡을 이용한 레이스 컨디션 공격을 통한 Use-After-Free 유도

🛡️ 대응 방법

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