CVE-2021-47476
Linux Kernel Comedi ni_usb6501 Null Pointer Dereference Vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: comedi: ni_usb6501: fix NULL-deref in command paths The driver uses endpoint-sized USB transfer buffers but had no sanity checks on the sizes. This can lead to zero-size-pointer dereferences or overflowed transfer buffers in ni6501_port_command() and ni6501_counter_command() if a (malicious) device has smaller max-packet sizes than expected (or when doing descriptor fuzz testing). Add the missing sanity checks to probe().
INFO
Published Date :
May 22, 2024, 9:15 a.m.
Last Modified :
July 3, 2024, 1:38 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-47476
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-47476
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-47476
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 03, 2024
Action Type Old Value New Value Added CWE CISA-ADP CWE-476 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 22, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: comedi: ni_usb6501: fix NULL-deref in command paths The driver uses endpoint-sized USB transfer buffers but had no sanity checks on the sizes. This can lead to zero-size-pointer dereferences or overflowed transfer buffers in ni6501_port_command() and ni6501_counter_command() if a (malicious) device has smaller max-packet sizes than expected (or when doing descriptor fuzz testing). Add the missing sanity checks to probe(). Added Reference kernel.org https://git.kernel.org/stable/c/58478143771b20ab219937b1c30a706590a59224 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/aa39738423503825625853b643b9e99d11c23816 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/df7b1238f3b599a0b9284249772cdfd1ea83a632 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/bc51111bf6e8e7b6cc94b133e4c291273a16acd1 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b0156b7c9649d8f55a2ce3d3258509f1b2a181c3 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ef143dc0c3defe56730ecd3a9de7b3e1d7e557c1 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/4a9d43cb5d5f39fa39fc1da438517004cc95f7ea [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d6a727a681a39ae4f73081a9bedb45d14f95bdd1 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/907767da8f3a925b060c740e0b5c92ea7dbec440 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-47476
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-47476
weaknesses.