CVE-2021-47476
MEDIUMLinux Kernel 3.18-4.4.292 - NULL Pointer Dereference in ni_usb6501 Driver via Malicious Device
Title source: llmDescription
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().
References (9)
Core 9
Core References
Scores
CVSS v3
4.6
EPSS
0.0039
EPSS Percentile
30.7%
Attack Vector
PHYSICAL
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-476
Status
published
Products (21)
Linux/Linux
< 3.18
Linux/Linux
3.18
Linux/Linux
4.14.255 - 4.14.*
Linux/Linux
4.19.217 - 4.19.*
Linux/Linux
4.4.292 - 4.4.*
Linux/Linux
4.9.290 - 4.9.*
Linux/Linux
5.10.79 - 5.10.*
Linux/Linux
5.14.18 - 5.14.*
Linux/Linux
5.15.2 - 5.15.*
Linux/Linux
5.16
... and 11 more
Published
May 22, 2024
Tracked Since
Feb 18, 2026