Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix memory leak in lpfc_sli4_driver_resource_setup() The memory allocated for mboxq using mempool_alloc() is not freed in some of the early exit error paths. Fix that by moving the mempool_free() call to an earlier point after last use.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d79c9e9d4b3d9330ee38f392a7c98e0fc494f7f8 before 4d920852c0a3cfbcb42bcd2680b091f5c0072fc2; affected d79c9e9d4b3d9330ee38f392a7c98e0fc494f7f8 before 7795037f15289ac1ed620603511b67d820a93762; affected d79c9e9d4b3d9330ee38f392a7c98e0fc494f7f8 before 299f5baa1321a0951cc3ebbacc72b67433a65391; affected d79c9e9d4b3d9330ee38f392a7c98e0fc494f7f8 before c3f4e407661542d1d284fc889cf9f27afd11b3d3; affected d79c9e9d4b3d9330ee38f392a7c98e0fc494f7f8 before 25cac8a302626f59ca84fa3339e2506c3ac761bc; affected d79c9e9d4b3d9330ee38f392a7c98e0fc494f7f8 before ed08497977820e002a62cb114440f365cc7a087f; affected d79c9e9d4b3d9330ee38f392a7c98e0fc494f7f8 before 0ce5a37f7ddf2fc12210e8700350274da79fbb3a; affected d79c9e9d4b3d9330ee38f392a7c98e0fc494f7f8 before 1bd28625e25be549ee7c47532e7c3ef91c682410 |
| Linux / Linux | affected 5.4; unaffected 0 before 5.4; unaffected 5.10.266 through 5.10.*; unaffected 5.15.217 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/4d920852c0a3cfbcb42bcd2680b091f5c0072fc2
- https://git.kernel.org/stable/c/7795037f15289ac1ed620603511b67d820a93762
- https://git.kernel.org/stable/c/299f5baa1321a0951cc3ebbacc72b67433a65391
- https://git.kernel.org/stable/c/c3f4e407661542d1d284fc889cf9f27afd11b3d3
- https://git.kernel.org/stable/c/25cac8a302626f59ca84fa3339e2506c3ac761bc
- https://git.kernel.org/stable/c/ed08497977820e002a62cb114440f365cc7a087f
- https://git.kernel.org/stable/c/0ce5a37f7ddf2fc12210e8700350274da79fbb3a
- https://git.kernel.org/stable/c/1bd28625e25be549ee7c47532e7c3ef91c682410