Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2023-52571
HistoryMar 02, 2024 - 9:59 p.m.

CVE-2023-52571 power: supply: rk817: Fix node refcount leak

2024-03-0221:59:41
Linux
github.com
5
cve-2023-52571
power supply
rk817
fix
node refcount
leak
linux kernel

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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

power: supply: rk817: Fix node refcount leak

Dan Carpenter reports that the Smatch static checker warning has found
that there is another refcount leak in the probe function. While
of_node_put() was added in one of the return paths, it should in
fact be added for ALL return paths that return an error and at driver
removal time.

CNA Affected

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "7d1e3961725e",
        "lessThan": "fe6406238d5a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "54c03bfd094f",
        "lessThan": "70326b46b6a0",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "54c03bfd094f",
        "lessThan": "488ef44c068e",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/power/supply/rk817_charger.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.2"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.2",
        "versionType": "custom"
      },
      {
        "status": "unaffected",
        "version": "6.1.56",
        "versionType": "custom",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.5.6",
        "versionType": "custom",
        "lessThanOrEqual": "6.5.*"
      },
      {
        "status": "unaffected",
        "version": "6.6",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/power/supply/rk817_charger.c"
    ],
    "defaultStatus": "affected"
  }
]

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

Related for VULNRICHMENT:CVE-2023-52571