Lucene search

K
cveLinuxCVE-2023-52571
HistoryMar 02, 2024 - 10:15 p.m.

CVE-2023-52571

2024-03-0222:15:49
Linux
web.nvd.nist.gov
70
linux
kernel
cve-2023-52571
vulnerability
power supply
rk817
refcount leak
nvd

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%

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.

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.26.1.56
OR
linuxlinux_kernelRange6.2.06.5.6
OR
linuxlinux_kernelRange6.6.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

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

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%