🇰🇷 한글 설명
Linux 커널의 airoha NPU 드라이버에서 of_node_put() 호출 시점이 부적절하여 발생하는 Use-After-Free 취약점입니다. np->name이 노드 해제 후 참조되어 메모리 오류를 유발할 수 있었으나, 패치를 통해 에러 체크 이후에 노드를 해제하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터의 핵심 부품인 커널에서 이미 사용이 끝난 메모리 영역을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이 문제가 발생하면 시스템이 갑자기 멈추거나 보안상 위험한 상태가 될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: airoha: fix potential use-after-free in airoha_npu_get()
np->name was being used after calling of_node_put(np), which
releases the node and can lead to a use-after-free bug.
Previously, of_node_put(np) was called unconditionally after
of_find_device_by_node(np), which could result in a use-after-free if
pdev is NULL.
This patch moves of_node_put(np) after the error check to ensure
the node is only released after both the error and success cases
are handled appropriately, preventing potential resource issues.
📍 영향받는 시스템
Linux kernel (airoha NPU driver 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 조건에서 드라이버를 조작하여 메모리 오류를 유발함으로써 권한 상승 또는 시스템 중단을 시도할 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.