# CVE-2024-42228: drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_cs_reloc

- Severity: High 7.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-07-30T07:47:08.955Z
- Modified: 2026-06-17T07:49:03.637Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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)

(As written by CVE List.)

## Affected

- Linux Linux: from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before d35cf41c8eb5d9fe95b21ae6ee2910f9ba4878e8; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 3b505759447637dcccb50cbd98ec6f8d2a04fc46; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before df02642c21c984303fe34c3f7d72965792fb1a15; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before da6a85d197888067e8d38b5d22c986b5b5cab712; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 9ee1534ecdd5b4c013064663502d7fde824d2144; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 855ae72c20310e5402b2317fc537d911e87537ef; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before f8f120b3de48b8b6bdf8988a9b334c2d61c17440; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 88a9a467c548d0b3c7761b4fd54a68e70f9c0944; 4.2 (not affected: before 4.2; from 4.19.321 up to 4.19.*; from 5.4.283 up to 5.4.*; from 5.10.225 up to 5.10.*; from 5.15.166 up to 5.15.*; from 6.1.108 up to 6.1.*; from 6.6.39 up to 6.6.*; from 6.9.9 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: before 6.6.39; from 6.7 before 6.9.9

## References

- <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> (patch)
- <https://git.kernel.org/stable/c/f8f120b3de48b8b6bdf8988a9b334c2d61c17440> (patch)
- <https://git.kernel.org/stable/c/88a9a467c548d0b3c7761b4fd54a68e70f9c0944> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Sources

- CVE List: [CVE-2024-42228](https://www.cve.org/CVERecord?id=CVE-2024-42228), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-42228](https://nvd.nist.gov/vuln/detail/CVE-2024-42228), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42228 · Whole record: https://cve.day/CVE-2024-42228.json · Rebuilt by cve.day 2026-11-25T22:58:43.426Z
