Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-42228

HIGH 7.0EPSS 19%

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

Mitigation

  • Upgrade Linux to 88a9a467c548d0b3c7761b4fd54a68e70f9c0944 or later.

Who should check

  • Anyone running Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < d35cf41c8eb5d9fe95b21ae6ee2910f9ba4878e8; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 3b505759447637dcccb50cbd98ec6f8d2a04fc46; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < df02642c21c984303fe34c3f7d72965792fb1a15; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < da6a85d197888067e8d38b5d22c986b5b5cab712; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 9ee1534ecdd5b4c013064663502d7fde824d2144; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 855ae72c20310e5402b2317fc537d911e87537ef; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < f8f120b3de48b8b6bdf8988a9b334c2d61c17440; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 88a9a467c548d0b3c7761b4fd54a68e70f9c0944
  • Anyone running Linux 4.2

Vulnerability facts

Affected
Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < d35cf41c8eb5d9fe95b21ae6ee2910f9ba4878e8; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 3b505759447637dcccb50cbd98ec6f8d2a04fc46; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < df02642c21c984303fe34c3f7d72965792fb1a15; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < da6a85d197888067e8d38b5d22c986b5b5cab712; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 9ee1534ecdd5b4c013064663502d7fde824d2144; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 855ae72c20310e5402b2317fc537d911e87537ef; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < f8f120b3de48b8b6bdf8988a9b334c2d61c17440; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 88a9a467c548d0b3c7761b4fd54a68e70f9c0944; Linux 4.2
Fixed in
Linux 3b505759447637dcccb50cbd98ec6f8d2a04fc46, Linux 9ee1534ecdd5b4c013064663502d7fde824d2144, Linux 855ae72c20310e5402b2317fc537d911e87537ef, Linux 88a9a467c548d0b3c7761b4fd54a68e70f9c0944
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.0 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
CWE
CWE-908
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < d35cf41c8eb5d9fe95b21ae6ee2910f9ba4878e8; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 3b505759447637dcccb50cbd98ec6f8d2a04fc46; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < df02642c21c984303fe34c3f7d72965792fb1a15; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < da6a85d197888067e8d38b5d22c986b5b5cab712; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 9ee1534ecdd5b4c013064663502d7fde824d2144; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 855ae72c20310e5402b2317fc537d911e87537ef; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < f8f120b3de48b8b6bdf8988a9b334c2d61c17440; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 88a9a467c548d0b3c7761b4fd54a68e70f9c0944—cvelist
Linux4.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-42228. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42228.md
Affected: Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < d35cf41c8eb5d9fe95b21ae6ee2910f9ba4878e8; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 3b505759447637dcccb50cbd98ec6f8d2a04fc46; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < df02642c21c984303fe34c3f7d72965792fb1a15; >= d38ceaf99ed015f2a0b9af3…
Fixed in: Linux 3b505759447637dcccb50cbd98ec6f8d2a04fc46, Linux 9ee1534ecdd5b4c013064663502d7fde824d2144, Linux 855ae72c20310e5402b2317fc537d911e87537ef, Linux 88a9a467c548d0b3c7761b4fd54a68e70f9c0944

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-42228 being exploited?

There is no confirmed exploitation: CVE-2024-42228 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-42228?

High: CVSS 7.0 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-42228?

Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < d35cf41c8eb5d9fe95b21ae6ee2910f9ba4878e8; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 3b505759447637dcccb50cbd98ec6f8d2a04fc46; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < df02642c21c984303fe34c3f7d72965792fb1a15; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < da6a85d197888067e8d38b5d22c986b5b5cab712; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 9ee1534ecdd5b4c013064663502d7fde824d2144; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 855ae72c20310e5402b2317fc537d911e87537ef; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < f8f120b3de48b8b6bdf8988a9b334c2d61c17440; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 88a9a467c548d0b3c7761b4fd54a68e70f9c0944; Linux 4.2.

Is there a fix for CVE-2024-42228?

Yes. Fixed in Linux 3b505759447637dcccb50cbd98ec6f8d2a04fc46, Linux 9ee1534ecdd5b4c013064663502d7fde824d2144, Linux 855ae72c20310e5402b2317fc537d911e87537ef, Linux 88a9a467c548d0b3c7761b4fd54a68e70f9c0944. Upgrade Linux to 88a9a467c548d0b3c7761b4fd54a68e70f9c0944 or later.

How do I check if I'm affected by CVE-2024-42228?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors