🔍 CVE-2025-39891

7.1
CVSS Score
HIGH
2025-10-01
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 mwifiex 드라이버에서 chan_stats 배열이 0으로 초기화되지 않아 발생하는 정보 유출 취약점입니다. vmalloc()을 사용하여 메모리를 할당할 때 기존 메모리 데이터가 남아있을 수 있으며, 이를 통해 시스템의 민감한 정보가 노출될 위험이 있습니다.

💡 쉬운 설명

컴퓨터의 Wi-Fi 기능을 담당하는 프로그램이 메모리를 사용할 때, 이전에 사용했던 흔적을 깨끗이 지우지 않고 그대로 사용하는 문제입니다. 이로 인해 해커가 메모리에 남아있는 다른 중요한 정보를 훔쳐볼 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: wifi: mwifiex: Initialize the chan_stats array to zero The adapter->chan_stats[] array is initialized in mwifiex_init_channel_scan_gap() with vmalloc(), which doesn't zero out memory. The array is filled in mwifiex_update_chan_statistics() and then the user can query the data in mwifiex_cfg80211_dump_survey(). There are two potential issues here. What if the user calls mwifiex_cfg80211_dump_survey() before the data has been filled in. Also the mwifiex_update_chan_statistics() function doesn't necessarily initialize the whole array. Since the array was not initialized at the start that could result in an information leak. Also this array is pretty small. It's a maximum of 900 bytes so it's more appropriate to use kcalloc() instead vmalloc().

📍 영향받는 시스템

Linux kernel (mwifiex driver 사용 시스템)

⚔️ 공격 벡터

로컬 사용자가 특정 시스템 호출을 통해 초기화되지 않은 커널 메모리 데이터를 조회하여 정보 유출

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하거나, 해당 드라이버의 vmalloc() 호출을 kcalloc()으로 수정

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel