🔍 CVE-2023-52509

7.8
CVSS Score
HIGH
2024-03-02
2026-08-04 10:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 ravb 드라이버에서 ravb_tx_timeout_work() 함수 호출 시 Use-After-Free 취약점이 발견되었습니다. ravb_stop() 과정에서 작업 취소(cancel_work_sync)가 누락되어, 네트워크 장치가 제거된 후에도 해제된 메모리 영역에 접근할 수 있는 문제가 있습니다.

💡 쉬운 설명

컴퓨터의 네트워크 장치를 끌 때, 실행 중이던 작업이 완전히 멈추지 않아 이미 삭제된 메모리 정보를 다시 사용하려고 시도하는 오류입니다. 이로 인해 시스템이 충돌하거나 보안 문제가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ravb: Fix use-after-free issue in ravb_tx_timeout_work() The ravb_stop() should call cancel_work_sync(). Otherwise, ravb_tx_timeout_work() is possible to use the freed priv after ravb_remove() was called like below: CPU0 CPU1 ravb_tx_timeout() ravb_remove() unregister_netdev() free_netdev(ndev) // free priv ravb_tx_timeout_work() // use priv unregister_netdev() will call .ndo_stop() so that ravb_stop() is called. And, after phy_stop() is called, netif_carrier_off() is also called. So that .ndo_tx_timeout() will not be called after phy_stop().

📍 영향받는 시스템

ravb 드라이버를 사용하는 리눅스 커널 버전

⚔️ 공격 벡터

특정 네트워크 작업 타이밍을 조작하여 해제된 메모리 영역에 접근하도록 유도하는 로컬 공격

🛡️ 대응 방법

ravb_stop() 함수 내에 cancel_work_sync()를 호출하도록 커널을 최신 패치 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.

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