Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
3038e353cfaf548eb94f02b172b9dbe412abd24c to < 026b44ad1037a89da04e9985246376c7adb52be6affected3038e353cfaf548eb94f02b172b9dbe412abd24c to < 45c534c5bf43a094805a79510d1ea3ca261ea042affected3038e353cfaf548eb94f02b172b9dbe412abd24c to < 848eaef4d30b385eb074214b7fa58287506158adaffected3038e353cfaf548eb94f02b172b9dbe412abd24c to < d6037e42aa4dd29bb9d9f67ef438128c5bfe3448affected3038e353cfaf548eb94f02b172b9dbe412abd24c to < 6a990e74d4e848f32eda91d69e4f885604fc326daffected3038e353cfaf548eb94f02b172b9dbe412abd24c to < 05bfb1327dc5fb61528bab31cd8f0c1e4bddec23affected
Linux Linux
Default version status: affected
2.6.22affected0 to < 2.6.22unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/026b44ad1037a89da04e9985246376c7adb52be6 ↗
- 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 ↗