LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47288: media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()

In the Linux kernel, the following vulnerability has been resolved: media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf() Fix an 11-year old bug in ngene_command_config_free_buf() while addressing the following warnings caught with -Warray-bounds: arch/alpha/include/asm/string.h:22:16: warning: '__builtin_memcpy' offset [12, 16] from the object at 'com' is out of the bounds of referenced subobject 'config' with type 'unsigned char' at offset 10 [-Warray-bounds] arch/x86/include/asm/string_32.h:182:25: warning: '__builtin_memcpy' offset [12, 16] from the object at 'com' is out of the bounds of referenced subobject 'config' with type 'unsigned char' at offset 10 [-Warray-bounds] The problem is that the original code is trying to copy 6 bytes of data into a one-byte size member _config_ of the wrong structue FW_CONFIGURE_BUFFERS, in a single call to memcpy(). This causes a legitimate compiler warning because memcpy() overruns the length of &com.cmd.ConfigureBuffers.config. It seems that the right structure is FW_CONFIGURE_FREE_BUFFERS, instead, because it contains 6 more members apart from the header _hdr_. Also, the name of the function ngene_command_config_free_buf() suggests that the actual intention is to ConfigureFreeBuffers, instead of ConfigureBuffers (which takes place in the function ngene_command_config_buf(), above). Fix this by enclosing those 6 members of struct FW_CONFIGURE_FREE_BUFFERS into new struct config, and use &com.cmd.ConfigureFreeBuffers.config as the destination address, instead of &com.cmd.ConfigureBuffers.config, when calling memcpy(). This also helps with the ongoing efforts to globally enable -Warray-bounds and get us closer to being able to tighten the FORTIFY_SOURCE routines on memcpy().

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2021-47288 is a Linux kernel bug in the ngene media driver. A buffer-copy operation used the wrong structure field and could write beyond a one-byte member. The public record says this was fixed in stable kernel commits, but gives no CVSS score or confirmed exploitation.

Executive priority

Track this as a kernel hygiene issue unless local exposure analysis shows the ngene driver is present and reachable. There is no provided evidence of exploitation or severity scoring, so prioritize patching through normal kernel maintenance workflows.

Technical view

The flaw is in ngene_command_config_free_buf(). The original code copied six bytes into the config member of FW_CONFIGURE_BUFFERS, where the destination was too small. The fix uses FW_CONFIGURE_FREE_BUFFERS.config instead. The issue was identified through compiler array-bounds warnings and relates to memcpy/FORTIFY_SOURCE hardening.

Likely exposure

Exposure appears limited to Linux systems containing affected kernel versions and the ngene media driver code path. The source bundle does not define required hardware, privilege level, local versus remote reachability, or whether default builds load the vulnerable path.

Exploitation context

No active exploitation is cited. The CVE is not marked KEV in the provided bundle, and no source in the bundle describes public exploitation, proof-of-concept activity, or attacker preconditions.

Researcher notes

The record is specific about the coding defect and fix rationale, but incomplete for exploitability. Useful research questions are reachable call paths, required device context, whether unprivileged users can trigger the command path, and which vendor kernels backported the stable commits.

Mitigation direction

  • Identify Linux kernel versions across servers, appliances, and embedded systems.
  • Check whether kernels include the ngene media driver.
  • Apply vendor kernel updates containing the referenced stable fixes.
  • Prioritize systems where media drivers are enabled or exposed to untrusted input.
  • If no vendor advisory exists, follow distributor kernel guidance.

Validation and detection

  • Confirm deployed kernel versions against vendor fixed releases or referenced stable commits.
  • Inventory loaded and built kernel modules for ngene driver presence.
  • Review distribution advisories for backported fixes under CVE-2021-47288.
  • Run regression tests after kernel updates on systems using media hardware.
  • Document systems where the driver is absent or unreachable.
Prepared
Confidence
medium
Sources
10

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-47288 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
Unknown
CVSS
Not scored
Known Exploited
No
Published
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.

0CVSS vectors
3Timeline events
2ADP providers
9Source links

SSVC decision data

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

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
other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxdae52d009fc950b5c209260d50fcc000f5becd3c, dae52d009fc950b5c209260d50fcc000f5becd3c, dae52d009fc950b5c209260d50fcc000f5becd3c, dae52d009fc950b5c209260d50fcc000f5becd3c, dae52d009fc950b5c209260d50fcc000f5becd3c, dae52d009fc950b5c209260d50fcc000f5becd3c, dae52d009fc950b5c209260d50fcc000f5becd3c, dae52d009fc950b5c209260d50fcc000f5becd3cunaffected
LinuxLinux2.6.34, 0, 4.4.277, 4.9.277, 4.14.241, 4.19.199, 5.4.136, 5.10.54, 5.13.6, 5.14affected
Weakness

CWE details

No CWE listed

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