🇰🇷 한글 설명
리눅스 커널의 tcp_ao_connect_init 함수 내에서 Use-After-Free 취약점이 발견되었습니다. hlist_for_each_entry_rcu 순회 중 호출되는 call_rcu가 RCU 읽기 임계 구역 밖에 있어, 순회 도중 RCU grace period가 지나 데이터가 해제될 수 있는 문제입니다.
💡 쉬운 설명
컴퓨터가 데이터를 읽고 있는 도중에 해당 데이터가 갑자기 삭제되어 발생하는 오류입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
tcp: Fix Use-After-Free in tcp_ao_connect_init
Since call_rcu, which is called in the hlist_for_each_entry_rcu traversal
of tcp_ao_connect_init, is not part of the RCU read critical section, it
is possible that the RCU grace period will pass during the traversal and
the key will be free.
To prevent this, it should be changed to hlist_for_each_entry_safe.
📍 영향받는 시스템
Linux Kernel (tcp_ao_connect_init 관련 모듈 사용 시스템)
⚔️ 공격 벡터
특정 네트워크 패킷 전송을 통해 RCU grace period를 유도하여 메모리 해제 후 접근 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하거나 hlist_for_each_entry_safe를 사용하도록 수정된 커널 적용
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인