CVE-2021-47476: Linux Kernel

Medium severity, CVSS 4.6. EPSS: 0.4% chance of exploitation in the next 30 days.

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().

Affected products

  • Linux Linux Kernel: from 3.18, before 4.4.292 (fixed in 4.4.292); from 4.5, before 4.9.290 (fixed in 4.9.290); from 4.10, before 4.14.255 (fixed in 4.14.255); from 4.15, before 4.19.217 (fixed in 4.19.217); from 4.20, before 5.4.159 (fixed in 5.4.159); from 5.5, before 5.10.79 (fixed in 5.10.79); …

Published 2024-05-22. Last modified 2026-06-17.