Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path In the error path of hws_pool_buddy_init(), the buddy allocator cleanup doesn't free the allocator structure itself, causing a memory leak. Add the missing kfree() to properly release all allocated memory.
Product status
c61afff94373641695cc81999e9bb10408ea84d5 (git) before 86d13a6f49cb68aa91bd718b1b627e72e77285c1
c61afff94373641695cc81999e9bb10408ea84d5 (git) before 2c0a959bebdc1ada13cf9a8242f177c5400299e6
6.12
Any version before 6.12
6.16.5 (semver)
6.17 (original_commit_for_fix)
References
git.kernel.org/...c/86d13a6f49cb68aa91bd718b1b627e72e77285c1
git.kernel.org/...c/2c0a959bebdc1ada13cf9a8242f177c5400299e6