🔍 CVE-2026-52971

7.8
CVSS Score
HIGH
2026-06-24
2026-10-19 20:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ENA 드라이버에서 get_timestamp 함수 호출 시 발생할 수 있는 Use-After-Free 취약점이 해결되었습니다. 기존에는 스핀락을 획득하기 전에 PHC 활성화 상태를 확인하고 포인터를 캐싱하여, 메모리가 해제된 후에도 해당 주소에 접근할 수 있는 문제가 있었습니다.

💡 쉬운 설명

컴퓨터가 사용 중인 메모리 주소를 확인하는 과정에서, 다른 작업이 해당 메모리를 먼저 지워버려 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 예상치 못한 동작을 할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: ena: PHC: Fix potential use-after-free in get_timestamp Move the phc->active check and resp pointer assignment to after acquiring the spinlock. Previously, phc->active was checked without holding the lock, and resp was cached from ena_dev->phc.virt_addr before the lock was acquired. If ena_com_phc_destroy() runs between the lockless active check and the lock acquisition, it sets active=false, releases the lock, frees the DMA memory, and sets virt_addr=NULL. The get_timestamp path would then read a NULL virt_addr and dereference it. With both the active check and the pointer read under the lock, destroy cannot free the memory while get_timestamp is using it.

📍 영향받는 시스템

Linux kernel (ENA driver 사용 환경)

⚔️ 공격 벡터

특정 네트워크 드라이버의 타이머 요청과 메모리 해제 작업 간의 타이밍 차이를 이용한 로컬 공격

🛡️ 대응 방법

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