firewire: core: fix memory leak in error path of build_tree()
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.
CVE-2026-90213
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-90213
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3038e353cfaf548eb94f02b172b9dbe412abd24c",
"lessThan": "45c534c5bf43a094805a79510d1ea3ca261ea042",
"versionType": "git"
},
{
"status": "affected",
"version": "3038e353cfaf548eb94f02b172b9dbe412abd24c",
"lessThan": "848eaef4d30b385eb074214b7fa58287506158ad",
"versionType": "git"
},
{
"status": "affected",
"version": "3038e353cfaf548eb94f02b172b9dbe412abd24c",
"lessThan": "d6037e42aa4dd29bb9d9f67ef438128c5bfe3448",
"versionType": "git"
},
{
"status": "affected",
"version": "3038e353cfaf548eb94f02b172b9dbe412abd24c",
"lessThan": "6a990e74d4e848f32eda91d69e4f885604fc326d",
"versionType": "git"
},
{
"status": "affected",
"version": "3038e353cfaf548eb94f02b172b9dbe412abd24c",
"lessThan": "05bfb1327dc5fb61528bab31cd8f0c1e4bddec23",
"versionType": "git"
}
],
"programFiles": [
"drivers/firewire/core-topology.c",
"drivers/firewire/node-tree-test.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.22"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "2.6.22",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/firewire/core-topology.c",
"drivers/firewire/node-tree-test.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90213
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48638 · Revision 1
- Added to Heist Feed
- Publisher date