🇰🇷 한글 설명
리눅스 커널의 Samsung Exynos PMU 드라이버에서 인터럽트 생성 노드의 참조 횟수를 잘못 관리하여 발생하는 Use-After-Free 취약점입니다. 리소스 주소를 가져온 직후 노드를 해제하여, 이후 해당 포인터를 사용할 때 메모리 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 사용 중인 메모리 정보를 너무 빨리 지워버려서, 나중에 그 정보를 다시 쓰려고 할 때 오류가 발생하는 문제입니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
soc: samsung: exynos-pmu: fix use-after-free of interrupt generator node
The setup_cpuhp_and_cpuidle() parses the device tree node for the
interrupt generation block via of_parse_phandle() and decrements its
reference count using of_node_put() immediately after fetching the resource
address. However, later the intr_gen_node pointer is passed into
of_syscon_register_regmap().
Fix this by declaring intr_gen_node with __free() and removing
of_node_put().
📍 영향받는 시스템
Samsung Exynos 프로세서를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
로컬 공격자가 커널 메모리 조작을 통해 시스템 권한을 획득하거나 서비스 거부(DoS) 유발
🛡️ 대응 방법
커널 패치를 적용하여 인터럽트 생성 노드 관리에 __free() 매크로를 사용하도록 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인