1. Home
  2. Vulnerabilities
  3. CVE-2026-89744

CVE-2026-89744

device property: fix infinite loop in fwnode_for_each_child_node()

Published 11 Sept 2026 · modified 30 Oct 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Low 35/100

Summary

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

Affected products and versions

Linux (8 line(s))
Linux
ProductVersionsFixed inSource
Linux from 5.10.253 (included) to 5.10.273 (excluded) — CNA (vendor or assigner)
Linux from 5.15.203 (included) to 5.15.224 (excluded) — CNA (vendor or assigner)
Linux from 6.1.167 (included) to 6.1.188 (excluded) — CNA (vendor or assigner)
Linux from 6.6.130 (included) to 6.6.157 (excluded) — CNA (vendor or assigner)
Linux from 6.12.78 (included) to 6.12.109 (excluded) — CNA (vendor or assigner)
Linux from 6.18.19 (included) to 6.18.50 (excluded) — CNA (vendor or assigner)
Linux from 6.19.9 (included) to 6.20 (excluded) — CNA (vendor or assigner)
Linux 7.0 — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)
  2. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1289)
  3. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1375)
  4. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1385)
  5. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1469)
  6. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1470)
  7. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1535)
  8. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1537)
  9. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1593)
  10. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1596)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)

How this data is obtained and calculated