CVE-2025-21996
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.13.9, 6.12.21, 6.6.85, 6.1.132, 5.15.180, 5.10.236, 5.4.292 |
| Linux | Linux | dd8689b52a24807c2d5ce0a17cb26dc87f75235c, 78b07dada3f02f77762d0755a96d35f53b02be69, 5b4d9d20fd455a97920cf158dd19163b879cf65d, 3ce08215cad55c10a6eeeb33d3583b6cfffe3ab8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2fc5703abda201f138faf63bdca743d04dbf4b1a, 2fc5703abda201f138faf63bdca743d04dbf4b1a, 2fc5703abda201f138faf63bdca743d04dbf4b1a |
| Linux | Linux | 3.15, 0, 5.4.292 |
| Linux | Linux | 2fc5703abda201f138faf63bdca743d04dbf4b1a, 6.12.21, 6.14 |
| linux | linux_kernel | 3.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