bnx2x: fix potential memory leak in bnx2x_alloc_mem_bp()
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 89% of all CVEs
observed exploitation
nono source reports it
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
Linux · LinuxReferences
https://git.kernel.org/stable/c/356077547b1afa34a8ebae77176a577631a89041https://git.kernel.org/stable/c/5576ee19a6a4aa111c61ce974e70bb79e7bb3952https://git.kernel.org/stable/c/58594ed2a2f859ffb93edbbfa4aabb7739bea383https://git.kernel.org/stable/c/6c98ccdb9a0967e04a7b1866eb0d97c0c8c0e403https://git.kernel.org/stable/c/6d46eaa1e4c078ad674908e24b86e431a7fd4b15https://git.kernel.org/stable/c/7d8d454b5d24dbad346cd57ef315e7bf1ee8e856https://git.kernel.org/stable/c/a986fde914d88af47eb78fd29c5d1af7952c3500https://git.kernel.org/stable/c/c51b280b9cd3c9e97bf2cde33bb795c511f09669