Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 before 58594ed2a2f859ffb93edbbfa4aabb7739bea383; affected 15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 before c51b280b9cd3c9e97bf2cde33bb795c511f09669; affected 15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 before 6d46eaa1e4c078ad674908e24b86e431a7fd4b15; affected 15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 before 5576ee19a6a4aa111c61ce974e70bb79e7bb3952; affected 15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 before 7d8d454b5d24dbad346cd57ef315e7bf1ee8e856; affected 15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 before 6c98ccdb9a0967e04a7b1866eb0d97c0c8c0e403; affected 15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 before 356077547b1afa34a8ebae77176a577631a89041; affected 15192a8cf8a8d16e0ff38a144c8a4630c94f9fd6 before a986fde914d88af47eb78fd29c5d1af7952c3500 |
| Linux / Linux | affected 3.6; unaffected 0 before 3.6; unaffected 5.10.261 through 5.10.*; unaffected 5.15.212 through 5.15.*; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
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