CVE-2021-47475 (GCVE-0-2021-47475)

Vulnerability from cvelistv5 – Published: 2024-05-22 08:19 – Updated: 2025-05-04 07:11
VLAI?
Title
comedi: vmk80xx: fix transfer-buffer overflows
Summary
In the Linux kernel, the following vulnerability has been resolved: comedi: vmk80xx: fix transfer-buffer overflows The driver uses endpoint-sized USB transfer buffers but up until recently had no sanity checks on the sizes. Commit e1f13c879a7c ("staging: comedi: check validity of wMaxPacketSize of usb endpoints found") inadvertently fixed NULL-pointer dereferences when accessing the transfer buffers in case a malicious device has a zero wMaxPacketSize. Make sure to allocate buffers large enough to handle also the other accesses that are done without a size check (e.g. byte 18 in vmk80xx_cnt_insn_read() for the VMK8061_MODEL) to avoid writing beyond the buffers, for example, when doing descriptor fuzzing. The original driver was for a low-speed device with 8-byte buffers. Support was later added for a device that uses bulk transfers and is presumably a full-speed device with a maximum 64-byte wMaxPacketSize.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 985cafccbf9b7f862aa1c5ee566801e18b5161fb , < 5229159f1d052821007aff1a1beb7873eacf1a9f (git)
Affected: 985cafccbf9b7f862aa1c5ee566801e18b5161fb , < ec85bcff4ed09260243d8f39faba99e1041718ba (git)
Affected: 985cafccbf9b7f862aa1c5ee566801e18b5161fb , < 40d2a7e278e2e7c0a5fd7e997e7eb63945bf93f7 (git)
Affected: 985cafccbf9b7f862aa1c5ee566801e18b5161fb , < 7a2021b896de1ad559d33b5c5cdd20b982242088 (git)
Affected: 985cafccbf9b7f862aa1c5ee566801e18b5161fb , < 199acd8c110e3ae62833c24f632b0bb1c9f012a9 (git)
Affected: 985cafccbf9b7f862aa1c5ee566801e18b5161fb , < 33d7a470730dfe7c9bfc8da84575cf2cedd60d00 (git)
Affected: 985cafccbf9b7f862aa1c5ee566801e18b5161fb , < 278484ae93297b1bb1ce755f9d3b6d95a48c7d47 (git)
Affected: 985cafccbf9b7f862aa1c5ee566801e18b5161fb , < 06ac746d57e6d32b062e220415c607b7e2e0fa50 (git)
Affected: 985cafccbf9b7f862aa1c5ee566801e18b5161fb , < a23461c47482fc232ffc9b819539d1f837adf2b1 (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.31
Unaffected: 0 , < 2.6.31 (semver)
Unaffected: 4.4.292 , ≤ 4.4.* (semver)
Unaffected: 4.9.290 , ≤ 4.9.* (semver)
Unaffected: 4.14.255 , ≤ 4.14.* (semver)
Unaffected: 4.19.217 , ≤ 4.19.* (semver)
Unaffected: 5.4.159 , ≤ 5.4.* (semver)
Unaffected: 5.10.79 , ≤ 5.10.* (semver)
Unaffected: 5.14.18 , ≤ 5.14.* (semver)
Unaffected: 5.15.2 , ≤ 5.15.* (semver)
Unaffected: 5.16 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2021-47475",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-22T17:52:35.271810Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:13:48.725Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T05:39:59.742Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5229159f1d052821007aff1a1beb7873eacf1a9f"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/ec85bcff4ed09260243d8f39faba99e1041718ba"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/40d2a7e278e2e7c0a5fd7e997e7eb63945bf93f7"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/7a2021b896de1ad559d33b5c5cdd20b982242088"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/199acd8c110e3ae62833c24f632b0bb1c9f012a9"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/33d7a470730dfe7c9bfc8da84575cf2cedd60d00"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/278484ae93297b1bb1ce755f9d3b6d95a48c7d47"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/06ac746d57e6d32b062e220415c607b7e2e0fa50"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/a23461c47482fc232ffc9b819539d1f837adf2b1"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/comedi/drivers/vmk80xx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5229159f1d052821007aff1a1beb7873eacf1a9f",
              "status": "affected",
              "version": "985cafccbf9b7f862aa1c5ee566801e18b5161fb",
              "versionType": "git"
            },
            {
              "lessThan": "ec85bcff4ed09260243d8f39faba99e1041718ba",
              "status": "affected",
              "version": "985cafccbf9b7f862aa1c5ee566801e18b5161fb",
              "versionType": "git"
            },
            {
              "lessThan": "40d2a7e278e2e7c0a5fd7e997e7eb63945bf93f7",
              "status": "affected",
              "version": "985cafccbf9b7f862aa1c5ee566801e18b5161fb",
              "versionType": "git"
            },
            {
              "lessThan": "7a2021b896de1ad559d33b5c5cdd20b982242088",
              "status": "affected",
              "version": "985cafccbf9b7f862aa1c5ee566801e18b5161fb",
              "versionType": "git"
            },
            {
              "lessThan": "199acd8c110e3ae62833c24f632b0bb1c9f012a9",
              "status": "affected",
              "version": "985cafccbf9b7f862aa1c5ee566801e18b5161fb",
              "versionType": "git"
            },
            {
              "lessThan": "33d7a470730dfe7c9bfc8da84575cf2cedd60d00",
              "status": "affected",
              "version": "985cafccbf9b7f862aa1c5ee566801e18b5161fb",
              "versionType": "git"
            },
            {
              "lessThan": "278484ae93297b1bb1ce755f9d3b6d95a48c7d47",
              "status": "affected",
              "version": "985cafccbf9b7f862aa1c5ee566801e18b5161fb",
              "versionType": "git"
            },
            {
              "lessThan": "06ac746d57e6d32b062e220415c607b7e2e0fa50",
              "status": "affected",
              "version": "985cafccbf9b7f862aa1c5ee566801e18b5161fb",
              "versionType": "git"
            },
            {
              "lessThan": "a23461c47482fc232ffc9b819539d1f837adf2b1",
              "status": "affected",
              "version": "985cafccbf9b7f862aa1c5ee566801e18b5161fb",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/comedi/drivers/vmk80xx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.31"
            },
            {
              "lessThan": "2.6.31",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.4.*",
              "status": "unaffected",
              "version": "4.4.292",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.290",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.255",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.217",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.159",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.79",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.14.*",
              "status": "unaffected",
              "version": "5.14.18",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.16",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.4.292",
                  "versionStartIncluding": "2.6.31",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.290",
                  "versionStartIncluding": "2.6.31",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.255",
                  "versionStartIncluding": "2.6.31",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.217",
                  "versionStartIncluding": "2.6.31",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.159",
                  "versionStartIncluding": "2.6.31",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.79",
                  "versionStartIncluding": "2.6.31",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.14.18",
                  "versionStartIncluding": "2.6.31",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.2",
                  "versionStartIncluding": "2.6.31",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.16",
                  "versionStartIncluding": "2.6.31",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: vmk80xx: fix transfer-buffer overflows\n\nThe driver uses endpoint-sized USB transfer buffers but up until\nrecently had no sanity checks on the sizes.\n\nCommit e1f13c879a7c (\"staging: comedi: check validity of wMaxPacketSize\nof usb endpoints found\") inadvertently fixed NULL-pointer dereferences\nwhen accessing the transfer buffers in case a malicious device has a\nzero wMaxPacketSize.\n\nMake sure to allocate buffers large enough to handle also the other\naccesses that are done without a size check (e.g. byte 18 in\nvmk80xx_cnt_insn_read() for the VMK8061_MODEL) to avoid writing beyond\nthe buffers, for example, when doing descriptor fuzzing.\n\nThe original driver was for a low-speed device with 8-byte buffers.\nSupport was later added for a device that uses bulk transfers and is\npresumably a full-speed device with a maximum 64-byte wMaxPacketSize."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T07:11:43.980Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5229159f1d052821007aff1a1beb7873eacf1a9f"
        },
        {
          "url": "https://git.kernel.org/stable/c/ec85bcff4ed09260243d8f39faba99e1041718ba"
        },
        {
          "url": "https://git.kernel.org/stable/c/40d2a7e278e2e7c0a5fd7e997e7eb63945bf93f7"
        },
        {
          "url": "https://git.kernel.org/stable/c/7a2021b896de1ad559d33b5c5cdd20b982242088"
        },
        {
          "url": "https://git.kernel.org/stable/c/199acd8c110e3ae62833c24f632b0bb1c9f012a9"
        },
        {
          "url": "https://git.kernel.org/stable/c/33d7a470730dfe7c9bfc8da84575cf2cedd60d00"
        },
        {
          "url": "https://git.kernel.org/stable/c/278484ae93297b1bb1ce755f9d3b6d95a48c7d47"
        },
        {
          "url": "https://git.kernel.org/stable/c/06ac746d57e6d32b062e220415c607b7e2e0fa50"
        },
        {
          "url": "https://git.kernel.org/stable/c/a23461c47482fc232ffc9b819539d1f837adf2b1"
        }
      ],
      "title": "comedi: vmk80xx: fix transfer-buffer overflows",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2021-47475",
    "datePublished": "2024-05-22T08:19:29.423Z",
    "dateReserved": "2024-05-22T06:20:56.200Z",
    "dateUpdated": "2025-05-04T07:11:43.980Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/5229159f1d052821007aff1a1beb7873eacf1a9f\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/ec85bcff4ed09260243d8f39faba99e1041718ba\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/40d2a7e278e2e7c0a5fd7e997e7eb63945bf93f7\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/7a2021b896de1ad559d33b5c5cdd20b982242088\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/199acd8c110e3ae62833c24f632b0bb1c9f012a9\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/33d7a470730dfe7c9bfc8da84575cf2cedd60d00\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/278484ae93297b1bb1ce755f9d3b6d95a48c7d47\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/06ac746d57e6d32b062e220415c607b7e2e0fa50\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/a23461c47482fc232ffc9b819539d1f837adf2b1\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:39:59.742Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47475\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-22T17:52:35.271810Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:25.588Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"comedi: vmk80xx: fix transfer-buffer overflows\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"985cafccbf9b7f862aa1c5ee566801e18b5161fb\", \"lessThan\": \"5229159f1d052821007aff1a1beb7873eacf1a9f\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"985cafccbf9b7f862aa1c5ee566801e18b5161fb\", \"lessThan\": \"ec85bcff4ed09260243d8f39faba99e1041718ba\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"985cafccbf9b7f862aa1c5ee566801e18b5161fb\", \"lessThan\": \"40d2a7e278e2e7c0a5fd7e997e7eb63945bf93f7\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"985cafccbf9b7f862aa1c5ee566801e18b5161fb\", \"lessThan\": \"7a2021b896de1ad559d33b5c5cdd20b982242088\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"985cafccbf9b7f862aa1c5ee566801e18b5161fb\", \"lessThan\": \"199acd8c110e3ae62833c24f632b0bb1c9f012a9\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"985cafccbf9b7f862aa1c5ee566801e18b5161fb\", \"lessThan\": \"33d7a470730dfe7c9bfc8da84575cf2cedd60d00\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"985cafccbf9b7f862aa1c5ee566801e18b5161fb\", \"lessThan\": \"278484ae93297b1bb1ce755f9d3b6d95a48c7d47\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"985cafccbf9b7f862aa1c5ee566801e18b5161fb\", \"lessThan\": \"06ac746d57e6d32b062e220415c607b7e2e0fa50\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"985cafccbf9b7f862aa1c5ee566801e18b5161fb\", \"lessThan\": \"a23461c47482fc232ffc9b819539d1f837adf2b1\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/comedi/drivers/vmk80xx.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"2.6.31\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"2.6.31\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.4.292\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.4.*\"}, {\"status\": \"unaffected\", \"version\": \"4.9.290\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.9.*\"}, {\"status\": \"unaffected\", \"version\": \"4.14.255\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.217\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.159\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.79\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.14.18\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.14.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.16\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/comedi/drivers/vmk80xx.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/5229159f1d052821007aff1a1beb7873eacf1a9f\"}, {\"url\": \"https://git.kernel.org/stable/c/ec85bcff4ed09260243d8f39faba99e1041718ba\"}, {\"url\": \"https://git.kernel.org/stable/c/40d2a7e278e2e7c0a5fd7e997e7eb63945bf93f7\"}, {\"url\": \"https://git.kernel.org/stable/c/7a2021b896de1ad559d33b5c5cdd20b982242088\"}, {\"url\": \"https://git.kernel.org/stable/c/199acd8c110e3ae62833c24f632b0bb1c9f012a9\"}, {\"url\": \"https://git.kernel.org/stable/c/33d7a470730dfe7c9bfc8da84575cf2cedd60d00\"}, {\"url\": \"https://git.kernel.org/stable/c/278484ae93297b1bb1ce755f9d3b6d95a48c7d47\"}, {\"url\": \"https://git.kernel.org/stable/c/06ac746d57e6d32b062e220415c607b7e2e0fa50\"}, {\"url\": \"https://git.kernel.org/stable/c/a23461c47482fc232ffc9b819539d1f837adf2b1\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncomedi: vmk80xx: fix transfer-buffer overflows\\n\\nThe driver uses endpoint-sized USB transfer buffers but up until\\nrecently had no sanity checks on the sizes.\\n\\nCommit e1f13c879a7c (\\\"staging: comedi: check validity of wMaxPacketSize\\nof usb endpoints found\\\") inadvertently fixed NULL-pointer dereferences\\nwhen accessing the transfer buffers in case a malicious device has a\\nzero wMaxPacketSize.\\n\\nMake sure to allocate buffers large enough to handle also the other\\naccesses that are done without a size check (e.g. byte 18 in\\nvmk80xx_cnt_insn_read() for the VMK8061_MODEL) to avoid writing beyond\\nthe buffers, for example, when doing descriptor fuzzing.\\n\\nThe original driver was for a low-speed device with 8-byte buffers.\\nSupport was later added for a device that uses bulk transfers and is\\npresumably a full-speed device with a maximum 64-byte wMaxPacketSize.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.4.292\", \"versionStartIncluding\": \"2.6.31\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.9.290\", \"versionStartIncluding\": \"2.6.31\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.14.255\", \"versionStartIncluding\": \"2.6.31\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.217\", \"versionStartIncluding\": \"2.6.31\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.159\", \"versionStartIncluding\": \"2.6.31\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.79\", \"versionStartIncluding\": \"2.6.31\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.14.18\", \"versionStartIncluding\": \"2.6.31\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.2\", \"versionStartIncluding\": \"2.6.31\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.16\", \"versionStartIncluding\": \"2.6.31\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T07:11:43.980Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2021-47475\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T07:11:43.980Z\", \"dateReserved\": \"2024-05-22T06:20:56.200Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-22T08:19:29.423Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…