🇰🇷 한글 설명
Linux 커널의 cpufreq 구성 요소 중 amd-pstate-ut 드라이버에서 발생하는 취약점입니다. Intel 플랫폼에서 amd_pstate_ut 모듈을 로드할 때 AMD P-State 드라이버가 활성화되어 있지 않으면 커널 NULL 포인터 역참조로 인해 시스템 충돌(Crash)이 발생할 수 있습니다.
💡 쉬운 설명
AMD CPU를 위한 기능을 Intel CPU가 탑재된 컴퓨터에서 강제로 실행하려고 할 때 컴퓨터가 갑자기 멈추거나 꺼지는 문제입니다. 드라이버가 현재 사용 중인 CPU가 AMD인지 확인하는 절차가 누락되어 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
cpufreq: amd-pstate-ut: Skip tests when amd-pstate driver is not active
The crash issue may occur when modprobe amd_pstate_ut on intel platform.
amd_pstate_ut: 1 amd_pstate_ut_acpi_cpc_valid success!
amd_pstate_ut: 2 amd_pstate_ut_check_enabled success!
BUG: kernel NULL pointer dereference, address: 0000000000000080
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 0 P4D 0
Oops: 0000 [#1] SMP NOPTI
CPU: 0 PID: 20300 Comm: modprobe
Kdump: loaded Tainted: G O 6.6.0-0010.rc1.ctl4.x86_64 #1
Hardware name: FiberHome R2200 V5/Xeon Boards, BIOS 3.1a 02/24/2020
RIP: 0010:amd_pstate_ut_check_perf+0x141/0x280 [amd_pstate_ut]
Call Trace:
<TASK>
amd_pstate_ut_init+0x1b/0xff0 [amd_pstate_ut]
? __pfx_amd_pstate_ut_init+0x10/0x10 [amd_pstate_ut]
do_one_initcall+0x42/0x2e0
? kmalloc_trace+0x26/0x90
do_init_module+0x60/0x240
__se_sys_init_module+0x185/0x1c0
do_syscall_64+0x62/0x190
entry_SYSCALL_64_after_hwframe+0x76/0x7e
</TASK>
Add state detection to amd pstate driver to prevent amd_pstate_ut driver
from testing on non-AMD platforms.
(ML: adjust title)
📍 영향받는 시스템
Linux kernel (amd-pstate-ut 드라이버를 사용하는 환경, 특히 Intel 플랫폼에서 모듈 로드 시)
⚔️ 공격 벡터
로컬 공격자가 권한을 이용해 amd_pstate_ut 모듈을 강제로 로드(modprobe)하여 시스템을 다운시킬 수 있음 (DoS)
🛡️ 대응 방법
AMD P-State 상태 감지 로직이 포함된 최신 Linux 커널 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.