Skip to content
Heist/ feed
Back to feed
UnratedFix available

net/mlx5: fix potential memory leak in mlx5e_init_rep_rx

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: fix potential memory leak in mlx5e_init_rep_rx The memory pointed to by the priv->rx_res pointer is not freed in the error path of mlx5e_init_rep_rx, which can lead to a memory leak. Fix by freeing the memory in the error path, thereby making the error path identical to mlx5e_cleanup_rep_rx().

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.45, 6.4.10
CVEs
CVE-2023-54106
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 19:29 UTC · Revision 1

Source evidence

net/mlx5: fix potential memory leak in mlx5e_init_rep_rx

core-osv · Original source

Published 24 Dec 2025, 13:06 UTC

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: fix potential memory leak in mlx5e_init_rep_rx The memory pointed to by the priv->rx_res pointer is not freed in the error path of mlx5e_init_rep_rx, which can lead to a memory leak. Fix by freeing the memory in the error path, thereby making the error path identical to mlx5e_cleanup_rep_rx().

osv:CVE-2023-54106

Kernel

Fixed versions: 6.1.45, 6.4.10

Complete source record
{
  "id": "4fd8dfae49141f82b96750bf7a17d5bfb727847c2fbbccc106273f9378b2c028",
  "url": "https://osv.dev/vulnerability/CVE-2023-54106",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net/mlx5: fix potential memory leak in mlx5e_init_rep_rx",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: net/mlx5: fix potential memory leak in mlx5e_init_rep_rx The memory pointed to by the priv->rx_res pointer is not freed in the error path of mlx5e_init_rep_rx, which can lead to a memory leak. Fix by freeing the memory in the error path, thereby making the error path identical to mlx5e_cleanup_rep_rx().",
    "evidence": "osv:CVE-2023-54106",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.45",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.4.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-54106",
      "aliases": [
        "CVE-2023-54106"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "af8bbf7300686961f74e72e2dc10a76672603cb3"
                },
                {
                  "fixed": "0582a3caaa3e2f7b80bcb113ad3c910eac15a63e"
                },
                {
                  "fixed": "c265d8c2e25546a6b7ee16d36f2bb79b6160c2c3"
                },
                {
                  "fixed": "c6cf0b6097bf1bf1b2a89b521e9ecd26b581a93a"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54106.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.0.0"
                },
                {
                  "fixed": "6.1.45"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.4.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54106.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.679774357Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0582a3caaa3e2f7b80bcb113ad3c910eac15a63e",
        "https://git.kernel.org/stable/c/c265d8c2e25546a6b7ee16d36f2bb79b6160c2c3",
        "https://git.kernel.org/stable/c/c6cf0b6097bf1bf1b2a89b521e9ecd26b581a93a",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54106.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-54106",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54106.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-54106",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 498727,
  "published_at": "2025-12-24T13:06:30.829+00:00"
}