kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-89744 device property: fix infinite loop in fwnode_for_each_child_node()

설명

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()").

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.10.253 이상 5.10.273 미만
    • 5.15.203 이상 5.15.224 미만
    • 6.1.167 이상 6.1.188 미만
    • 6.6.130 이상 6.6.157 미만
    • 6.12.78 이상 6.12.109 미만
    • 6.18.19 이상 6.18.50 미만
    • 6.19.9 이상 6.20 미만
    • 7.0

    해결 버전

    • 5.10.273 이상
    • 5.15.224 이상
    • 6.1.188 이상
    • 6.6.157 이상
    • 6.12.109 이상
    • 6.18.50 이상
    • 6.20 이상
    • 7.0 미만
    외 1개 구간 펼치기
    • 7.2.4 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의