{"id":"CVE-2025-39830","aliases":["CVE-2025-39830"],"related":[],"kind":"vulnerability","state":"published","title":"net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path\n\nIn the error path of hws_pool_buddy_init(), the buddy allocator cleanup\ndoesn't free the allocator structure itself, causing a memory leak.\n\nAdd the missing kfree() to properly release all allocated memory.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path\n\nIn the error path of hws_pool_buddy_init(), the buddy allocator cleanup\ndoesn't free the allocator structure itself, causing a memory leak.\n\nAdd the missing kfree() to properly release all allocated memory.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet/mlx5: HWS, Corrección de fuga de memoria en la ruta de error de hws_pool_buddy_init\n\nEn 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.\n\nAñadir el kfree() faltante para liberar correctamente toda la memoria asignada.","source":"nvd"}],"published":"2025-09-16T13:08:48.110Z","modified":"2026-10-21T13:18:14.693Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"c61afff94373641695cc81999e9bb10408ea84d5","fixed":"4ccdbf50dd88a2a7399409e68887dd8077f6a562","status":"affected"},{"type":"git","introduced":"c61afff94373641695cc81999e9bb10408ea84d5","fixed":"86d13a6f49cb68aa91bd718b1b627e72e77285c1","status":"affected"},{"type":"git","introduced":"c61afff94373641695cc81999e9bb10408ea84d5","fixed":"2c0a959bebdc1ada13cf9a8242f177c5400299e6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.5","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.12","fixed":"6.16.5"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4ccdbf50dd88a2a7399409e68887dd8077f6a562","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/86d13a6f49cb68aa91bd718b1b627e72e77285c1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c0a959bebdc1ada13cf9a8242f177c5400299e6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:17:36.992Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39830","url":"https://www.cve.org/CVERecord?id=CVE-2025-39830","licence":"CVE Terms of Use","modified":"2026-10-21T12:37:25.183Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39830","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39830","licence":"Public domain","modified":"2026-10-21T13:18:14.693Z"}],"updatedAt":"2026-11-25T22:59:04.737Z","epss":{"score":0.00195,"percentile":0.09627,"date":"2026-12-01T12:00:22.000Z"}}