Description
In the Linux kernel, the following vulnerability has been resolved: bnx2x: fix potential memory leak in bnx2x_alloc_mem_bp() If the allocation of fp[i].tpa_info fails, the error path will not free the struct bnx2x_fastpath allocated earlier, as it is not linked to the bp structure yet. Fix that by linking it immediately after allocation.
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
15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 to < 58594ed2a2f859ffb93edbbfa4aabb7739bea383affected15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 to < c51b280b9cd3c9e97bf2cde33bb795c511f09669affected15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 to < 6d46eaa1e4c078ad674908e24b86e431a7fd4b15affected15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 to < 5576ee19a6a4aa111c61ce974e70bb79e7bb3952affected15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 to < 7d8d454b5d24dbad346cd57ef315e7bf1ee8e856affected15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 to < 6c98ccdb9a0967e04a7b1866eb0d97c0c8c0e403affected15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 to < 356077547b1afa34a8ebae77176a577631a89041affected15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 to < a986fde914d88af47eb78fd29c5d1af7952c3500affected
Linux Linux
Default version status: affected
3.6affected0 to < 3.6unaffected5.10.261 to ≤ 5.10.*unaffected5.15.212 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/58594ed2a2f859ffb93edbbfa4aabb7739bea383 ↗
- https://git.kernel.org/stable/c/c51b280b9cd3c9e97bf2cde33bb795c511f09669 ↗
- https://git.kernel.org/stable/c/6d46eaa1e4c078ad674908e24b86e431a7fd4b15 ↗
- https://git.kernel.org/stable/c/5576ee19a6a4aa111c61ce974e70bb79e7bb3952 ↗
- https://git.kernel.org/stable/c/7d8d454b5d24dbad346cd57ef315e7bf1ee8e856 ↗
- https://git.kernel.org/stable/c/6c98ccdb9a0967e04a7b1866eb0d97c0c8c0e403 ↗
- https://git.kernel.org/stable/c/356077547b1afa34a8ebae77176a577631a89041 ↗
- https://git.kernel.org/stable/c/a986fde914d88af47eb78fd29c5d1af7952c3500 ↗