🇰🇷 한글 설명
리눅스 커널의 peci: cpu 드라이버에서 adev_release() 함수 호출 시 Use-After-Free 취약점이 발생합니다. auxiliary_device_add()가 오류를 반환할 때 auxiliary_device_uninit()이 호출되면서 참조 횟수가 감소하고, 이로 인해 이미 해제된 메모리에 다시 접근하게 됩니다.
💡 쉬운 설명
컴퓨터 운영체제의 핵심 부분에서 이미 사용이 끝나서 삭제된 메모리 공간을 다시 사용하려고 시도하는 오류가 발견되었습니다. 이 오류로 인해 시스템이 갑자기 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
peci: cpu: Fix use-after-free in adev_release()
When auxiliary_device_add() returns an error, auxiliary_device_uninit()
is called, which causes refcount for device to be decremented and
.release callback will be triggered.
Because adev_release() re-calls auxiliary_device_uninit(), it will cause
use-after-free:
[ 1269.455172] WARNING: CPU: 0 PID: 14267 at lib/refcount.c:28 refcount_warn_saturate+0x110/0x15
[ 1269.464007] refcount_t: underflow; use-after-free.
📍 영향받는 시스템
Linux Kernel (peci: cpu 드라이버 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 장치 초기화 오류를 유도하여 커널 메모리 오류를 일으킴
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인