🇰🇷 한글 설명
Linux 커널의 mac80211 드라이버에서 ieee80211_register_hw() 함수 호출 중 메모리 누수 취약점이 발견되었습니다. 지원되는 대역 구조를 복사하는 kmemdup() 과정에서 오류가 발생할 경우, 초기화된 rate_control 자원이 적절히 해제되지 않고 남게 됩니다.
💡 쉬운 설명
무선 랜(Wi-Fi)을 작동시키는 과정에서 오류가 발생하면, 사용했던 메모리를 제대로 돌려주지 않고 계속 붙잡고 있는 버그입니다. 이 문제가 반복되면 시스템의 메모리가 점차 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: fix memory leak in ieee80211_register_hw()
If kmemdup() fails while copying supported band structures, the error
path jumps to fail_rate. This skips rate_control_deinitialize() and
leaks the initialized local->rate_ctrl.
Fix this by adding a fail_band label that shares the rate-control cleanup
path before falling through to the remaining teardown.
The bug was first flagged by an experimental analysis tool we are
developing for kernel memory-management bugs while analyzing
v6.13-rc1. The tool is still under development and is not yet publicly
available. Manual inspection confirms that the bug is still present in
v7.1-rc7.
An x86_64 allyesconfig build showed no new warnings. As we do not have a
suitable mac80211 device/driver combination to test with, no runtime
testing was able to be performed.
📍 영향받는 시스템
Linux kernel v7.1-rc7 및 v6.13-rc1을 포함한 관련 mac80211 사용 커널
⚔️ 공격 벡터
직접적인 외부 공격보다는 시스템의 메모리 자원을 점진적으로 고갈시키는 방식의 서비스 거부(DoS) 유발 가능성
🛡️ 대응 방법
커널 패치를 적용하여 ieee80211_register_hw() 함수의 오류 처리 경로(fail_band 레이블 추가)를 수정해야 함
🔧 검증 코드
출력된 커널 버전이 취약점이 수정된 최신 패치 버전인지 확인하십시오.