Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 3038e353cfaf548eb94f02b172b9dbe412abd24c before 45c534c5bf43a094805a79510d1ea3ca261ea042; affected 3038e353cfaf548eb94f02b172b9dbe412abd24c before 848eaef4d30b385eb074214b7fa58287506158ad; affected 3038e353cfaf548eb94f02b172b9dbe412abd24c before d6037e42aa4dd29bb9d9f67ef438128c5bfe3448; affected 3038e353cfaf548eb94f02b172b9dbe412abd24c before 6a990e74d4e848f32eda91d69e4f885604fc326d; affected 3038e353cfaf548eb94f02b172b9dbe412abd24c before 05bfb1327dc5fb61528bab31cd8f0c1e4bddec23 |
| Linux / Linux | affected 2.6.22; unaffected 0 before 2.6.22; unaffected 6.6.160 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- 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