🔍 CVE-2021-47111

8.8
CVSS Score
HIGH
2024-03-15
2026-08-04 10:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 xen-netback 구성 요소에서 RX 작업 스레드가 백엔드 종료 과정 중 kthread_stop 호출 전에 해제될 수 있는 취약점이 발견되었습니다. 이로 인해 Use-After-Free(UAF) 오류가 발생할 수 있으며, 이를 방지하기 위해 스레드 참조를 다시 확보하도록 수정되었습니다.

💡 쉬운 설명

컴퓨터의 네트워크 처리 과정에서 작업이 끝나기도 전에 메모리가 먼저 삭제되어 발생하는 오류입니다. 공격자가 이를 악용하면 시스템을 불안정하게 만들거나 제어권을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: xen-netback: take a reference to the RX task thread Do this in order to prevent the task from being freed if the thread returns (which can be triggered by the frontend) before the call to kthread_stop done as part of the backend tear down. Not taking the reference will lead to a use-after-free in that scenario. Such reference was taken before but dropped as part of the rework done in 2ac061ce97f4. Reintroduce the reference taking and add a comment this time explaining why it's needed. This is XSA-374 / CVE-2021-28691.

📍 영향받는 시스템

Xen 하이퍼바이저를 사용하는 Linux 커널 기반 시스템

⚔️ 공격 벡터

프론트엔드(Frontend)에서 백엔드(Backend) 종료 시점을 조작하여 특정 스레드를 강제로 반환시키는 방식

🛡️ 대응 방법

Xen 하이퍼바이저 및 Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

현재 커널 버전을 확인하고 dmesg 로그에서 xen-netback 관련 오류나 패치 내역이 있는지 확인합니다.

Shell / Script
uname -r && dmesg | grep -i 'xen-netback'

📊 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