{"id":"CVE-2025-39834","published":"2025-09-16T13:08:50Z","modified":"2026-10-21T12:37:26Z","title":"net/mlx5: HWS, Fix memory leak in hws_action_get_shared_stc_nic error flow","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: HWS, Fix memory leak in hws_action_get_shared_stc_nic error flow\n\nWhen an invalid stc_type is provided, the function allocates memory for\nshared_stc but jumps to unlock_and_out without freeing it, causing a\nmemory leak.\n\nFix by jumping to free_shared_stc label instead to ensure proper cleanup.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00195,"percentile":0.09342,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/a2751e1af5dc8b1a64cfd463576c58617c2573ac","tags":[]},{"url":"https://git.kernel.org/stable/c/051fd8576a2e4e95d5870c5c9f8679c5b16882e4","tags":[]},{"url":"https://git.kernel.org/stable/c/a630f83592cdad1253523a1b760cfe78fef6cd9c","tags":[]}],"priority":{"score":5.7,"factors":[{"name":"EPSS percentile","points":1.87},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 504e536d90104c850731840d3fbc95acf251f11b, < a2751e1af5dc8b1a64cfd463576c58617c2573ac",">= 504e536d90104c850731840d3fbc95acf251f11b, < 051fd8576a2e4e95d5870c5c9f8679c5b16882e4",">= 504e536d90104c850731840d3fbc95acf251f11b, < a630f83592cdad1253523a1b760cfe78fef6cd9c"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T18:18:41.812797Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-29580","exploited":false,"provenance":"source"}}