Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2025-39830

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-39830

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "c61afff94373641695cc81999e9bb10408ea84d5",
        "lessThan": "4ccdbf50dd88a2a7399409e68887dd8077f6a562",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c61afff94373641695cc81999e9bb10408ea84d5",
        "lessThan": "86d13a6f49cb68aa91bd718b1b627e72e77285c1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c61afff94373641695cc81999e9bb10408ea84d5",
        "lessThan": "2c0a959bebdc1ada13cf9a8242f177c5400299e6",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pool.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.12"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.12",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.16.5",
        "versionType": "semver",
        "lessThanOrEqual": "6.16.*"
      },
      {
        "status": "unaffected",
        "version": "6.17",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pool.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-39830

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#46021 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement