🇰🇷 한글 설명
Linux 커널의 mscc: ocelot 드라이버에서 ocelot_vlan_del() 함수 호출 시 Use-After-Free 취약점이 발견되었습니다. VLAN 멤버를 삭제하는 과정에서 이미 해제된 메모리 영역인 pvid_vlan에 접근하여 시스템 불안정성을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝난 메모리 공간을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: mscc: ocelot: fix use-after-free in ocelot_vlan_del()
ocelot_vlan_member_del() will free the struct ocelot_bridge_vlan, so if
this is the same as the port's pvid_vlan which we access afterwards,
what we're accessing is freed memory.
Fix the bug by determining whether to clear ocelot_port->pvid_vlan prior
to calling ocelot_vlan_member_del().
📍 영향받는 시스템
mscc: ocelot 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
네트워크 VLAN 설정 및 삭제를 제어할 수 있는 권한을 가진 공격자가 악용 가능
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인