🔍 CVE-2024-50030

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

🇰🇷 한글 설명

Linux 커널의 drm/xe/ct 구성 요소에서 send_recv() 함수 호출 시 Use-After-Free(UAF) 취약점이 발견되었습니다. 펜스(fence) 객체가 스택 범위를 벗어나기 전에 완료 처리가 보장되지 않아 발생하는 문제로, 잠금 메커니즘과 메모리 장벽을 추가하여 해결되었습니다.

💡 쉬운 설명

컴퓨터의 핵심 부품인 커널에서 데이터가 사용 중인데 갑자기 삭제되어 발생하는 오류입니다. 이 오류를 이용하면 시스템이 멈추거나 해커가 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/xe/ct: prevent UAF in send_recv() Ensure we serialize with completion side to prevent UAF with fence going out of scope on the stack, since we have no clue if it will fire after the timeout before we can erase from the xa. Also we have some dependent loads and stores for which we need the correct ordering, and we lack the needed barriers. Fix this by grabbing the ct->lock after the wait, which is also held by the completion side. v2 (Badal): - Also print done after acquiring the lock and seeing timeout. (cherry picked from commit 52789ce35c55ccd30c4b67b9cc5b2af55e0122ea)

📍 영향받는 시스템

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

⚔️ 공격 벡터

특정 하드웨어 가속 기능을 사용하는 과정에서 메모리 관리 오류를 유도하는 악성 코드 실행

🛡️ 대응 방법

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