5.5medium
net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c61afff94373641695cc81999e9bb10408ea84d5 before 4ccdbf50dd88a2a7399409e68887dd8077f6a562, from c61afff94373641695cc81999e9bb10408ea84d5 before 86d13a6f49cb68aa91bd718b1b627e72e77285c1, from c61afff94373641695cc81999e9bb10408ea84d5 before 2c0a959bebdc1ada13cf9a8242f177c5400299e6, 6.12 Not affected: before 6.12, from 6.12.114 up to 6.12.*, from 6.16.5 up to 6.16.*, from 6.17 up to * | CVE List |
| linux linux_kernel | from 6.12 before 6.16.5, 6.17 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net/mlx5: HWS, Corrección de fuga de memoria en la ruta de error de hws_pool_buddy_init En la ruta de error de hws_pool_buddy_init(), la limpieza del asignador buddy no libera la propia estructura del asignador, causando una fuga de memoria. Añadir el kfree() faltante para liberar correctamente toda la memoria asignada.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-39830 changed 2026-10-21 | CVE Terms of Use |
| NVD | CVE-2025-39830 changed 2026-10-21 | Public domain |