🇰🇷 한글 설명
Linux 커널의 rtw88 Wi-Fi 드라이버에서 rtw_fw_adaptivity_result() 함수가 chip->edcca_th를 참조할 때 NULL 체크를 수행하지 않아 발생하는 취약점입니다. 8821CE 칩을 사용하는 장치에서 해당 값이 정의되지 않아 NULL 역참조가 발생하며, 이로 인해 커널 Oops(시스템 오류)가 유발될 수 있습니다.
💡 쉬운 설명
특정 Wi-Fi 칩을 사용하는 컴퓨터에서 무선 랜 드라이버가 잘못된 메모리 주소를 참조하여 시스템이 갑자기 멈추거나 오류가 발생하는 문제입니다. 드라이버가 데이터가 있는지 확인하지 않고 바로 사용하려고 할 때 발생하는 현상입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: rtw88: Add NULL check for chip->edcca_th in rtw_fw_adaptivity_result()
It was recently reported that rtw_fw_adaptivity_result()
in fw.c dereferences rtwdev->chip->edcca_th without
a NULL check. The issue is that devices with the
8821CE chip don't define edcca_th in their chip
info. As a result, when rtw_fw_adaptivity_result()
tries to dereference it, the kernel triggers an oops.
Add a NULL check for edcca_th before dereferencing
it in rtw_fw_adaptivity_result() in fw.c. Placing
the check at the function entry avoids logging any
garbage values.
This change does not address the root cause for
this behavior, but it prevents the NULL dereference
and the resulting oops while a more permanent solution
is developed.
Tested on a 8822CE chip which defines edcca_th, so
this issue is not present on it, but it still uses
this driver and I can verify there are no regressions.
📍 영향받는 시스템
Linux kernel (rtw88 driver using 8821CE chip)
⚔️ 공격 벡터
로컬 또는 네트워크를 통한 특정 Wi-Fi 동작 유도로 커널 패닉 유도 (Denial of Service)
🛡️ 대응 방법
Linux 커널을 최신 버전으로 업데이트하여 rtw88 드라이버의 NULL 체크 패치가 적용된 버전을 사용하십시오.
🔧 검증 코드
현재 커널 버전과 rtw88 모듈 정보를 확인하여 해당 패치가 적용된 최신 커널인지 확인합니다.
uname -r && modinfo rtw88 | grep -i version
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux