🇰🇷 한글 설명
Linux 커널의 ath11k 드라이버에서 mhi_ctrl 메모리 누수 취약점이 발견되었습니다. ath11k_mhi_read_addr_from_dt() 함수 호출 중 오류가 발생할 경우, 할당된 메모리를 해제하지 않고 함수를 종료하여 메모리 누수가 발생합니다.
💡 쉬운 설명
무선 랜(Wi-Fi) 드라이버가 작동 중에 오류가 나면 사용했던 메모리를 제대로 돌려주지 않고 버리는 문제가 있습니다. 이 문제가 반복되면 시스템의 메모리가 부족해져 성능이 떨어지거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath11k: mhi: fix potential memory leak in ath11k_mhi_register()
mhi_alloc_controller() allocates a memory space for mhi_ctrl. When gets
some error, mhi_ctrl should be freed with mhi_free_controller(). But
when ath11k_mhi_read_addr_from_dt() fails, the function returns without
calling mhi_free_controller(), which will lead to a memory leak.
We can fix it by calling mhi_free_controller() when
ath11k_mhi_read_addr_from_dt() fails.
📍 영향받는 시스템
Linux kernel (ath11k driver)
⚔️ 공격 벡터
로컬 공격자가 특정 하드웨어 구성이나 오류 상황을 유도하여 메모리 누수를 발생시킴
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인