{"id":"CVE-2025-39830","revision":"385389cd1baa46c588340304f678b61c","records":[{"revision":"385389cd1baa46c588340304f678b61c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-39830","aliases":[],"title":"net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path","description":"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.","state":0,"publishedAt":"2025-09-16T13:08:48.11+00:00","modifiedAt":"2026-10-21T12:37:25.183+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pool.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"c61afff94373641695cc81999e9bb10408ea84d5\",\n                            \"lessThan\": \"4ccdbf50dd88a2a7399409e68887dd8077f6a562\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"c61afff94373641695cc81999e9bb10408ea84d5\",\n                            \"lessThan\": \"86d13a6f49cb68aa91bd718b1b627e72e77285c1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"c61afff94373641695cc81999e9bb10408ea84d5\",\n                            \"lessThan\": \"2c0a959bebdc1ada13cf9a8242f177c5400299e6\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pool.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.12\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.12\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.114\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.16.5\",\n                            \"lessThanOrEqual\": \"6.16.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.17\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/4ccdbf50dd88a2a7399409e68887dd8077f6a562","https://git.kernel.org/stable/c/86d13a6f49cb68aa91bd718b1b627e72e77285c1","https://git.kernel.org/stable/c/2c0a959bebdc1ada13cf9a8242f177c5400299e6"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-39830","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-39830","identifiers":["CVE-2025-39830"]},"retained":false,"historicalAffected":[]}],"coverage":[]}