🇰🇷 한글 설명
악의적이거나 버그가 있는 네트워크 PV 프론트엔드가 잘못된 패킷을 전송하여 Linux xen-netback의 인터페이스를 비활성화하고 수신 커널 스레드를 종료시킬 수 있습니다. 이로 인해 백엔드가 파괴될 때 이미 종료된 커널 스레드에 대해 kthread_stop이 호출되면서 Use-After-Free 취약점이 발생합니다.
💡 쉬운 설명
가상 머신 내부의 공격자가 특수한 네트워크 패킷을 보내 운영체제의 핵심 관리 프로세스를 강제로 종료시킬 수 있습니다. 이 과정에서 메모리 관리 오류가 발생하여 시스템이 충돌하거나 보안이 뚫릴 위험이 있습니다.
🇺🇸 원문 (English)
Guest triggered use-after-free in Linux xen-netback A malicious or buggy network PV frontend can force Linux netback to disable the interface and terminate the receive kernel thread associated with queue 0 in response to the frontend sending a malformed packet. Such kernel thread termination will lead to a use-after-free in Linux netback when the backend is destroyed, as the kernel thread associated with queue 0 will have already exited and thus the call to kthread_stop will be performed against a stale pointer.
📍 영향받는 시스템
Linux kernel xen-netback driver (Xen hypervisor 환경)
⚔️ 공격 벡터
가상 머신(Guest)에서 조작된 네트워크 패킷을 전송하여 호스트의 커널 스레드 종료 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 시점 이후의 버전인지 확인