VDB

CVE-2025-21996

CVE-2025-21996 PUBLISHED CVSS 5.5 MEDIUM

drm/radeon: fix uninitialized size issue in radeon_vce_cs_parse()

Reported by linux · Published April 3, 2025

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)

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.13.9, 6.12.21, 6.6.85, 6.1.132, 5.15.180, 5.10.236, 5.4.292
LinuxLinuxdd8689b52a24807c2d5ce0a17cb26dc87f75235c, 78b07dada3f02f77762d0755a96d35f53b02be69, 5b4d9d20fd455a97920cf158dd19163b879cf65d, 3ce08215cad55c10a6eeeb33d3583b6cfffe3ab8

Risk scores

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

Affected products

VendorProductVersions
LinuxLinux2fc5703abda201f138faf63bdca743d04dbf4b1a, 2fc5703abda201f138faf63bdca743d04dbf4b1a, 2fc5703abda201f138faf63bdca743d04dbf4b1a
LinuxLinux3.15, 0, 5.4.292
LinuxLinux2fc5703abda201f138faf63bdca743d04dbf4b1a, 6.12.21, 6.14
linuxlinux_kernel3.15, 3.15, 3.15

Timeline

  • Apr 2, 2025 CVE Published
  • Apr 3, 2025 EPSS Score (30 in total, the first dated here)
  • Apr 13, 2025 Coalition ESS Score (15 in total, the first dated here)
  • Dec 21, 2025 Security Advisory (199 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (180 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21996
vulnetix vdb fixes CVE-2025-21996

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21996/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›