Vulnerability in Linux

CVE-2025-39830

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 9.2th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions c61afff94373641695cc81999e9bb10408ea84d5, 6.12, 0
  • Linux Kernel — versions 6.17

Weakness classification (CWE)

References