🇰🇷 한글 설명
Linux 커널의 mscc: ocelot 드라이버에서 LAG(Link Aggregation) 환경 아래 인터페이스를 추가할 때 NULL 포인터 역참조로 인해 시스템이 충돌하는 취약점입니다. ocelot_vsc7514.c 프런트엔드에서 사용되지 않는 포트를 NULL로 남겨두어 발생하며, 포인터 유효성 검사를 통해 해결되었습니다.
💡 쉬운 설명
네트워크 장치를 연결하는 과정에서 컴퓨터가 처리할 수 없는 빈 정보를 참조하여 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 특정 네트워크 드라이버를 사용하는 환경에서 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: mscc: ocelot: Fix crash when adding interface under a lag
Commit 15faa1f67ab4 ("lan966x: Fix crash when adding interface under a lag")
fixed a similar issue in the lan966x driver caused by a NULL pointer dereference.
The ocelot_set_aggr_pgids() function in the ocelot driver has similar logic
and is susceptible to the same crash.
This issue specifically affects the ocelot_vsc7514.c frontend, which leaves
unused ports as NULL pointers. The felix_vsc9959.c frontend is unaffected as
it uses the DSA framework which registers all ports.
Fix this by checking if the port pointer is valid before accessing it.
📍 영향받는 시스템
Linux kernel (mscc: ocelot driver, specifically ocelot_vsc7514.c frontend)
⚔️ 공격 벡터
로컬 네트워크 인터페이스 구성 변경을 통한 시스템 충돌 유도 (DoS)
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 커밋(15faa1f67ab4) 이후의 버전인지 확인하십시오.