{
   "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 in opal_event_init()\n\nkasprintf() returns a pointer to dynamically allocated memory\nwhich can be NULL upon failure."
            }
         ],
         "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-irqchip.c"
               ],
               "versions": [
                  {
                     "version": "2717a33d6074",
                     "lessThan": "8422d179cf46",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "2717a33d6074",
                     "lessThan": "e93d7cf4c1dd",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "2717a33d6074",
                     "lessThan": "e6ad05e3ae9c",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "2717a33d6074",
                     "lessThan": "c0b111ea786d",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "2717a33d6074",
                     "lessThan": "9a523e1da6d8",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "2717a33d6074",
                     "lessThan": "a14c55eb461d",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "2717a33d6074",
                     "lessThan": "e08c2e275fa1",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "2717a33d6074",
                     "lessThan": "8649829a1dd2",
                     "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-irqchip.c"
               ],
               "versions": [
                  {
                     "version": "4.11",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.11",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.306",
                     "lessThanOrEqual": "4.19.*",
                     "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/8422d179cf46889c15ceff9ede48c5bfa4e7f0b4"
            },
            {
               "url": "https://git.kernel.org/stable/c/e93d7cf4c1ddbcd846739e7ad849f955a4f18031"
            },
            {
               "url": "https://git.kernel.org/stable/c/e6ad05e3ae9c84c5a71d7bb2d44dc845ae7990cf"
            },
            {
               "url": "https://git.kernel.org/stable/c/c0b111ea786ddcc8be0682612830796ece9436c7"
            },
            {
               "url": "https://git.kernel.org/stable/c/9a523e1da6d88c2034f946adfa4f74b236c95ca9"
            },
            {
               "url": "https://git.kernel.org/stable/c/a14c55eb461d630b836f80591d8caf1f74e62877"
            },
            {
               "url": "https://git.kernel.org/stable/c/e08c2e275fa1874de945b87093f925997722ee42"
            },
            {
               "url": "https://git.kernel.org/stable/c/8649829a1dd25199bbf557b2621cedb4bf9b3050"
            }
         ],
         "title": "powerpc/powernv: Add a null pointer check in opal_event_init()",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2023-52686",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
