{"id":"CVE-2025-39830","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 str…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cvssSource":"adp","vendor":"Linux","product":"Linux","affected":["Linux >= c61afff94373641695cc81999e9bb10408ea84d5 < 4ccdbf50dd88a2a7399409e68887dd8077f6a562","Linux >= c61afff94373641695cc81999e9bb10408ea84d5 < 86d13a6f49cb68aa91bd718b1b627e72e77285c1","Linux >= c61afff94373641695cc81999e9bb10408ea84d5 < 2c0a959bebdc1ada13cf9a8242f177c5400299e6","Linux 6.12"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T18:17:36.992991Z"},"published":"2025-09-16","updated":"2026-10-21","sourceUpdated":"2026-10-21T12:37:25.183Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-39830","references":[{"url":"https://git.kernel.org/stable/c/4ccdbf50dd88a2a7399409e68887dd8077f6a562"},{"url":"https://git.kernel.org/stable/c/86d13a6f49cb68aa91bd718b1b627e72e77285c1"},{"url":"https://git.kernel.org/stable/c/2c0a959bebdc1ada13cf9a8242f177c5400299e6"}],"tags":["cve.org"],"epss":0.00187,"epssPercentile":0.0824,"ingestedAt":"2026-10-21T12:48:53.688Z","slug":"CVE-2025-39830","body":"## Overview\n\nIn 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.\n\n## Affected\n\n- `Linux >= c61afff94373641695cc81999e9bb10408ea84d5 < 4ccdbf50dd88a2a7399409e68887dd8077f6a562`\n- `Linux >= c61afff94373641695cc81999e9bb10408ea84d5 < 86d13a6f49cb68aa91bd718b1b627e72e77285c1`\n- `Linux >= c61afff94373641695cc81999e9bb10408ea84d5 < 2c0a959bebdc1ada13cf9a8242f177c5400299e6`\n- `Linux 6.12`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}