🇰🇷 한글 설명
Linux 커널의 batman-adv 모듈에서 수신(RX) 처리 중 skb 재할당이 발생할 경우, 기존 버퍼를 가리키던 이더넷 헤더 포인터가 갱신되지 않아 발생하는 Use-After-Free 취약점입니다. 이로 인해 잘못된 메모리 참조가 발생하여 시스템 불안정성이나 권한 상승이 발생할 수 있습니다.
💡 쉬운 설명
데이터를 받는 과정에서 메모리 위치가 바뀌었는데, 프로그램이 옛날 위치를 계속 참조하려고 해서 발생하는 오류입니다. 이 오류를 이용하면 해커가 시스템을 고장 내거나 제어권을 뺏을 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: retrieve ethhdr after potential skb realloc on RX
pskb_may_pull() in batadv_interface_rx() 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 VLAN header but missed for the ethernet
header which is later used for the TT and AP isolation handling.
📍 영향받는 시스템
Linux kernel (batman-adv 모듈을 사용하는 버전)
⚔️ 공격 벡터
조작된 네트워크 패킷을 전송하여 메모리 재할당을 유도하고 Use-After-Free를 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인