# CVE-2024-42228: drm/amdgpu: Using uninitialized value \*size when calling amdgpu\_vce\_cs\_reloc

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-07-30 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-42228, DEBIAN-CVE-2024-42228
- Record: https://cvemate.com/vulnerability/CVE-2024-42228 · JSON: https://cvemate.com/vulnerability/CVE-2024-42228/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_cs_reloc

Initialize the size before calling amdgpu_vce_cs_reloc, such as case 0x03000001.
V2: To really improve the handling we would actually
   need to have a separate value of 0xffffffff.(Christian)
```

## Signals

- CVSS: 7 high (v3.1, NVD) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.242%, percentile 16.438%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 133)

- debian linux (Debian): \< 6.1.112-1 \| \< 6.9.9-1
- ubuntu linux (Ubuntu): \< 4.4.0-259.293 \| \< 4.15.0-229.241 \| \< 5.4.0-196.216 \| \< 5.15.0-122.132 \| \< 6.8.0-45.45
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1136.142 \| \< 4.4.0-1174.189 \| \< 4.15.0-1173.186 \| \< 5.4.0-1133.143 \| \< 5.15.0-1070.76 \| \< 6.8.0-1016.17
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1070.76~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1133.143~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1016.17~22.04.2
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2111.117 \| All versions (No fix recorded) \| \< 5.4.0-1133.143+fips1 \| \< 5.15.0-1070.76+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1173.186~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1181.196~14.04.1 \| \< 4.15.0-1181.196~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1138.145 \| \< 5.15.0-1073.82 \| \< 6.8.0-1015.17
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1181.196
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 33)

- <https://git.kernel.org/stable/c/d35cf41c8eb5d9fe95b21ae6ee2910f9ba4878e8>
- <https://git.kernel.org/stable/c/3b505759447637dcccb50cbd98ec6f8d2a04fc46>
- <https://git.kernel.org/stable/c/df02642c21c984303fe34c3f7d72965792fb1a15>
- <https://git.kernel.org/stable/c/da6a85d197888067e8d38b5d22c986b5b5cab712>
- <https://git.kernel.org/stable/c/9ee1534ecdd5b4c013064663502d7fde824d2144>
- <https://git.kernel.org/stable/c/855ae72c20310e5402b2317fc537d911e87537ef>
- <https://git.kernel.org/stable/c/f8f120b3de48b8b6bdf8988a9b334c2d61c17440>
- <https://git.kernel.org/stable/c/88a9a467c548d0b3c7761b4fd54a68e70f9c0944>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- <https://ubuntu.com/security/CVE-2024-42228>
- <https://www.cve.org/CVERecord?id=CVE-2024-42228>
- <https://git.kernel.org/linus/88a9a467c548d0b3c7761b4fd54a68e70f9c0944>
- <https://ubuntu.com/security/notices/USN-7020-1>
- <https://ubuntu.com/security/notices/USN-7021-1>
- <https://ubuntu.com/security/notices/USN-7022-1>
- <https://ubuntu.com/security/notices/USN-7020-2>
- <https://ubuntu.com/security/notices/USN-7028-1>
- <https://ubuntu.com/security/notices/USN-7029-1>
- <https://ubuntu.com/security/notices/USN-7021-2>

---

Data as of 2026-12-05T04:44:51.768Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
