CVE-2024-42228

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

No CVSS score yet EPSS 0.24%

Published 30 Jul 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-42228

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-42228 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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)

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.4% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, before d35cf41c8eb5d9fe95b21ae6ee2910f9ba4878e8
affected from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, before 3b505759447637dcccb50cbd98ec6f8d2a04fc46
affected from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, before df02642c21c984303fe34c3f7d72965792fb1a15
affected from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, before da6a85d197888067e8d38b5d22c986b5b5cab712
affected from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, before 9ee1534ecdd5b4c013064663502d7fde824d2144
affected from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, before 855ae72c20310e5402b2317fc537d911e87537ef
affected from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, before f8f120b3de48b8b6bdf8988a9b334c2d61c17440
affected from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, before 88a9a467c548d0b3c7761b4fd54a68e70f9c0944
Other versions: unaffected
Linux
affected 4.2
unaffected before 4.2
unaffected from 4.19.321 up to and including 4.19.*
unaffected from 5.4.283 up to and including 5.4.*
unaffected from 5.10.225 up to and including 5.10.*
unaffected from 5.15.166 up to and including 5.15.*
unaffected from 6.1.108 up to and including 6.1.*
unaffected from 6.6.39 up to and including 6.6.*
unaffected from 6.9.9 up to and including 6.9.*
unaffected 6.10 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-42228 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42228

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-42228
trivy image --scanners vuln IMAGE | grep CVE-2024-42228

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-42228 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.