🇰🇷 한글 설명
Linux 커널의 mlx5e 드라이버에서 sample_restore_put() 함수 호출 시 Use-After-Free 레이스 컨디션 취약점이 발견되었습니다. TC 샘플 규칙을 동시에 해제하는 과정에서 잠금 해제 후 객체의 참조 횟수를 다시 읽어 이미 해제된 메모리에 접근할 수 있는 문제가 있습니다.
💡 쉬운 설명
여러 작업이 동시에 네트워크 설정을 삭제할 때, 이미 삭제되어 사라진 메모리 영역을 다시 사용하려고 시도하여 시스템 오류를 일으킬 수 있는 문제입니다. 이로 인해 시스템이 멈추거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: Fix use-after-free race in sample_restore_put()
Concurrent teardown of TC sample rules sharing the same restore
context may re-read restore->count after dropping restore_lock.
At that point another thread may already have completed cleanup and
freed the restore object.
Use the result of the refcount decrement while holding restore_lock to
determine whether cleanup is needed.
📍 영향받는 시스템
Linux kernel (mlx5e driver 사용 시스템)
⚔️ 공격 벡터
동시적인 네트워크 TC 샘플 규칙 해제 작업을 통한 레이스 컨디션 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 릴리스 버전인지 확인