🇰🇷 한글 설명
Linux 커널의 amd-pstate 드라이버 내 amd_pstate_epp_cpu_init() 함수에서 메모리 누수 취약점이 발견되었습니다. EPP 설정 실패 시 할당된 cpudata 객체를 해제하지 않고 오류를 반환하여 메모리가 낭비되는 문제입니다.
💡 쉬운 설명
컴퓨터의 전력 관리 기능을 설정하다가 오류가 발생하면, 사용했던 메모리를 다시 돌려주지 않고 계속 붙잡고 있는 버그입니다. 이 문제가 반복되면 시스템의 메모리가 점점 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init()
On failure to set the epp, the function amd_pstate_epp_cpu_init()
returns with an error code without freeing the cpudata object that was
allocated at the beginning of the function.
Ensure that the cpudata object is freed before returning from the
function.
This memory leak was discovered by Claude Opus 4.6 with the aid of
Chris Mason's AI review-prompts
(https://github.com/masoncl/review-prompts/tree/main/kernel).
📍 영향받는 시스템
amd-pstate 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
직접적인 공격보다는 시스템의 지속적인 메모리 고갈을 유발할 수 있는 로컬/원격 조건부 상황
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 최신 버전인지 배포판 보안 공지를 통해 확인