
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-42118 affects the Linux kernel's AMD display driver (drm/amd/display). The vulnerability was discovered when the resourcestreamtostreamidx function was found to return -1 when not found, which is not a valid array index number. This issue was disclosed on July 30, 2024 (NVD, Ubuntu).
The vulnerability exists in the AMD display driver's resource handling code where the resourcestreamtostreamidx function could return a negative array index (-1) when a stream is not found. This could potentially lead to an array overflow condition and negative returns issues as reported by Coverity static analysis tool (Kernel Commit).
The vulnerability could potentially lead to array overflow conditions in the AMD display driver, which might result in memory corruption or system instability. The issue affects various Linux distributions including Ubuntu 22.04 LTS and 20.04 LTS (Ubuntu).
The issue has been fixed in Linux kernel version 6.8.0 and backported to various distribution kernels. Ubuntu has released patches for affected versions: Ubuntu 24.04 LTS (noble) with linux 6.8.0-48.48, Ubuntu 22.04 LTS (jammy) with linux-hwe 6.8.0-48.48~22.04.1, and other kernel variants (Ubuntu). The fix involves modifying the resourcestreamtostreamidx function to return 0 instead of -1 when a stream is not found (Kernel Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."