🇰🇷 한글 설명
Linux 커널의 forcedeth 드라이버에서 nv_remove() 함수가 unregister_netdev()를 호출하기 전에 txrx_stats를 먼저 해제하여 발생하는 Use-After-Free(UAF) 취약점입니다. 이로 인해 네트워크 장치 등록 해제 과정 중 데이터 경로에서 해제된 메모리에 접근할 수 있습니다.
💡 쉬운 설명
네트워크 장치를 제거하는 과정에서 컴퓨터가 이미 사용을 끝내고 지워버린 메모리 영역을 다시 사용하려고 시도하는 오류입니다. 이 오류를 이용하면 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
forcedeth: fix UAF of txrx_stats in nv_remove
nv_remove() frees the per-CPU txrx_stats before unregister_netdev().
Until unregister completes, ndo_get_stats64, the NAPI/xmit data path,
and nv_close()/drain may still access txrx_stats, leading to a
use-after-free.
Free the stats only after unregister_netdev().
📍 영향받는 시스템
Linux kernel (forcedeth driver 사용 시스템)
⚔️ 공격 벡터
네트워크 장치 제거 또는 드라이버 언로드 시 발생하는 레이스 컨디션을 이용한 메모리 조작
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 nv_remove()의 메모리 해제 순서를 수정해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux