🇰🇷 한글 설명
Linux 커널의 batman-adv 모듈에서 skb 재할당 이후 unicast_ttvn 데이터를 참조하여 발생하는 Use-After-Free 취약점입니다. pskb_may_pull() 호출 시 버퍼가 재할당될 수 있음에도 unicast_packet 포인터를 갱신하지 않아 메모리 오류가 발생할 수 있습니다.
💡 쉬운 설명
데이터를 처리하는 과정에서 메모리 주소가 바뀌었는데, 예전 주소를 계속 사용하려고 시도하여 발생하는 오류입니다. 이로 인해 시스템이 충돌하거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: access unicast_ttvn skb->data only after skb realloc
The pskb_may_pull() called by batadv_get_vid() could reallocate the buffer
behind the skb. Variables which were pointing to the old buffer need to be
reassigned to avoid an use-after-free.
This was done correctly for the ethernet header but missed for the
unicast_packet pointer.
📍 영향받는 시스템
Linux kernel (batman-adv 모듈을 사용하는 버전)
⚔️ 공격 벡터
조작된 네트워크 패킷을 전송하여 메모리 재할당을 유도하고 Use-After-Free를 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인