{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npstore/platform: Add check for kstrdup\n\nAdd check for the return value of kstrdup() and return the error\nif it fails in order to avoid NULL pointer dereference."
            }
         ],
         "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"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/bb166bdae1a7d7db30e9be7e6ccaba606debc05f"
            },
            {
               "url": "https://git.kernel.org/stable/c/379b120e4f27fd1cf636a5f85570c4d240a3f688"
            },
            {
               "url": "https://git.kernel.org/stable/c/63f637309baadf81a095f2653e3b807d4b5814b9"
            },
            {
               "url": "https://git.kernel.org/stable/c/1c426da79f9fc7b761021b5eb44185ba119cd44a"
            },
            {
               "url": "https://git.kernel.org/stable/c/ad5cb6deb41417ef41b9d6ff54f789212108606f"
            },
            {
               "url": "https://git.kernel.org/stable/c/a19d48f7c5d57c0f0405a7d4334d1d38fe9d3c1c"
            }
         ],
         "title": "pstore/platform: Add check for kstrdup",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2023-52869",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
