Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2023-52807
HistoryMay 21, 2024 - 3:31 p.m.

CVE-2023-52807 net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs

2024-05-2115:31:17
Linux
github.com
linux kernel
vulnerability
hns3 driver
out-of-bounds access
coalesce info
debugfs
patch
cve-2023-52807

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

In the Linux kernel, the following vulnerability has been resolved:

net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs

The hns3 driver define an array of string to show the coalesce
info, but if the kernel adds a new mode or a new state,
out-of-bounds access may occur when coalesce info is read via
debugfs, this patch fix the problem.

CNA 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"
      }
    ]
  }
]

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

Related for VULNRICHMENT:CVE-2023-52807