{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/powernv: Add a null pointer check to scom_debug_init_one()\n\nkasprintf() returns a pointer to dynamically allocated memory\nwhich can be NULL upon failure.\nAdd a null pointer check, and release 'ent' to avoid memory leaks."
            }
         ],
         "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"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/f84c1446daa552e9699da8d1f8375eac0f65edc7"
            },
            {
               "url": "https://git.kernel.org/stable/c/1eefa93faf69188540b08b024794fa90b1d82e8b"
            },
            {
               "url": "https://git.kernel.org/stable/c/2a82c4439b903639e0a1f21990cd399fb0a49c19"
            },
            {
               "url": "https://git.kernel.org/stable/c/ed8d023cfa97b559db58c0e1afdd2eec7a83d8f2"
            },
            {
               "url": "https://git.kernel.org/stable/c/dd8422ff271c22058560832fc3006324ded895a9"
            },
            {
               "url": "https://git.kernel.org/stable/c/a9c05cbb6644a2103c75b6906e9dafb9981ebd13"
            },
            {
               "url": "https://git.kernel.org/stable/c/9a260f2dd827bbc82cc60eb4f4d8c22707d80742"
            }
         ],
         "title": "powerpc/powernv: Add a null pointer check to scom_debug_init_one()",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2023-52690",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
