🇰🇷 한글 설명
Linux 커널의 mac80211 드라이버에서 프록시 경로 추가 시 카운터가 적절히 예약되지 않아 발생하는 취약점입니다. 이로 인해 인터페이스 경로 카운터가 음수가 될 수 있으며, 결과적으로 메쉬 경로 수가 최대 제한치인 MESH_MAX_MPATHS를 초과할 수 있습니다.
💡 쉬운 설명
무선 네트워크 연결 정보를 관리하는 숫자가 계산 오류로 인해 마이너스가 되어, 정해진 한도보다 훨씬 많은 연결이 허용되는 문제입니다. 이로 인해 시스템 자원이 고갈되거나 네트워크 성능에 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: account proxy paths against the mesh path limit
Proxy-path churn can drive the interface path counter negative and let
later mesh path additions exceed MESH_MAX_MPATHS.
mesh_path_free_rcu() decrements the interface mpaths counter for entries
from both the mesh and proxy path tables, but mpp_path_add() never
reserves a slot in that counter. Removing or expiring a proxy path
therefore returns a slot that was never charged.
mesh_path_add() uses the same counter to enforce MESH_MAX_MPATHS, so once
it falls below the number of installed paths the limit no longer holds.
Reserve the shared quota before allocating a proxy path and release it on
every unsuccessful addition. Mesh and proxy paths now share one
1024-entry budget, so mpp_path_add() can return -ENOSPC at that limit.
📍 영향받는 시스템
Linux kernel (mac80211 subsystem)
⚔️ 공격 벡터
프록시 경로를 빈번하게 생성하고 삭제하여 경로 카운터를 조작함으로써 시스템의 메쉬 경로 제한을 우회함
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인