{
  "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-47542",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2021-47542",
    "idYear": 2021,
    "status": "PUBLISHED",
    "publishedAt": "2024-05-24T15:09:48.578Z",
    "updatedAt": "2026-05-11T13:56:40.691Z",
    "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": "net: qlogic: qlcnic: Fix a NULL pointer dereference in qlcnic_83xx_add_rings()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: qlogic: qlcnic: Fix a NULL pointer dereference in qlcnic_83xx_add_rings()\n\nIn qlcnic_83xx_add_rings(), the indirect function of\nahw->hw_ops->alloc_mbx_args will be called to allocate memory for\ncmd.req.arg, and there is a dereference of it in qlcnic_83xx_add_rings(),\nwhich could lead to a NULL pointer dereference on failure of the\nindirect function like qlcnic_83xx_alloc_mbx_args().\n\nFix this bug by adding a check of alloc_mbx_args(), this patch\nimitates the logic of mbx_cmd()'s failure handling.\n\nThis bug was found by a static analyzer. The analysis employs\ndifferential checking to identify inconsistent security operations\n(e.g., checks or kfrees) between two code paths and confirms that the\ninconsistent operations are not recovered in the current function or\nthe callers, so they constitute bugs.\n\nNote that, as a bug found by static analysis, it can be a false\npositive or hard to trigger. Multiple researchers have cross-reviewed\nthe bug.\n\nBuilds with CONFIG_QLCNIC=m show no new warnings, and our\nstatic analyzer no longer warns about this code.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "7f9664525f9cb507de9198a395a111371413f230",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3a061d54e260b701b538873b43e399d9b8b83e03"
            },
            {
              "version": "7f9664525f9cb507de9198a395a111371413f230",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b4f217d6fcc00c3fdc0921a7691f30be7490b073"
            },
            {
              "version": "7f9664525f9cb507de9198a395a111371413f230",
              "status": "affected",
              "versionType": "git",
              "lessThan": "550658a2d61e4eaf522c8ebc7fad76dc376bfb45"
            },
            {
              "version": "7f9664525f9cb507de9198a395a111371413f230",
              "status": "affected",
              "versionType": "git",
              "lessThan": "57af54a56024435d83e44c78449513b414eb6edf"
            },
            {
              "version": "7f9664525f9cb507de9198a395a111371413f230",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bbeb0325a7460ebf1e03f5e0bfc5c652fba9519f"
            },
            {
              "version": "7f9664525f9cb507de9198a395a111371413f230",
              "status": "affected",
              "versionType": "git",
              "lessThan": "15fa12c119f869173f9b710cbe6a4a14071d2105"
            },
            {
              "version": "7f9664525f9cb507de9198a395a111371413f230",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c5ef33c1489b2cd74368057fa00b5d2183bb5853"
            },
            {
              "version": "7f9664525f9cb507de9198a395a111371413f230",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e2dabc4f7e7b60299c20a36d6a7b24ed9bf8e572"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.9",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.9"
            },
            {
              "version": "4.4.294",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.4.*"
            },
            {
              "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": "*"
            }
          ]
        }
      ]
    }
  }
}