🇰🇷 한글 설명
Linux 커널의 sparx5 네트워크 드라이버에서 MAC 테이블 엔트리 삭제 시 Use-After-Free 취약점이 발견되었습니다. MAC 엔트리가 메모리에서 해제된 이후에도 해당 엔트리의 VID(VLAN ID)를 참조하여 발생하는 문제입니다.
💡 쉬운 설명
컴퓨터가 이미 삭제해서 없어진 정보를 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: sparx5: Fix use after free inside sparx5_del_mact_entry
Based on the static analyzis of the code it looks like when an entry
from the MAC table was removed, the entry was still used after being
freed. More precise the vid of the mac_entry was used after calling
devm_kfree on the mac_entry.
The fix consists in first using the vid of the mac_entry to delete the
entry from the HW and after that to free it.
📍 영향받는 시스템
sparx5 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
네트워크 트래픽 조작을 통해 특정 MAC 엔트리를 삭제하도록 유도하여 메모리 오류 유발
🛡️ 대응 방법
sparx5 드라이버의 Use-After-Free 오류가 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인