🇰🇷 한글 설명
Linux 커널의 ath11k 드라이버에서 ath11k_service_ready_ext_event() 함수 처리 중 메모리 누수 취약점이 발견되었습니다. TLV 파싱 과정에서 mac_phy_caps가 할당된 후, 이후 단계에서 오류가 발생할 경우 해당 메모리가 해제되지 않고 남게 됩니다.
💡 쉬운 설명
무선 랜 드라이버가 데이터를 처리하는 과정에서 오류가 발생하면 사용했던 메모리를 제대로 돌려주지 않는 문제가 있습니다. 이 문제가 반복되면 시스템의 메모리가 점차 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath11k: fix leak in ath11k_service_ready_ext_event()
Currently, during ath11k_service_ready_ext_event() processing,
svc_rdy_ext.mac_phy_caps can be allocated during TLV parsing. This is a
temporary allocation that is freed on the success path, but not on the
error path. If parsing succeeds far enough to allocate mac_phy_caps and
then fails on a later TLV, the allocation leaks. So free the allocation
on the error path.
Compile tested only.
📍 영향받는 시스템
Linux kernel (ath11k driver 포함 버전)
⚔️ 공격 벡터
조작된 네트워크 패킷(TLV)을 전송하여 드라이버의 파싱 오류를 유도함으로써 메모리 누수 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인