Vulnerability · Published Jul 30, 2024 · Assigned by Linux
CVE-2024-42228drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_cs_reloc
High 7.0
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.0High
Exploit odds (30 days)0.2%top 84.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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)
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.112-1 | DSA-5782-1 |
| Debian:12 | linux | 6.1.112-1 | DEBIAN-CVE-2024-42228 |
| Debian:13 | linux | 6.9.9-1 | DEBIAN-CVE-2024-42228 |
| Debian:14 | linux | 6.9.9-1 | DEBIAN-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux | 5.15.0-122.132 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux | 5.15.0-122.132 | USN-7021-1 |
| Ubuntu:24.04:LTS | linux | 6.8.0-45.45 | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux | 6.8.0-45.45 | USN-7020-1 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1070.76 | USN-7021-1 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1070.76 | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1016.17 | USN-7020-1 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1016.17 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1016.17~22.04.2 | USN-7020-4 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1016.17~22.04.2 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1073.82 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1073.82 | USN-7021-1 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1015.17 | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1015.17 | USN-7020-2 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1015.17~22.04.2 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1073.82.1 | USN-7021-5 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1073.82.1 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1069.77 | USN-7021-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1069.77 | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1015.17 | USN-7020-1 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1015.17 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1015.17~22.04.1 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1067.73 | USN-7021-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1067.73 | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1011.14 | USN-7020-1 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1011.14 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1053.60 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1053.60 | USN-7021-1 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1002.4 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-45.45~22.04.1 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1063.66 | USN-7021-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1063.66 | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1013.13 | USN-7020-1 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1013.13 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1013.13~22.04.1 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1065.71 | USN-7021-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1065.71 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1067.72 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1067.72 | USN-7021-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-122.132 | USN-7021-3 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-122.132 | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-45.45.1 | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-45.45.1 | USN-7020-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-45.45.1~22.04.1 | USN-7020-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-45.45.1~22.04.1 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1065.66 | USN-7021-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1065.66 | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1014.15 | USN-7020-1 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1014.15 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1014.15~22.04.1 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1014.15~22.04.1 | USN-7020-1 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1014.15.1 | USN-7020-1 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1014.15.1 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1030.30 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1019.19 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1013.13 | USN-7020-1 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1013.13 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1068.74 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1068.74 | USN-7021-1 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1013.13 | USN-7020-1 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1013.13 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1013.13~22.04.1 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1013.13~22.04.1 | USN-7020-4 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1063.66 | USN-7021-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1063.66 | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1012.13 | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1012.13 | USN-7020-3 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux-riscv | 6.8.0-47.47.1 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-47.47.1~22.04.1 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2024-42228 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1009.10 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1036.40 | UBUNTU-CVE-2024-42228 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1036.40 | USN-7021-2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d38ceaf99ed015f2a0b9af3499791bd3a3daae21 – before d35cf41c8eb5d9fe95b21ae6ee2910f9ba4878e8d38ceaf99ed015f2a0b9af3499791bd3a3daae21 – before 3b505759447637dcccb50cbd98ec6f8d2a04fc46d38ceaf99ed015f2a0b9af3499791bd3a3daae21 – before df02642c21c984303fe34c3f7d72965792fb1a15d38ceaf99ed015f2a0b9af3499791bd3a3daae21 – before da6a85d197888067e8d38b5d22c986b5b5cab712d38ceaf99ed015f2a0b9af3499791bd3a3daae21 – before 9ee1534ecdd5b4c013064663502d7fde824d2144d38ceaf99ed015f2a0b9af3499791bd3a3daae21 – before 855ae72c20310e5402b2317fc537d911e87537efd38ceaf99ed015f2a0b9af3499791bd3a3daae21 – before f8f120b3de48b8b6bdf8988a9b334c2d61c17440d38ceaf99ed015f2a0b9af3499791bd3a3daae21 – before 88a9a467c548d0b3c7761b4fd54a68e70f9c0944 |
| Linux | Linux | 4.2 |
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
- 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