{"id":21666,"date":"2026-09-12T04:31:29","date_gmt":"2026-09-11T20:31:29","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89744"},"modified":"2026-09-12T04:31:29","modified_gmt":"2026-09-11T20:31:29","slug":"cve-2026-89744","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89744","title":{"rendered":"CVE-2026-89744 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ndevice property: fix"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>device property: fix infinite loop in fwnode_for_each_child_node()<\/p>\n<p>When iterate over children of a fwnode that has a secondary fwnode,<br \/>\nfwnode_get_next_child_node() can enter an infinite loop if the secondary<br \/>\nfwnode has more than one child.<\/p>\n<p>                       Parent        Child<br \/>\n      (Primary fwnode)   FWa:   {FWa1, FWa2, FWa3}<br \/>\n    (Secondary fwnode)   FWb:   {FWb1, FWb2}<\/p>\n<p>In this case:<\/p>\n<p> \u250c\u2500&gt; fwnode_get_next_child_node(FWa, FWa1)<br \/>\n \u2502    &#8211; fwnode_call_ptr_op(FWa, get_next_child_node, FWa1) returns FWa2<br \/>\n \u2502<br \/>\n \u2502   &#8230;<br \/>\n \u2502<br \/>\n \u2502   fwnode_get_next_child_node(FWa, FWa3)<br \/>\n \u2502    &#8211; fwnode_call_ptr_op(FWa, get_next_child_node, FWa3) returns NULL<br \/>\n \u2502    &#8211; fwnode_call_ptr_op(FWb, get_next_child_node, FWa3) returns FWb1<br \/>\n \u2502<br \/>\n \u2502   fwnode_get_next_child_node(FWa, FWb1)<br \/>\n \u2502    &#8211; fwnode_call_ptr_op(FWa, get_next_child_node, FWb1) returns FWa1<br \/>\n \u2514\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>This cause fwnode_for_each_child_node() to loop indefinitely, reapeatedly<br \/>\noutput {FWa1, FWa2, FWa3, FWb1, FWa1, &#8230;}.<\/p>\n<p>The root cause is that when the current child (FWb1) belongs to the<br \/>\nsecondary fwnode, calling get_next_child_node() on the parimary fwnode<br \/>\nincorrectly returns the first child (FWa1) again instead of NULL.<\/p>\n<p>Fix this by dynamically checking the parent fwnode of the current child<br \/>\nbefore calling get_next_child_node(). This approach follows the pattern<br \/>\nestablished in commit b5b41ab6b0c1 (&#8220;device property: Check<br \/>\nfwnode-&gt;secondary in fwnode_graph_get_next_endpoint()&#8221;).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>device property: fix infinite loop in fwnode_for_each_child_node()<\/p>\n<p>When iterate over children of a fwnode that has a secondary fwn<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21666","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}