🇰🇷 한글 설명
Linux 커널의 mlx5e 드라이버 내 arfs_create_groups 함수에서 이중 해제(double-free) 취약점이 발견되었습니다. 메모리 할당 실패 시 오류를 처리하는 과정에서 이미 해제된 메모리 영역을 다시 해제하려고 시도하여 시스템 불안정성을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터가 사용이 끝난 메모리를 정리하는 과정에서 실수로 같은 곳을 두 번 정리하려고 시도하는 오류입니다. 이 과정에서 시스템이 갑자기 멈추거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: fix a double-free in arfs_create_groups
When `in` allocated by kvzalloc fails, arfs_create_groups will free
ft->g and return an error. However, arfs_create_table, the only caller of
arfs_create_groups, will hold this error and call to
mlx5e_destroy_flow_table, in which the ft->g will be freed again.
📍 영향받는 시스템
Mellanox NIC 드라이버(mlx5e)를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
특정 네트워크 설정이나 흐름 테이블(flow table) 생성 요청을 통해 메모리 할당 오류를 유도하여 발생
🛡️ 대응 방법
Mellanox 드라이버의 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.