{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs\n\nThe hns3 driver define an array of string to show the coalesce\ninfo, but if the kernel adds a new mode or a new state,\nout-of-bounds access may occur when coalesce info is read via\ndebugfs, this patch fix the problem."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c"
               ],
               "versions": [
                  {
                     "version": "c99fead7cb07",
                     "lessThan": "07f5b8c47152",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c99fead7cb07",
                     "lessThan": "be1f703f39ef",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c99fead7cb07",
                     "lessThan": "f79d985c6906",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c99fead7cb07",
                     "lessThan": "53aba458f238",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c"
               ],
               "versions": [
                  {
                     "version": "5.16",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "5.16",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.64",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.5.13",
                     "lessThanOrEqual": "6.5.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.3",
                     "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/07f5b8c47152cadbd9102e053dcb60685820aa09"
            },
            {
               "url": "https://git.kernel.org/stable/c/be1f703f39efa27b7371b9a4cd983317f1366792"
            },
            {
               "url": "https://git.kernel.org/stable/c/f79d985c69060047426be68b7e4c1663d5d731b4"
            },
            {
               "url": "https://git.kernel.org/stable/c/53aba458f23846112c0d44239580ff59bc5c36c3"
            }
         ],
         "title": "net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2023-52807",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
