# CVE-2026-90213: firewire: core: fix memory leak in error path of build_tree()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 7% of CVEs (2026-11-30)
- Published: 2026-09-17T16:07:26.756Z
- Modified: 2026-10-30T13:20:46.653Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3038e353cfaf548eb94f02b172b9dbe412abd24c before 026b44ad1037a89da04e9985246376c7adb52be6; from 3038e353cfaf548eb94f02b172b9dbe412abd24c before 45c534c5bf43a094805a79510d1ea3ca261ea042; from 3038e353cfaf548eb94f02b172b9dbe412abd24c before 848eaef4d30b385eb074214b7fa58287506158ad; from 3038e353cfaf548eb94f02b172b9dbe412abd24c before d6037e42aa4dd29bb9d9f67ef438128c5bfe3448; from 3038e353cfaf548eb94f02b172b9dbe412abd24c before 6a990e74d4e848f32eda91d69e4f885604fc326d; from 3038e353cfaf548eb94f02b172b9dbe412abd24c before 05bfb1327dc5fb61528bab31cd8f0c1e4bddec23; 2.6.22 (not affected: before 2.6.22; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/026b44ad1037a89da04e9985246376c7adb52be6>
- <https://git.kernel.org/stable/c/45c534c5bf43a094805a79510d1ea3ca261ea042>
- <https://git.kernel.org/stable/c/848eaef4d30b385eb074214b7fa58287506158ad>
- <https://git.kernel.org/stable/c/d6037e42aa4dd29bb9d9f67ef438128c5bfe3448>
- <https://git.kernel.org/stable/c/6a990e74d4e848f32eda91d69e4f885604fc326d>
- <https://git.kernel.org/stable/c/05bfb1327dc5fb61528bab31cd8f0c1e4bddec23>

## Sources

- CVE List: [CVE-2026-90213](https://www.cve.org/CVERecord?id=CVE-2026-90213), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-90213](https://nvd.nist.gov/vuln/detail/CVE-2026-90213), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-90213 · Whole record: https://cve.day/CVE-2026-90213.json · Rebuilt by cve.day 2026-11-25T22:59:39.344Z
