CVE-2024-50282: drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()
Avoid a possible buffer overflow if size is larger than 4K.
(cherry picked from commit f5d873f5825b40d886d03bd2aede91d4cf002434)
Security readout for executives and security teams
Plain-English summary
A missing bounds check in the Linux AMD GPU debug interface can allow a locally authenticated, low-privileged user to trigger a buffer overflow. Successful exploitation could seriously affect system confidentiality, integrity, or availability. Systems without the affected AMD GPU driver path are less likely to be exposed.
Executive priority
Treat as a high-priority local privilege-boundary risk on shared or untrusted-user AMD GPU systems. Patch those systems promptly through supported kernel channels. Internet-facing status alone does not increase direct reachability because the documented attack vector is local.
Technical view
CVE-2024-50282 is a CWE-120 buffer overflow in amdgpu_debugfs_gprwave_read(). The function could process a size larger than its 4 KiB buffer. The supplied CVSS 3.1 score is 7.8, with local access and low privileges required. Linux stable commits add the missing size check.
Likely exposure
Prioritize Linux systems using AMD GPUs and affected kernel builds, particularly multi-user workstations, compute nodes, and other hosts granting local accounts. Exposure depends on the amdgpu debugfs path being present and accessible. The supplied version data is ambiguous, so confirm status through distribution advisories and fix-commit provenance.
Exploitation context
The CVSS vector indicates a local, low-complexity attack requiring low privileges and no user interaction. The bundle marks this CVE as absent from KEV and provides no evidence of active exploitation or public weaponization. Real-world reachability and exploit reliability are not established by the supplied sources.
Researcher notes
The source describes an oversized read exceeding 4 KiB in an AMDGPU debugfs handler. The supplied affected-version representation contains ambiguous values and duplicated commit identifiers, preventing a reliable universal version range. Assess branches through stable fix commits and distribution backports. The sources do not establish exploitability beyond the possible overflow or specify a demonstrated exploitation outcome.
Mitigation direction
Install a vendor-supported kernel update that incorporates the applicable Linux stable fix.
Check your distribution's advisory for the exact fixed package and required reboot.
Until updated, limit untrusted local accounts on potentially affected AMD GPU systems.
Follow vendor guidance for any supported interim control; none is explicitly documented in the bundle.
Validation and detection
Inventory running kernel versions and identify systems where the amdgpu driver is active.
Map installed kernel packages against distribution advisories and the cited stable commits.
After updating, reboot and confirm the fixed kernel is running.
Verify vulnerability scanners use distribution backport status, not version strings alone.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-120: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
2ADP providers
7Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-120 · source CWE mapping
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.