---
id: CVE-2026-90213
title: |-
  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 r…
summary: |-
  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 r…
severity: medium
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 3038e353cfaf548eb94f02b172b9dbe412abd24c <
    848eaef4d30b385eb074214b7fa58287506158ad
  - >-
    Linux >= 3038e353cfaf548eb94f02b172b9dbe412abd24c <
    d6037e42aa4dd29bb9d9f67ef438128c5bfe3448
  - >-
    Linux >= 3038e353cfaf548eb94f02b172b9dbe412abd24c <
    6a990e74d4e848f32eda91d69e4f885604fc326d
  - >-
    Linux >= 3038e353cfaf548eb94f02b172b9dbe412abd24c <
    05bfb1327dc5fb61528bab31cd8f0c1e4bddec23
  - Linux 2.6.22
published: '2026-09-17'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T17:17:16.533'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90213'
references:
  - url: 'https://git.kernel.org/stable/c/05bfb1327dc5fb61528bab31cd8f0c1e4bddec23'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6a990e74d4e848f32eda91d69e4f885604fc326d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/848eaef4d30b385eb074214b7fa58287506158ad'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d6037e42aa4dd29bb9d9f67ef438128c5bfe3448'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-90213.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-90213'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2536370'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-90213'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90213'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-90213.mbox
  - url: 'https://git.kernel.org/stable/c/45c534c5bf43a094805a79510d1ea3ca261ea042'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ingestedAt: '2026-09-17T16:21:47.857Z'
epss: 0.00207
epssPercentile: 0.10757
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-772
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat OpenShift Container Platform 4 · updated 2026-10-05 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-90213.json)
