🇰🇷 한글 설명
리눅스 커널의 devm_clk_notifier_register() 함수에서 메모리 누수 취약점이 발견되었습니다. 클록 알림(clk notifier)을 위한 devres 리소스가 장치에 등록되지 않아, 장치 분리 시 알림이 해제되지 않고 할당된 리소스가 계속 남아 있게 됩니다.
💡 쉬운 설명
컴퓨터 부품이 연결 해제될 때 사용하던 메모리를 제대로 돌려주지 않고 계속 붙잡고 있는 문제입니다. 이 현상이 반복되면 시스템의 메모리가 점차 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
clk: Fix memory leak in devm_clk_notifier_register()
devm_clk_notifier_register() allocates a devres resource for clk
notifier but didn't register that to the device, so the notifier didn't
get unregistered on device detach and the allocated resource was leaked.
Fix the issue by registering the resource through devres_add().
This issue was found with kmemleak on a Chromebook.
📍 영향받는 시스템
리눅스 커널 (devm_clk_notifier_register 함수를 사용하는 시스템)
⚔️ 공격 벡터
직접적인 공격보다는 시스템 가동 시간이 길어짐에 따라 발생하는 자원 고갈(Denial of Service) 위험
🛡️ 대응 방법
devres_add()를 통해 리소스를 올바르게 등록하도록 수정된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인