{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2021-47548",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2021-47548",
    "idYear": 2021,
    "status": "PUBLISHED",
    "publishedAt": "2024-05-24T15:09:52.634Z",
    "updatedAt": "2026-05-11T13:56:45.302Z",
    "importedAt": "2026-10-24T01:56:36.661Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()\n\nThe if statement:\n  if (port >= DSAF_GE_NUM)\n        return;\n\nlimits the value of port less than DSAF_GE_NUM (i.e., 8).\nHowever, if the value of port is 6 or 7, an array overflow could occur:\n  port_rst_off = dsaf_dev->mac_cb[port]->port_rst_off;\n\nbecause the length of dsaf_dev->mac_cb is DSAF_MAX_PORT_NUM (i.e., 6).\n\nTo fix this possible array overflow, we first check port and if it is\ngreater than or equal to DSAF_MAX_PORT_NUM, the function returns.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "850bfa3b78ea8849fef78ed74f5f2ccf947db0ca",
              "status": "affected",
              "versionType": "git",
              "lessThan": "948968f8747650447c8f21c9fdba0e1973be040b"
            },
            {
              "version": "850bfa3b78ea8849fef78ed74f5f2ccf947db0ca",
              "status": "affected",
              "versionType": "git",
              "lessThan": "abbd5faa0748d0aa95d5191d56ff7a17a6275bd1"
            },
            {
              "version": "850bfa3b78ea8849fef78ed74f5f2ccf947db0ca",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dd07f8971b81ad98cc754b179b331b57f35aa1ff"
            },
            {
              "version": "850bfa3b78ea8849fef78ed74f5f2ccf947db0ca",
              "status": "affected",
              "versionType": "git",
              "lessThan": "99bb25cb6753beaf2c2bc37927c2ecc0ceff3f6d"
            },
            {
              "version": "850bfa3b78ea8849fef78ed74f5f2ccf947db0ca",
              "status": "affected",
              "versionType": "git",
              "lessThan": "22519eff7df2d88adcc2568d86046ce1e2b52803"
            },
            {
              "version": "850bfa3b78ea8849fef78ed74f5f2ccf947db0ca",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fc7ffa7f10b9454a86369405d9814bf141b30627"
            },
            {
              "version": "850bfa3b78ea8849fef78ed74f5f2ccf947db0ca",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a66998e0fbf213d47d02813b9679426129d0d114"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.7",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.7"
            },
            {
              "version": "4.9.292",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.9.*"
            },
            {
              "version": "4.14.257",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.220",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.164",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.84",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.7",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "5.16",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}