🔍 CVE-2024-47724

8.8
CVSS Score
HIGH
2024-10-21
2026-08-04 11:20
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ath11k 드라이버에서 RCU 읽기 측 임계 구역 내에서 수면이 가능한 함수를 직접 호출하여 발생하는 취약점입니다. 이로 인해 원자적 컨텍스트(atomic context)에서 잠들게 되어 시스템 불안정이나 커널 패닉을 유발할 수 있습니다.

💡 쉬운 설명

무선 랜 드라이버가 작업을 처리하는 과정에서 시스템의 규칙을 어기고 멈춰버릴 수 있는 동작을 수행하는 문제입니다. 이로 인해 컴퓨터가 갑자기 멈추거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: use work queue to process beacon tx event Commit 3a415daa3e8b ("wifi: ath11k: add P2P IE in beacon template") from Feb 28, 2024 (linux-next), leads to the following Smatch static checker warning: drivers/net/wireless/ath/ath11k/wmi.c:1742 ath11k_wmi_p2p_go_bcn_ie() warn: sleeping in atomic context The reason is that ath11k_bcn_tx_status_event() will directly call might sleep function ath11k_wmi_cmd_send() during RCU read-side critical sections. The call trace is like: ath11k_bcn_tx_status_event() -> rcu_read_lock() -> ath11k_mac_bcn_tx_event() -> ath11k_mac_setup_bcn_tmpl() …… -> ath11k_wmi_bcn_tmpl() -> ath11k_wmi_cmd_send() -> rcu_read_unlock() Commit 886433a98425 ("ath11k: add support for BSS color change") added the ath11k_mac_bcn_tx_event(), commit 01e782c89108 ("ath11k: fix warning of RCU usage for ath11k_mac_get_arvif_by_vdev_id()") added the RCU lock to avoid warning but also introduced this BUG. Use work queue to avoid directly calling ath11k_mac_bcn_tx_event() during RCU critical sections. No need to worry about the deletion of vif because cancel_work_sync() will drop the work if it doesn't start or block vif deletion until the running work is done. Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.30

📍 영향받는 시스템

Linux kernel (ath11k driver 사용 시스템)

⚔️ 공격 벡터

특정 무선 네트워크 이벤트(Beacon TX status event)를 유도하여 커널 오류 유발

🛡️ 대응 방법

Linux 커널을 최신 패치가 적용된 버전으로 업데이트 (Work queue 방식 적용 버전)

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel