🇰🇷 한글 설명
Linux 커널의 musb omap2430 드라이버에서 omap2430_probe() 함수 호출 시 발생하는 Use-After-Free 취약점입니다. np 노드의 참조 횟수가 0이 되기 전에 of_node_put(np)가 조기에 호출되어, 이후 해당 노드에 다시 접근할 때 메모리 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품을 인식하는 과정에서 이미 사용이 끝났다고 표시된 메모리 영역을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
usb: musb: omap2430: Fix use-after-free in omap2430_probe()
In omap2430_probe(), of_node_put(np) is called prematurely before the
last access to np, leading to a use-after-free if the node's reference
count drops to zero. Move the of_node_put() calls after the last use of
np in both the success and error paths.
📍 영향받는 시스템
Linux kernel (musb: omap2430 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 하드웨어 드라이버 초기화 과정을 유도하여 메모리 오류를 일으킴
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 of_node_put() 호출 위치를 수정해야 함
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.