firewire: core: fix memory leak in error path of build_tree()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.110, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
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 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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 3038e353cfaf548eb94f02b172b9dbe412abd24c · fixed in 45c534c5bf43a094805a79510d1ea3ca261ea042; From 3038e353cfaf548eb94f02b172b9dbe412abd24c · fixed in 848eaef4d30b385eb074214b7fa58287506158ad; From 3038e353cfaf548eb94f02b172b9dbe412abd24c · fixed in d6037e42aa4dd29bb9d9f67ef438128c5bfe3448; From 3038e353cfaf548eb94f02b172b9dbe412abd24c · fixed in 6a990e74d4e848f32eda91d69e4f885604fc326d; From 3038e353cfaf548eb94f02b172b9dbe412abd24c · fixed in 05bfb1327dc5fb61528bab31cd8f0c1e4bddec23
- Linux Linux
2.6.22
- KernelLinux
From 2.6.22 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6