Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-36973
HistoryJun 17, 2024 - 6:15 p.m.

CVE-2024-36973

2024-06-1718:15:17
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
24
linux kernel
microchip
pci1xxxx
vulnerability
fix
error handling
gp_aux_bus_probe
memory
cleanup functions

6.6 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

In the Linux kernel, the following vulnerability has been resolved:

misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe()

When auxiliary_device_add() returns error and then calls
auxiliary_device_uninit(), callback function
gp_auxiliary_device_release() calls ida_free() and
kfree(aux_device_wrapper) to free memory. We should’t
call them again in the error handling path.

Fix this by skipping the redundant cleanup functions.

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.16.1.95
OR
linuxlinux_kernelRange6.2.06.6.35
OR
linuxlinux_kernelRange6.7.06.9.6
OR
linuxlinux_kernelRange6.10.06.10-rc4

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.c"
    ],
    "versions": [
      {
        "version": "393fc2f5948f",
        "lessThan": "34ae447b1386",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "393fc2f5948f",
        "lessThan": "86c9713602f7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "393fc2f5948f",
        "lessThan": "1efe55198229",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "393fc2f5948f",
        "lessThan": "086c6cbcc563",
        "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/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.c"
    ],
    "versions": [
      {
        "version": "6.1",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.1",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.95",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.35",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.6",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10-rc4",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.6 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%