Skip to content
Heist/ feed
Back to feed
UnratedFix available

mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init The line cards array is not freed in the error path of mlxsw_m_linecards_init(), which can lead to a memory leak. Fix by freeing the array in the error path, thereby making the error path identical to mlxsw_m_linecards_fini().

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.39, 6.4.4
CVEs
CVE-2023-53195
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:00 UTC · Revision 1

Source evidence

mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init

core-osv · Original source

Published 15 Sept 2025, 14:06 UTC

In the Linux kernel, the following vulnerability has been resolved: mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init The line cards array is not freed in the error path of mlxsw_m_linecards_init(), which can lead to a memory leak. Fix by freeing the array in the error path, thereby making the error path identical to mlxsw_m_linecards_fini().

osv:CVE-2023-53195

Kernel

Fixed versions: 6.1.39, 6.4.4

Complete source record
{
  "id": "ac8eaede5a7d96c232691a54a7e92aa675b7e3be651d6eadd40f6c7a3015704f",
  "url": "https://osv.dev/vulnerability/CVE-2023-53195",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init The line cards array is not freed in the error path of mlxsw_m_linecards_init(), which can lead to a memory leak. Fix by freeing the array in the error path, thereby making the error path identical to mlxsw_m_linecards_fini().",
    "evidence": "osv:CVE-2023-53195",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.39",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.4.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-53195",
      "aliases": [
        "CVE-2023-53195"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "01328e23a476a47179b07125eabac439bc1d5fd3"
                },
                {
                  "fixed": "d4f5b1dd816dccd4ee6bb60b2a81a3d4373636a9"
                },
                {
                  "fixed": "cd716022c968bc6748f23708b986f845b45791b7"
                },
                {
                  "fixed": "08fc75735fda3be97194bfbf3c899c87abb3d0fe"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53195.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.39"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.4.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53195.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.331241145Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/08fc75735fda3be97194bfbf3c899c87abb3d0fe",
        "https://git.kernel.org/stable/c/cd716022c968bc6748f23708b986f845b45791b7",
        "https://git.kernel.org/stable/c/d4f5b1dd816dccd4ee6bb60b2a81a3d4373636a9",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53195.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53195",
        "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/53xxx/CVE-2023-53195.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53195",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 508838,
  "published_at": "2025-09-15T14:06:42.224+00:00"
}