🇰🇷 한글 설명
Linux 커널의 batman-adv 모듈에서 인터페이스가 비활성화될 때 발생하는 NULL 포인터 역참조 취약점입니다. 인터페이스가 비활성화되어 mesh_iface 포인터가 NULL로 설정되었음에도 불구하고, OGMv2 메시지를 전송하려는 시도가 발생하여 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
네트워크 연결 장치가 꺼졌는데도 시스템이 해당 장치에 계속 데이터를 보내려고 시도하다가 오류가 발생하는 문제입니다. 이로 인해 시스템이 갑자기 멈추거나 충돌할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: v: stop OGMv2 on disabled interface
When a batadv_hard_iface is disabled, its mesh_iface pointer is set to
NULL. However, batadv_v_ogm_send_meshif() may still dispatch OGMs via
batadv_v_ogm_queue_on_if() for interfaces that have since lost their
mesh_iface association. This results in a NULL pointer dereference when
batadv_v_ogm_queue_on_if() unconditionally calls netdev_priv() on the
now NULL hard_iface->mesh_iface to retrieve the batadv_priv.
It is necessary to ensure that the batadv_v_ogm_queue_on_if() checks that
it is using the same mesh_iface for which batadv_v_ogm_send_meshif() was
called.
📍 영향받는 시스템
Linux kernel (batman-adv 모듈을 사용하는 시스템)
⚔️ 공격 벡터
로컬 네트워크 인터페이스 조작을 통한 커널 패닉 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.