{
  "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-47476",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2021-47476",
    "idYear": 2021,
    "status": "PUBLISHED",
    "publishedAt": "2024-05-22T08:19:30.201Z",
    "updatedAt": "2026-05-11T13:55:25.459Z",
    "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": "comedi: ni_usb6501: fix NULL-deref in command paths",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: ni_usb6501: fix NULL-deref in command paths\n\nThe driver uses endpoint-sized USB transfer buffers but had no sanity\nchecks on the sizes. This can lead to zero-size-pointer dereferences or\noverflowed transfer buffers in ni6501_port_command() and\nni6501_counter_command() if a (malicious) device has smaller max-packet\nsizes than expected (or when doing descriptor fuzz testing).\n\nAdd the missing sanity checks to probe().",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "a03bb00e50ab4c07107da58a52a0bff7943f360c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "58478143771b20ab219937b1c30a706590a59224"
            },
            {
              "version": "a03bb00e50ab4c07107da58a52a0bff7943f360c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "aa39738423503825625853b643b9e99d11c23816"
            },
            {
              "version": "a03bb00e50ab4c07107da58a52a0bff7943f360c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "df7b1238f3b599a0b9284249772cdfd1ea83a632"
            },
            {
              "version": "a03bb00e50ab4c07107da58a52a0bff7943f360c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bc51111bf6e8e7b6cc94b133e4c291273a16acd1"
            },
            {
              "version": "a03bb00e50ab4c07107da58a52a0bff7943f360c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b0156b7c9649d8f55a2ce3d3258509f1b2a181c3"
            },
            {
              "version": "a03bb00e50ab4c07107da58a52a0bff7943f360c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ef143dc0c3defe56730ecd3a9de7b3e1d7e557c1"
            },
            {
              "version": "a03bb00e50ab4c07107da58a52a0bff7943f360c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4a9d43cb5d5f39fa39fc1da438517004cc95f7ea"
            },
            {
              "version": "a03bb00e50ab4c07107da58a52a0bff7943f360c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d6a727a681a39ae4f73081a9bedb45d14f95bdd1"
            },
            {
              "version": "a03bb00e50ab4c07107da58a52a0bff7943f360c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "907767da8f3a925b060c740e0b5c92ea7dbec440"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.18",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.18"
            },
            {
              "version": "4.4.292",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.4.*"
            },
            {
              "version": "4.9.290",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.9.*"
            },
            {
              "version": "4.14.255",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.217",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.159",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.79",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.14.18",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.14.*"
            },
            {
              "version": "5.15.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "5.16",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}