Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2021-47477 Details

Description

In the Linux kernel, the following vulnerability has been resolved: comedi: dt9812: fix DMA buffers on stack USB transfer buffers are typically mapped for DMA and must not be allocated on the stack or transfers will fail. Allocate proper transfer buffers in the various command helpers and return an error on short transfers instead of acting on random stack data. Note that this also fixes a stack info leak on systems where DMA is not used as 32 bytes are always sent to the device regardless of how short the command is.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://git.kernel.org/stable/c/20cebb8b620dc987e55ddc46801de986e081757e kernel.orgPatch
https://git.kernel.org/stable/c/365a346cda82f51d835c49136a00a9df8a78c7f2 kernel.orgPatch
https://git.kernel.org/stable/c/39ea61037ae78f14fa121228dd962ea3280eacf3 kernel.orgPatch
https://git.kernel.org/stable/c/3ac273d154d634e2034508a14db82a95d7ad12ed kernel.orgPatch
https://git.kernel.org/stable/c/3efb7af8ac437085b6c776e5b54830b149d86efe kernel.orgPatch

see all 18 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-787Out-of-bounds Write[email protected]

Affected Products

ProductVersions
linux linux kernel
>= 2.6.29, < 4.4.292
>= 4.5, < 4.9.290
>= 4.10, < 4.14.255
>= 4.15, < 4.19.217
>= 4.20, < 5.4.159

CPE

  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

7 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-47477
NVD Published Date:
May 22, 2024
NVD Last Modified:
Jun 17, 2026
Source:
kernel.org
CVE-2021-47477 Details - Not Deferred