🔍 CVE-2023-53095

5.5
CVSS Score
MEDIUM
2025-05-02
2026-11-05 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 DRM/TTM 서브시스템에서 LRU 메커니즘이 객체에서 제거 중인 리소스를 조회할 때 NULL 포인터 역참조가 발생하는 문제입니다. bo->resource가 LRU 리소스를 가리키는지 LRU 잠금 하에서 먼저 확인하도록 수정되었습니다.

💡 쉬운 설명

그래픽 메모리를 관리하는 리눅스 커널 부분에서 이미 비워진 메모리 정보를 잘못 참조하여 시스템이 비정상 종료될 수 있는 결함입니다. 메모리를 교체하기 전에 정보가 유효한지 먼저 확인하도록 고쳐졌습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/ttm: Fix a NULL pointer dereference The LRU mechanism may look up a resource in the process of being removed from an object. The locking rules here are a bit unclear but it looks currently like res->bo assignment is protected by the LRU lock, whereas bo->resource is protected by the object lock, while *clearing* of bo->resource is also protected by the LRU lock. This means that if we check that bo->resource points to the LRU resource under the LRU lock we should be safe. So perform that check before deciding to swap out a bo. That avoids dereferencing a NULL bo->resource in ttm_bo_swapout().

📍 영향받는 시스템

패치 이전의 Linux 커널 (DRM/TTM 드라이버를 사용하는 그래픽 기능이 활성화된 시스템)

⚔️ 공격 벡터

로컬 사용자가 GPU 메모리 관리 경로를 유발해 NULL 포인터 역참조를 일으켜 커널 패닉 또는 서비스 거부를 유도할 수 있음

🛡️ 대응 방법

배포판이 제공하는 최신 커널 업데이트를 적용하고 재부팅

🔧 검증 코드

출력된 커널 버전이 배포판의 보안 패치 적용 버전(또는 해당 수정 커밋이 포함된 버전) 이상인지 배포판 보안 공지와 대조하여 확인하며, 이전 버전이면 취약할 수 있습니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel