🔍 CVE-2026-89744

8.4
CVSS Score
HIGH
2026-09-11
2026-10-19 09:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 fwnode_for_each_child_node() 함수에서 보조 fwnode를 가진 경우 무한 루프가 발생하는 취약점입니다. 특정 조건에서 자식 노드를 순회할 때 다음 노드를 찾는 과정이 잘못되어 동일한 노드들을 반복적으로 탐색하게 됩니다.

💡 쉬운 설명

컴퓨터가 장치 정보를 읽을 때 목록을 끝까지 읽지 못하고 같은 항목을 계속해서 뱅글뱅글 도는 오류가 발생합니다. 이로 인해 시스템이 멈추거나 응답하지 않는 상태가 될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: device property: fix infinite loop in fwnode_for_each_child_node() When iterate over children of a fwnode that has a secondary fwnode, fwnode_get_next_child_node() can enter an infinite loop if the secondary fwnode has more than one child. Parent Child (Primary fwnode) FWa: {FWa1, FWa2, FWa3} (Secondary fwnode) FWb: {FWb1, FWb2} In this case: ┌─> fwnode_get_next_child_node(FWa, FWa1) │ - fwnode_call_ptr_op(FWa, get_next_child_node, FWa1) returns FWa2 │ │ ... │ │ fwnode_get_next_child_node(FWa, FWa3) │ - fwnode_call_ptr_op(FWa, get_next_child_node, FWa3) returns NULL │ - fwnode_call_ptr_op(FWb, get_next_child_node, FWa3) returns FWb1 │ │ fwnode_get_next_child_node(FWa, FWb1) │ - fwnode_call_ptr_op(FWa, get_next_child_node, FWb1) returns FWa1 └────┘ This cause fwnode_for_each_child_node() to loop indefinitely, reapeatedly output {FWa1, FWa2, FWa3, FWb1, FWa1, ...}. The root cause is that when the current child (FWb1) belongs to the secondary fwnode, calling get_next_child_node() on the parimary fwnode incorrectly returns the first child (FWa1) again instead of NULL. Fix this by dynamically checking the parent fwnode of the current child before calling get_next_child_node(). This approach follows the pattern established in commit b5b41ab6b0c1 ("device property: Check fwnode->secondary in fwnode_graph_get_next_endpoint()").

📍 영향받는 시스템

Linux Kernel (fwnode 관련 기능 사용 시스템)

⚔️ 공격 벡터

악의적으로 구성된 보조 fwnode를 통해 커널의 자식 노드 순회 로직을 트리거하여 무한 루프 유발

🛡️ 대응 방법

커널 패치를 적용하여 fwnode 순회 시 부모 노드를 동적으로 확인하도록 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel