CVE-2024-27042 Vulnerability Details

  /     /     /  

CVE-2024-27042 Metadata Quick Info

CVE Published: 01/05/2024 | CVE Updated: 05/11/2024 | CVE Year: 2024
Source: Linux | Vendor: Linux | Product: Linux
Status : PUBLISHED

CVE-2024-27042 Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix potential out-of-bounds access in \'amdgpu_discovery_reg_base_init()\' The issue arises when the array \'adev->vcn.vcn_config\' is accessed before checking if the index \'adev->vcn.num_vcn_inst\' is within the bounds of the array. The fix involves moving the bounds check before the array access. This ensures that \'adev->vcn.num_vcn_inst\' is within the bounds of the array before it is used as an index. Fixes the below: drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c:1289 amdgpu_discovery_reg_base_init() error: testing array offset \'adev->vcn.num_vcn_inst\' after use.

Metrics

CVSS Version: 3.1 | Base Score: n/a
Vector: n/a

l➤ Exploitability Metrics:
    Attack Vector (AV)*
    Attack Complexity (AC)*
    Privileges Required (PR)*
    User Interaction (UI)*
    Scope (S)*

l➤ Impact Metrics:
    Confidentiality Impact (C)*
    Integrity Impact (I)*
    Availability Impact (A)*

Weakness Enumeration (CWE)

CWE-ID:
CWE Name:
Source: Linux

Common Attack Pattern Enumeration and Classification (CAPEC)

CAPEC-ID:
CAPEC Description:


Source: NVD (National Vulnerability Database).