CVE-2021-47477

HIGH

Linux Kernel 2.6.29-4.4.292 - Out-of-bounds Write via DMA Buffer Handling

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0072
EPSS Percentile 49.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-787
Status published
Products (21)
Linux/Linux < 2.6.29
Linux/Linux 2.6.29
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