Skip to content
Heist/ feed
Back to feed
MediumFix available

net: pds_core: Fix possible double free in error handling path

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: net: pds_core: Fix possible double free in error handling path When auxiliary_device_add() returns error and then calls auxiliary_device_uninit(), Callback function pdsc_auxbus_dev_release calls kfree(padev) to free memory. We shouldn't call kfree(padev) again in the error handling path. Fix this by cleaning up the redundant kfree() and putting the error handling back to where the errors happened.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.6.22, 6.7.10
CVEs
CVE-2024-26652
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 21:38 UTC · Revision 1

Source evidence

net: pds_core: Fix possible double free in error handling path

core-osv · Original source

Published 27 Mar 2024, 13:53 UTC

In the Linux kernel, the following vulnerability has been resolved: net: pds_core: Fix possible double free in error handling path When auxiliary_device_add() returns error and then calls auxiliary_device_uninit(), Callback function pdsc_auxbus_dev_release calls kfree(padev) to free memory. We shouldn't call kfree(padev) again in the error handling path. Fix this by cleaning up the redundant kfree() and putting the error handling back to where the errors happened.

osv:CVE-2024-26652

Kernel

Fixed versions: 6.6.22, 6.7.10

Complete source record
{
  "id": "639bb99636a1a1222f77ca0d2336232bc5e88799426127c9ad36201a68ad12dd",
  "url": "https://osv.dev/vulnerability/CVE-2024-26652",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net: pds_core: Fix possible double free in error handling path",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: net: pds_core: Fix possible double free in error handling path When auxiliary_device_add() returns error and then calls auxiliary_device_uninit(), Callback function pdsc_auxbus_dev_release calls kfree(padev) to free memory. We shouldn't call kfree(padev) again in the error handling path. Fix this by cleaning up the redundant kfree() and putting the error handling back to where the errors happened.",
    "evidence": "osv:CVE-2024-26652",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.22",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.7.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-26652",
      "aliases": [
        "CVE-2024-26652"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4569cce43bc61e4cdd76597a1cf9b608846c18cc"
                },
                {
                  "fixed": "995f802abff209514ac2ee03b96224237646cec3"
                },
                {
                  "fixed": "ffda0e962f270b3ec937660afd15b685263232d3"
                },
                {
                  "fixed": "ba18deddd6d502da71fd6b6143c53042271b82bd"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26652.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.4.0"
                },
                {
                  "fixed": "6.6.22"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.7.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26652.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.139010639Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/995f802abff209514ac2ee03b96224237646cec3",
        "https://git.kernel.org/stable/c/ba18deddd6d502da71fd6b6143c53042271b82bd",
        "https://git.kernel.org/stable/c/ffda0e962f270b3ec937660afd15b685263232d3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26652.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-26652",
        "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/2024/26xxx/CVE-2024-26652.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-26652",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507398,
  "published_at": "2024-03-27T13:53:20.726+00:00"
}