🇰🇷 한글 설명
Linux 커널의 ath11k Wi-Fi 드라이버에서 장치 언바인딩 시 발생하는 이중 해제(Double Free) 취약점입니다. 펌웨어 초기화 오류 발생 시 이미 해제된 버퍼를 장치 제거 과정에서 다시 해제하려고 시도하여 커널 경고 및 시스템 불안정을 유발합니다.
💡 쉬운 설명
Wi-Fi 장치를 연결하거나 해제할 때, 이미 삭제된 메모리 공간을 컴퓨터가 다시 삭제하려고 시도하면서 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 예기치 않은 경고가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath11k: fix warning when unbinding
If there is an error during some initialization related to firmware,
the buffers dp->tx_ring[i].tx_status are released.
However this is released again when the device is unbinded (ath11k_pci),
and we get:
WARNING: CPU: 0 PID: 6231 at mm/slub.c:4368 free_large_kmalloc+0x57/0x90
Call Trace:
free_large_kmalloc
ath11k_dp_free
ath11k_core_deinit
ath11k_pci_remove
...
The issue is always reproducible from a VM because the MSI addressing
initialization is failing.
In order to fix the issue, just set the buffers to NULL after releasing in
order to avoid the double free.
📍 영향받는 시스템
Linux kernel (ath11k driver components)
⚔️ 공격 벡터
로컬 공격자가 가상 머신 환경 등에서 MSI 주소 지정 초기화 실패를 유도하여 발생 가능
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.