Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2023-52869
HistoryMay 21, 2024 - 3:31 p.m.

CVE-2023-52869 pstore/platform: Add check for kstrdup

2024-05-2115:31:59
Linux
github.com
2
linux kernel
vulnerability
pstore/platform
kstrdup
null pointer dereference

6.9 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.5%

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

pstore/platform: Add check for kstrdup

Add check for the return value of kstrdup() and return the error
if it fails in order to avoid NULL pointer dereference.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/pstore/platform.c"
    ],
    "versions": [
      {
        "version": "563ca40ddf40",
        "lessThan": "bb166bdae1a7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "563ca40ddf40",
        "lessThan": "379b120e4f27",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "563ca40ddf40",
        "lessThan": "63f637309baa",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "563ca40ddf40",
        "lessThan": "1c426da79f9f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "563ca40ddf40",
        "lessThan": "ad5cb6deb414",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "563ca40ddf40",
        "lessThan": "a19d48f7c5d5",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/pstore/platform.c"
    ],
    "versions": [
      {
        "version": "5.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.8",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.201",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.139",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.63",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.5.12",
        "lessThanOrEqual": "6.5.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.2",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.9 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.5%

Related for VULNRICHMENT:CVE-2023-52869