LiveActive security incident?Get immediate response
CVE Record

CVE-2025-21996: drm/radeon: fix uninitialized size issue in radeon_vce_cs_parse()

In the Linux kernel, the following vulnerability has been resolved: drm/radeon: fix uninitialized size issue in radeon_vce_cs_parse() On the off chance that command stream passed from userspace via ioctl() call to radeon_vce_cs_parse() is weirdly crafted and first command to execute is to encode (case 0x03000001), the function in question will attempt to call radeon_vce_cs_reloc() with size argument that has not been properly initialized. Specifically, 'size' will point to 'tmp' variable before the latter had a chance to be assigned any value. Play it safe and init 'tmp' with 0, thus ensuring that radeon_vce_cs_reloc() will catch an early error in cases like these. Found by Linux Verification Center (linuxtesting.org) with static analysis tool SVACE. (cherry picked from commit 2d52de55f9ee7aaee0e09ac443f77855989c6b68)

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

A local user may be able to crash or destabilize a Linux system using a malformed Radeon video command stream. The issue is in the kernel Radeon driver, so impact is mainly availability, not data theft or remote compromise.

Executive priority

Treat as a routine but timely kernel availability fix. It is not remote code execution, but shared workstations, GPU-enabled servers, and multi-user Linux environments should patch promptly to reduce local denial-of-service risk.

Technical view

The flaw is an uninitialized size value in drm/radeon radeon_vce_cs_parse(). A crafted userspace ioctl command stream starting with an encode command can pass an uninitialized size to radeon_vce_cs_reloc(). The fix initializes tmp to 0 so the relocation path rejects the malformed stream early.

Likely exposure

Exposure is most likely on Linux systems using affected kernels with the Radeon DRM driver and accessible AMD Radeon VCE functionality. The CVSS vector requires local privileges and no user interaction. Systems without this driver or hardware path are less likely exposed.

Exploitation context

The source bundle does not show KEV listing or active exploitation. Exploitation is local, low-complexity, and availability-focused. The issue was found by Linux Verification Center using SVACE static analysis, not reported as exploited in the wild.

Researcher notes

The available evidence supports CWE-908 and CVSS 5.5 availability impact. Exact downstream fixed package versions are not fully enumerated in the bundle beyond Linux stable references and Debian LTS notices. Avoid assuming confidentiality, integrity, or active exploit impact.

Mitigation direction

  • Update affected Linux kernels using vendor or distribution security packages.
  • Prioritize multi-user systems where untrusted users can access Radeon GPU device paths.
  • Review Debian LTS advisories if running Debian LTS kernels.
  • Track the referenced Linux stable commits for branch-specific fixed versions.
  • Limit untrusted local shell or container access to GPU devices where practical.

Validation and detection

  • Inventory Linux kernel versions across hosts with AMD Radeon GPUs.
  • Check whether the radeon DRM driver is loaded or packaged for affected systems.
  • Compare installed kernels with vendor advisories and referenced stable commits.
  • Confirm distribution security updates include CVE-2025-21996 fixes.
  • Document systems where GPU device access is exposed to untrusted users.
Prepared
Confidence
high
Sources
12

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.

cwe · low confidence lookup

CWE-908: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-21996 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.5 (3.1)
Known Exploited
No
Published

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

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
11Source 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.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2025-21996Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

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
LinuxLinux2fc5703abda201f138faf63bdca743d04dbf4b1a, 2fc5703abda201f138faf63bdca743d04dbf4b1a, 2fc5703abda201f138faf63bdca743d04dbf4b1a, 2fc5703abda201f138faf63bdca743d04dbf4b1a, 2fc5703abda201f138faf63bdca743d04dbf4b1a, 2fc5703abda201f138faf63bdca743d04dbf4b1a, 2fc5703abda201f138faf63bdca743d04dbf4b1a, 2fc5703abda201f138faf63bdca743d04dbf4b1aunaffected
LinuxLinux3.15, 0, 5.4.292, 5.10.236, 5.15.180, 6.1.132, 6.6.85, 6.12.21, 6.13.9, 6.14affected
Weakness

CWE details

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

CWE-908 · source CWE mapping

Use of Uninitialized Resource

Use of Uninitialized Resource represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.