{"id":"CVE-2023-52807","state":"PUBLISHED","title":"net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs","description":"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.","publishedAt":"2024-05-21T15:31:17.686Z","updatedAt":"2026-05-11T19:33:29.497Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c99fead7cb07979f5db38035ccb5f02ad2c7106a","status":"affected","lessThan":"07f5b8c47152cadbd9102e053dcb60685820aa09","versionType":"git"},{"version":"c99fead7cb07979f5db38035ccb5f02ad2c7106a","status":"affected","lessThan":"be1f703f39efa27b7371b9a4cd983317f1366792","versionType":"git"},{"version":"c99fead7cb07979f5db38035ccb5f02ad2c7106a","status":"affected","lessThan":"f79d985c69060047426be68b7e4c1663d5d731b4","versionType":"git"},{"version":"c99fead7cb07979f5db38035ccb5f02ad2c7106a","status":"affected","lessThan":"53aba458f23846112c0d44239580ff59bc5c36c3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.64","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.5.13","status":"unaffected","lessThanOrEqual":"6.5.*","versionType":"semver"},{"version":"6.6.3","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c"]}],"references":["https://git.kernel.org/stable/c/07f5b8c47152cadbd9102e053dcb60685820aa09","https://git.kernel.org/stable/c/be1f703f39efa27b7371b9a4cd983317f1366792","https://git.kernel.org/stable/c/f79d985c69060047426be68b7e4c1663d5d731b4","https://git.kernel.org/stable/c/53aba458f23846112c0d44239580ff59bc5c36c3"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/52xxx/CVE-2023-52807.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-52807","state":"PUBLISHED","datePublished":"2024-05-21T15:31:17.686Z","dateUpdated":"2026-05-11T19:33:29.497Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-05-21T15:19:24.248Z"},"containers":{"cna":{"title":"net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs","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":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c99fead7cb07979f5db38035ccb5f02ad2c7106a","status":"affected","lessThan":"07f5b8c47152cadbd9102e053dcb60685820aa09","versionType":"git"},{"version":"c99fead7cb07979f5db38035ccb5f02ad2c7106a","status":"affected","lessThan":"be1f703f39efa27b7371b9a4cd983317f1366792","versionType":"git"},{"version":"c99fead7cb07979f5db38035ccb5f02ad2c7106a","status":"affected","lessThan":"f79d985c69060047426be68b7e4c1663d5d731b4","versionType":"git"},{"version":"c99fead7cb07979f5db38035ccb5f02ad2c7106a","status":"affected","lessThan":"53aba458f23846112c0d44239580ff59bc5c36c3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.16","versionType":"semver"},{"version":"6.1.64","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.5.13","status":"unaffected","lessThanOrEqual":"6.5.*","versionType":"semver"},{"version":"6.6.3","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c"]}],"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"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:33:29.497Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.5.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.6.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.7"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-17T17:36:46.627147Z","id":"CVE-2023-52807","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-17T17:37:02.706Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/07f5b8c47152cadbd9102e053dcb60685820aa09","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/be1f703f39efa27b7371b9a4cd983317f1366792","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/f79d985c69060047426be68b7e4c1663d5d731b4","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/53aba458f23846112c0d44239580ff59bc5c36c3","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T23:11:35.914Z"}}]}}}