🇰🇷 한글 설명
Linux 커널의 LAN8814 PHY 드라이버에서 PTP 클록이 설정되지 않을 경우 shared->phydev가 할당되지 않는 결함이 발견되었습니다. 이로 인해 인터럽트 처리 과정에서 NULL 포인터 참조가 발생하여 커널 크래시(Panic)를 유발할 수 있습니다.
💡 쉬운 설명
특정 네트워크 장치를 사용할 때 시스템이 예상치 못한 상황에서 멈추거나 꺼질 수 있는 오류입니다. 장치 설정이 완벽히 끝나지 않아도 시스템이 장치를 참조하려고 시도할 때 충돌이 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: phy: micrel: always set shared->phydev for LAN8814
Currently, during the LAN8814 PTP probe shared->phydev is only set if PTP
clock gets actually set, otherwise the function will return before setting
it.
This is an issue as shared->phydev is unconditionally being used when IRQ
is being handled, especially in lan8814_gpio_process_cap and since it was
not set it will cause a NULL pointer exception and crash the kernel.
So, simply always set shared->phydev to avoid the NULL pointer exception.
📍 영향받는 시스템
LAN8814 PHY를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
로컬 공격자가 특정 네트워크 인터럽트 조건을 유도하여 커널 패닉(DoS)을 발생시킬 수 있음
🛡️ 대응 방법
LAN8814 PTP 프로브 과정에서 shared->phydev를 조건 없이 항상 설정하도록 커널 패치를 적용하십시오.
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 최신 패치 버전인지 확인하십시오.