🇰🇷 한글 설명
Linux 커널의 ath11k 무선 드라이버에서 하드웨어 재시작(hw restart) 시 num_stations 카운터가 초기화되지 않아, 재시작 후 새로운 스테이션이나 메시 피어를 더 이상 수용하지 못하는 문제가 해결되었습니다. 이로 인해 커널 경고와 'too many connected already' 오류가 발생할 수 있었습니다.
💡 쉬운 설명
무선 랜카드 드라이버가 재시작된 뒤 연결 가능한 기기 수를 잘못 기억하고 있어서, 새 기기들이 연결되지 못하던 버그입니다. 이번 패치로 재시작 시 이 기록을 올바르게 초기화하도록 고쳐졌습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath11k: reset ar->num_stations on hardware start
When (multiple) hw restart occurs, we end up in a situation where we
cannot accept new stations / mesh peers. This seems to be the
'num_stations' in 'struct ath11k' that did not get reset properly in
this case. In ath11k_mac_op_start(), it was indeed the only accounting var
that did not get reset so let's clear it too.
This avoids problems like those:
[1248828.088023] WARNING: CPU: 0 PID: 12281 at net/mac80211/util.c:1682 ieee80211_reconfig_stations+0x98/0xc0
[1248828.088115] Call trace:
[1248828.088116] ieee80211_reconfig_stations+0x98/0xc0 (P)
[1248828.088119] ieee80211_reconfig+0x774/0x1438
[1248828.088123] ieee80211_restart_work+0x10c/0x178
[1248828.088127] process_one_work+0x178/0x3c0
[1248828.088130] worker_thread+0x280/0x440
[1248828.088133] kthread+0xe0/0xf8
[1248828.088137] ret_from_fork+0x10/0x20
[1248828.088141] ---[ end trace 0000000000000000 ]---
[1248836.686604] ath11k_pci 0000:04:00.0: refusing to associate station: too many connected already (128)
[1248836.686609] ath11k_pci 0000:04:00.0: Failed to add station: xx:xx:xx:xx:xx:xx for VDEV: 1
Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.9.0.1-01977-QCAHKSWPL_SILICONZ-1
📍 영향받는 시스템
Linux 커널의 ath11k 무선 드라이버를 사용하는 Qualcomm QCN9074 등 ath11k 기반 Wi-Fi 장치 (패치 적용 전 커널)
⚔️ 공격 벡터
CVSS 점수가 0.0이며 공격 벡터가 명시되지 않은 안정성(기능) 버그로, 공격자가 직접 악용하기 어렵고 주로 서비스 거부성 연결 실패를 유발합니다.
🛡️ 대응 방법
배포판 제공 최신 Linux 커널 업데이트를 설치하고 재부팅하여 ath11k 드라이버 수정 사항을 적용합니다.
🔧 검증 코드
출력된 커널 버전이 배포판의 수정된 최신 커널 버전 이상인지 확인하고, ath11k 모듈이 존재하는지 확인합니다. 최신 패치가 포함된 커널이면 해당 버그는 수정된 것입니다.
uname -r && grep -rl ath11k /lib/modules/$(uname -r) 2>/dev/null | head -n 1