CVE-2021-47476Linux Kernel
Medium 4.6
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 28
- CVSS 3.1
- 4.6
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 40
- Auth required
- Yes
- Published
- May 22, 2024
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-476
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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().
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | ≥ 3.18 < 4.4.292 |
| linux | linux_kernel | ≥ 4.5 < 4.9.290 |
| linux | linux_kernel | ≥ 4.10 < 4.14.255 |
| linux | linux_kernel | ≥ 4.15 < 4.19.217 |
| linux | linux_kernel | ≥ 4.20 < 5.4.159 |
| linux | linux_kernel | ≥ 5.5 < 5.10.79 |
| linux | linux_kernel | ≥ 5.11 < 5.14.18 |
| linux | linux_kernel | ≥ 5.15 < 5.15.2 |
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch