CVE-2026-90213 PUBLISHED

firewire: core: fix memory leak in error path of build_tree()

Assigner: Linux
Reserved: 11.09.2026 Published: 17.09.2026 Updated: 17.09.2026

In the Linux kernel, the following vulnerability has been resolved:

firewire: core: fix memory leak in error path of build_tree()

In the error path of build_tree(), node instances can remain in the local linked list when the function returns.

Whenever an invalid value is detected in the self ID sequence, each allocated node instance is either an entry in the linked list or an entry in the ports array of its parent node. Therefore, the allocate node instances can be safely released by traversing the linked list from its head.

Release the remaining node instances with for_each_fw_node() before returning to the caller.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 3038e353cfaf548eb94f02b172b9dbe412abd24c to 848eaef4d30b385eb074214b7fa58287506158ad (excl.)
  • affected from 3038e353cfaf548eb94f02b172b9dbe412abd24c to d6037e42aa4dd29bb9d9f67ef438128c5bfe3448 (excl.)
  • affected from 3038e353cfaf548eb94f02b172b9dbe412abd24c to 6a990e74d4e848f32eda91d69e4f885604fc326d (excl.)
  • affected from 3038e353cfaf548eb94f02b172b9dbe412abd24c to 05bfb1327dc5fb61528bab31cd8f0c1e4bddec23 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.22 is affected
  • unaffected from 0 to 2.6.22 (excl.)
  • unaffected from 6.12.110 to 6.12.* (incl.)
  • unaffected from 6.18.52 to 6.18.* (incl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References