LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47477: comedi: dt9812: fix DMA buffers on stack

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.

MediumCVSS 5.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This Linux kernel issue affects the comedi dt9812 USB driver. The driver used stack memory for USB transfer buffers, which can fail with DMA and may expose unintended stack data in some conditions. Business impact is limited unless affected systems use this driver, but kernel updates should be tracked through normal patch management.

Executive priority

Treat as routine kernel maintenance unless the organization uses the affected driver. Prioritize patching specialized Linux hosts connected to relevant USB data-acquisition hardware, while confirming exposure before emergency action.

Technical view

The dt9812 comedi driver allocated USB transfer buffers on the stack. The source says USB DMA buffers must not be stack allocated, and short transfers could cause the driver to act on random stack data. It also fixed a stack information leak on systems where DMA was not used, because 32 bytes were always sent to the device.

Likely exposure

Exposure is most likely on Linux systems running affected kernel versions where the comedi dt9812 driver is present and used. General Linux servers without this driver or relevant USB device use are less likely exposed. The bundle does not provide distribution-specific package names or configuration checks.

Exploitation context

The source bundle reports CVSS 5.3 and KEV is false. No cited source states active exploitation or public exploit availability. The described impact is low availability impact and possible stack information disclosure behavior tied to driver transfer handling.

Researcher notes

Evidence is limited to the CVE record and upstream stable commit references. The affected-version data in the bundle is broad and commit-oriented, so distribution-specific validation requires vendor advisories or local kernel changelogs.

Mitigation direction

  • Update to a vendor kernel containing the relevant upstream stable fix.
  • Check Linux distribution advisories for the corrected package version.
  • Prioritize systems using the comedi dt9812 driver or related USB hardware.
  • Use vendor guidance for any temporary workaround if patching is delayed.

Validation and detection

  • Inventory Linux kernels against the affected version list in the CVE record.
  • Confirm whether the comedi dt9812 driver is enabled, loaded, or required.
  • Verify installed kernel includes one of the referenced stable commits or vendor backport.
  • Review patch status through distribution security tooling or vendor advisories.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-47477 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
10Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L3.91.4CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

5.3Medium
CVSS 3.1 vector shape for CVE-2021-47477Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux63274cd7d38a3322d90b66a5bc976de1fb899051, 63274cd7d38a3322d90b66a5bc976de1fb899051, 63274cd7d38a3322d90b66a5bc976de1fb899051, 63274cd7d38a3322d90b66a5bc976de1fb899051, 63274cd7d38a3322d90b66a5bc976de1fb899051, 63274cd7d38a3322d90b66a5bc976de1fb899051, 63274cd7d38a3322d90b66a5bc976de1fb899051, 63274cd7d38a3322d90b66a5bc976de1fb899051, 63274cd7d38a3322d90b66a5bc976de1fb899051unaffected
LinuxLinux2.6.29, 0, 4.4.292, 4.9.290, 4.14.255, 4.19.217, 5.4.159, 5.10.79, 5.14.18, 5.15.2, 5.16affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.