🇰🇷 한글 설명
Linux 커널의 mlx5 네트워크 드라이버에서 rev_entry 참조 누수 취약점이 해결되었습니다. mlx5_tc_ct_shared_counter_get() 함수에서 카운터가 이미 해제 중일 때 참조 횟수를 적절히 감소시키지 않아 리소스가 영구적으로 점유되는 문제가 있었습니다.
💡 쉬운 설명
네트워크 장치를 관리하는 프로그램에서 사용이 끝난 메모리를 제대로 돌려주지 않는 버그가 발견되었습니다. 이로 인해 시스템의 메모리가 조금씩 계속 쌓여 결국 시스템 성능이 떨어지거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: Fix rev_entry reference leak in mlx5_tc_ct_shared_counter_get()
When the reverse entry is found but its counter is already being
released, refcount_inc_not_zero() fails and the reference taken by
mlx5_tc_ct_entry_get() is never dropped before falling through to
create_counter. Drop it so the reverse entry is not kept alive forever
by a shared counter lookup that did not use it.
📍 영향받는 시스템
Linux kernel (mlx5 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 네트워크 트래픽 패턴을 유도하여 메모리 누수를 가속화할 수 있음
🛡️ 대응 방법
mlx5 드라이버 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인