Lucene search

K
cvelistLinuxCVELIST:CVE-2023-52690
HistoryMay 17, 2024 - 2:24 p.m.

CVE-2023-52690 powerpc/powernv: Add a null pointer check to scom_debug_init_one()

2024-05-1714:24:50
Linux
www.cve.org
linux kernel
vulnerability resolved
kasprintf
dynamically allocated memory
null pointer check
memory leaks
cve

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.3%

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

powerpc/powernv: Add a null pointer check to scom_debug_init_one()

kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure.
Add a null pointer check, and release ‘ent’ to avoid memory leaks.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/powerpc/platforms/powernv/opal-xscom.c"
    ],
    "versions": [
      {
        "version": "bfd2f0d49aef",
        "lessThan": "f84c1446daa5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bfd2f0d49aef",
        "lessThan": "1eefa93faf69",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bfd2f0d49aef",
        "lessThan": "2a82c4439b90",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bfd2f0d49aef",
        "lessThan": "ed8d023cfa97",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bfd2f0d49aef",
        "lessThan": "dd8422ff271c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bfd2f0d49aef",
        "lessThan": "a9c05cbb6644",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bfd2f0d49aef",
        "lessThan": "9a260f2dd827",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/powerpc/platforms/powernv/opal-xscom.c"
    ],
    "versions": [
      {
        "version": "5.4",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.4",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.268",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.209",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.148",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.75",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.14",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.2",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.3%