Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26652
HistoryMar 27, 2024 - 1:53 p.m.

CVE-2024-26652 net: pds_core: Fix possible double free in error handling path

2024-03-2713:53:20
Linux
www.cve.org
8
linux kernel vulnerability
net
pds_core
double free
error handling.

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

15.5%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/amd/pds_core/auxbus.c"
    ],
    "versions": [
      {
        "version": "4569cce43bc6",
        "lessThan": "995f802abff2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4569cce43bc6",
        "lessThan": "ffda0e962f27",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4569cce43bc6",
        "lessThan": "ba18deddd6d5",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/amd/pds_core/auxbus.c"
    ],
    "versions": [
      {
        "version": "6.4",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.4",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.22",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.10",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

15.5%