🔍 CVE-2023-53047

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

🇰🇷 한글 설명

Linux 커널의 amdtee 드라이버 내 amdtee_open_session 함수에서 레이스 컨디션(경쟁 상태) 취약점이 발견되었습니다. 세션 정보가 완전히 설정되기 전에 세션이 닫힐 경우, 이미 해제된 메모리에 접근하는 Use-After-Free 현상이 발생하여 커널 패닉을 유발할 수 있습니다.

💡 쉬운 설명

두 가지 작업이 동시에 일어날 때 순서가 꼬여서 이미 삭제된 데이터를 다시 사용하려고 시도하는 문제입니다. 이로 인해 컴퓨터 시스템이 갑자기 멈추거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: tee: amdtee: fix race condition in amdtee_open_session There is a potential race condition in amdtee_open_session that may lead to use-after-free. For instance, in amdtee_open_session() after sess->sess_mask is set, and before setting: sess->session_info[i] = session_info; if amdtee_close_session() closes this same session, then 'sess' data structure will be released, causing kernel panic when 'sess' is accessed within amdtee_open_session(). The solution is to set the bit sess->sess_mask as the last step in amdtee_open_session().

📍 영향받는 시스템

AMDTEE 드라이버를 사용하는 Linux 커널 버전

⚔️ 공격 벡터

로컬 공격자가 특정 타이밍에 세션을 열고 닫는 작업을 반복하여 커널 메모리 오류 유도

🛡️ 대응 방법

AMDTEE 관련 패치가 적용된 최신 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