🇰🇷 한글 설명
Linux 커널의 Rockchip inno-usb2 드라이버에서 rockchip_usb2phy_probe() 함수 호출 시 double free 취약점이 발견되었습니다. 루프 종료 후 오류가 발생할 경우 이미 해제된 노드를 다시 해제하려고 시도하여 메모리 오류를 유발합니다.
💡 쉬운 설명
컴퓨터 메모리를 관리하는 과정에서 이미 사용이 끝난 메모리 공간을 실수로 두 번 삭제하려고 시도하는 오류입니다. 이로 인해 시스템이 불안정해지거나 예기치 않게 종료될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
phy: rockchip: inno-usb2: Fix a double free bug in rockchip_usb2phy_probe()
The for_each_available_child_of_node() calls of_node_put() to
release child_np in each success loop. After breaking from the
loop with the child_np has been released, the code will jump to
the put_child label and will call the of_node_put() again if the
devm_request_threaded_irq() fails. These cause a double free bug.
Fix by returning directly to avoid the duplicate of_node_put().
📍 영향받는 시스템
Rockchip 프로세서를 사용하는 Linux 커널 기반 시스템 (inno-usb2 드라이버 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 하드웨어 초기화 과정을 유도하여 메모리 오류를 일으킬 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.