firewire: core: fix memory leak in error path of build_tree()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 026b44ad1037a89da04e9985246376c7adb52be6, Kernel 05bfb1327dc5fb61528bab31cd8f0c1e4bddec23, Kernel 45c534c5bf43a094805a79510d1ea3ca261ea042 and 3 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.22, >=3038e353cfaf548eb94f02b172b9dbe412abd24c <026b44ad1037a89da04e9985246376c7adb52be6, >=3038e353cfaf548eb94f02b172b9dbe412abd24c <05bfb1327dc5fb61528bab31cd8f0c1e4bddec23, >=3038e353cfaf548eb94f02b172b9dbe412abd24c <45c534c5bf43a094805a79510d1ea3ca261ea042, >=3038e353cfaf548eb94f02b172b9dbe412abd24c <6a990e74d4e848f32eda91d69e4f885604fc326d, >=3038e353cfaf548eb94f02b172b9dbe412abd24c <848eaef4d30b385eb074214b7fa58287506158ad, >=3038e353cfaf548eb94f02b172b9dbe412abd24c <d6037e42aa4dd29bb9d9f67ef438128c5bfe3448 | 026b44ad1037a89da04e9985246376c7adb52be6, 05bfb1327dc5fb61528bab31cd8f0c1e4bddec23, 45c534c5bf43a094805a79510d1ea3ca261ea042, 6a990e74d4e848f32eda91d69e4f885604fc326d, 848eaef4d30b385eb074214b7fa58287506158ad, d6037e42aa4dd29bb9d9f67ef438128c5bfe3448 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket