🇰🇷 한글 설명
리눅스 커널의 ma35d1 시리얼 드라이버에서 클록 참조 누수 취약점이 발견되었습니다. ma35d1serial_probe() 함수가 클록 참조를 해제하지 않아 오류 발생 시나 포트 제거 시 메모리 및 자원이 누수되는 문제입니다.
💡 쉬운 설명
컴퓨터 부품을 작동시키기 위해 빌려온 '시간 신호'를 사용 후 돌려주지 않아 자원이 낭비되는 문제입니다. 이 문제가 반복되면 시스템의 자원이 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
serial: ma35d1: Fix clock reference leak in ma35d1serial_probe()
of_clk_get() returns a clock with a reference that has to be released
with clk_put(). ma35d1serial_probe() never does that, so the reference
is leaked on the probe error paths and also when the port is removed.
Release it on the error paths and in ma35d1serial_remove().
📍 영향받는 시스템
ma35d1 시리얼 드라이버를 사용하는 Linux Kernel
⚔️ 공격 벡터
로컬 자원 고갈 (Resource Exhaustion)
🛡️ 대응 방법
커널 패치를 통해 ma35d1serial_probe()의 오류 경로 및 ma35d1serial_remove()에 clk_put() 호출 추가
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 최신 버전인지 확인합니다.