🇰🇷 한글 설명
Linux 커널의 mlx5e 드라이버에서 종료 테이블(termination table)을 되돌리는 과정 중 Use-After-Free 취약점이 발견되었습니다. 여러 개의 목적지가 있을 때 두 번째 이후의 설정이 실패하면, 드라이버가 테이블 사용을 중단하지만 할당된 참조를 초기화하지 않아 메모리 오류가 발생합니다.
💡 쉬운 설명
네트워크 장치 드라이버가 작업을 취소하는 과정에서 이미 사용이 끝난 메모리 주소를 계속 참조하여 발생하는 오류입니다. 이로 인해 시스템이 충돌하거나 보안 공격에 악용될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: Fix use-after-free when reverting termination table
When having multiple dests with termination tables and second one
or afterwards fails the driver reverts usage of term tables but
doesn't reset the assignment in attr->dests[num_vport_dests].termtbl
which case a use-after-free when releasing the rule.
Fix by resetting the assignment of termtbl to null.
📍 영향받는 시스템
Linux kernel (mlx5e driver 사용 환경)
⚔️ 공격 벡터
특정 네트워크 설정 조건(다중 목적지 및 설정 실패 시나리오)을 유도하여 메모리 오류 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.