🔍 CVE-2026-90126

0.0
CVSS Score
UNKNOWN
2026-09-17
2026-10-19 09:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 pcf8563 RTC 드라이버에서 장치 해제 시 클록 제공자(clock provider)가 제대로 해제되지 않는 메모리 누수 취약점이 발견되었습니다. 이로 인해 장치를 반복적으로 바인딩하거나 언바인딩할 때마다 구조체와 OF 노드 참조가 누수됩니다. 이를 해결하기 위해 devm_of_clk_add_hw_provider()를 사용하여 장치 해제 시 자동으로 리소스가 해제되도록 수정되었습니다.

💡 쉬운 설명

컴퓨터 부품인 시계 장치를 껐다 켤 때마다 시스템의 메모리가 조금씩 낭비되는 문제가 있었습니다. 이 문제가 계속되면 결국 시스템 자원이 부족해질 수 있는데, 이를 자동으로 정리하도록 고쳤습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: rtc: pcf8563: fix clock provider leak on unbind pcf8563_clkout_register_clk() registers the CLKOUT clock provider with of_clk_add_provider(), but nothing ever unwinds it: there is no of_clk_del_provider() call and the driver has no remove callback. Each of_clk_add_provider() allocates a struct of_clk_provider, takes a reference on the OF node and adds an entry to the global of_clk_providers list, none of which is released when the device is unbound. Every bind/unbind (or module reload) therefore leaks a provider structure and an of_node reference. The clock itself is already device-managed (devm_clk_register()); only the provider registration was not. Use devm_of_clk_add_hw_provider() so the provider is removed automatically on unbind. Tie it to the parent i2c device, whose OF node carries the #clock-cells and clock-output-names properties (the RTC class device has no OF node of its own).

📍 영향받는 시스템

Linux kernel (pcf8563 driver 사용 시스템)

⚔️ 공격 벡터

로컬 공격자가 드라이버를 반복적으로 로드/언로드하여 시스템 자원을 고갈시키는 DoS(서비스 거부) 공격 가능

🛡️ 대응 방법

pcf8563 드라이버가 포함된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel