🔍 CVE-2024-49936

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

🇰🇷 한글 설명

리눅스 커널의 xen-netback 구성 요소 내 xenvif_flush_hash() 함수에서 Use-After-Free(UAF) 취약점이 발견되었습니다. RCU 읽기 임계 구역 내에서 kfree_rcu 호출 시 grace period가 종료되면, 반복문 도중 메모리가 해제되어 head->next 접근 시 오류가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 데이터를 읽고 있는 도중에 해당 데이터가 저장된 메모리 공간을 갑자기 지워버려서 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/xen-netback: prevent UAF in xenvif_flush_hash() During the list_for_each_entry_rcu iteration call of xenvif_flush_hash, kfree_rcu does not exist inside the rcu read critical section, so if kfree_rcu is called when the rcu grace period ends during the iteration, UAF occurs when accessing head->next after the entry becomes free. Therefore, to solve this, you need to change it to list_for_each_entry_safe.

📍 영향받는 시스템

Xen 가상화 환경을 사용하는 리눅스 커널 (xen-netback 모듈 포함 버전)

⚔️ 공격 벡터

특정 네트워크 환경에서 RCU grace period를 조작하여 메모리 해제 후 접근을 유도하는 방식

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하거나 list_for_each_entry_safe를 사용하도록 수정된 패치를 적용해야 합니다.

🔧 검증 코드

현재 커널 버전과 xen-netback 모듈 정보를 확인하여 보안 패치가 적용된 최신 버전인지 확인합니다.

Shell / Script
uname -r && modinfo xen-netback 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel