🇰🇷 한글 설명
리눅스 커널의 thermal netlink 코드에서 thermal_zone_get_by_id() 함수를 통해 반환된 thermal zone 객체가 사용 중에 해제될 수 있는 취약점이 발견되었습니다. 이를 해결하기 위해 thermal_zone_get_by_id() 호출 시 get_device()를 사용하여 참조 횟수를 증가시키고 cleanup.h 인프라를 통해 관리하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터의 온도를 조절하는 장치 정보가 사용되는 도중에 갑자기 사라져서 시스템에 오류가 발생할 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 예기치 않은 동작이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
thermal: core: Reference count the zone in thermal_zone_get_by_id()
There are places in the thermal netlink code where nothing prevents
the thermal zone object from going away while being accessed after it
has been returned by thermal_zone_get_by_id().
To address this, make thermal_zone_get_by_id() get a reference on the
thermal zone device object to be returned with the help of get_device(),
under thermal_list_lock, and adjust all of its callers to this change
with the help of the cleanup.h infrastructure.
📍 영향받는 시스템
Linux Kernel (thermal subsystem 관련 버전)
⚔️ 공격 벡터
로컬 공격자가 thermal netlink를 통해 특정 시점에 객체 참조를 해제시켜 Race Condition 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인