🇰🇷 한글 설명
Linux 커널의 mt7915 Wi-Fi 드라이버에서 hif2 초기화 함수가 중복 호출되는 취약점이 발견되었습니다. 이로 인해 전역 인덱스가 잘못 증가하고 PCIe 레지스터가 중복 기록되며, 장치 참조 카운트가 누수되는 문제가 발생합니다.
💡 쉬운 설명
Wi-Fi 장치를 준비하는 과정에서 똑같은 작업을 두 번 반복하여 시스템 자원이 낭비되고 오류가 발생할 수 있는 문제입니다. 이로 인해 장치 관리 정보가 꼬이거나 메모리 누수가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7915: fix double hif2 init on the non-WED path
mt7915_pci_init_hif2() was called unconditionally and again inside the
WED-inactive branch. The helper increments the global hif_idx, writes the
PCIe RECOG_ID register and takes a get_device() reference via
mt7915_pci_get_hif2(), while removal only drops one reference. On non-WED
dual-hif hardware this double-incremented hif_idx, wrote RECOG_ID twice and
leaked a device reference. Only the call inside the WED-inactive branch is
correct; drop the unconditional one. hif2 is already initialised to NULL.
📍 영향받는 시스템
Linux kernel (mt76/mt7915 driver 사용 시스템)
⚔️ 공격 벡터
로컬 시스템에서 드라이버 초기화 과정을 통해 자원 누수를 유발할 수 있음
🛡️ 대응 방법
Linux 커널을 최신 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.