Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2025-39830

net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • c61afff94373641695cc81999e9bb10408ea84d5 to < 4ccdbf50dd88a2a7399409e68887dd8077f6a562affected
  • c61afff94373641695cc81999e9bb10408ea84d5 to < 86d13a6f49cb68aa91bd718b1b627e72e77285c1affected
  • c61afff94373641695cc81999e9bb10408ea84d5 to < 2c0a959bebdc1ada13cf9a8242f177c5400299e6affected

Linux Linux

Default version status: affected

  • 6.12affected
  • 0 to < 6.12unaffected
  • 6.12.114 to ≤ 6.12.*unaffected
  • 6.16.5 to ≤ 6.16.*unaffected
  • 6.17 to ≤ *unaffected

References