🇰🇷 한글 설명
리눅스 커널의 phylib 구성 요소에서 발생한 Use-After-Free 취약점입니다. phy_detach() 함수 호출 시 장치 해제(put_device) 이후에 장치 리셋(phy_device_reset)을 호출하여 이미 해제된 메모리에 접근할 수 있는 문제가 있었습니다.
💡 쉬운 설명
컴퓨터 부품을 관리하는 프로그램이 부품을 이미 버린 상태에서 다시 조작하려고 시도하여 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
phylib: fix potential use-after-free
Commit bafbdd527d56 ("phylib: Add device reset GPIO support") added call
to phy_device_reset(phydev) after the put_device() call in phy_detach().
The comment before the put_device() call says that the phydev might go
away with put_device().
Fix potential use-after-free by calling phy_device_reset() before
put_device().
📍 영향받는 시스템
phylib 모듈을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
로컬 공격자가 특정 네트워크 하드웨어 드라이버의 동작을 유도하여 메모리 오류를 발생시킴
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 커밋(bafbdd527d56) 이후의 버전인지 확인