🇰🇷 한글 설명
리눅스 커널의 thermal: of 구성 요소에서 등록 해제 시 메모리가 중복 해제되는 취약점이 발견되었습니다. 기존 코드의 구조적 문제로 인해 메모리 누수와 더불어 double-free 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 열을 관리하는 프로그램이 종료될 때, 이미 지운 메모리를 또 지우려고 시도하는 오류가 있습니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
thermal: of: fix double-free on unregistration
Since commit 3d439b1a2ad3 ("thermal/core: Alloc-copy-free the thermal
zone parameters structure"), thermal_zone_device_register() allocates
a copy of the tzp argument and frees it when unregistering, so
thermal_of_zone_register() now ends up leaking its original tzp and
double-freeing the tzp copy. Fix this by locating tzp on stack instead.
📍 영향받는 시스템
Linux kernel (thermal: of 관련 모듈 사용 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 조건에서 열 관리 장치를 등록 및 해제하는 과정을 통해 메모리 오류 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.