DEBIAN-CVE-2024-26672

    Dashboard / Vulnerabilities / DEBIAN-CVE-2024-26672

    DEBIAN-CVE-2024-26672

    Published: 2 Apr 2024Last Modified: 15 Sept 2026
    Upstream:

    Summary:

    Details: In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL check in 'amdgpu_mca_smu_get_mca_entry()' Fixes the below: drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c:377 amdgpu_mca_smu_get_mca_entry() warn: variable dereferenced before check 'mca_funcs' (see line 368) 357 int amdgpu_mca_smu_get_mca_entry(struct amdgpu_device *adev, enum amdgpu_mca_error_type type, 358 int idx, struct mca_bank_entry *entry) 359 { 360 const struct amdgpu_mca_smu_funcs *mca_funcs = adev->mca.mca_funcs; 361 int count; 362 363 switch (type) { 364 case AMDGPU_MCA_ERROR_TYPE_UE: 365 count = mca_funcs->max_ue_count; mca_funcs is dereferenced here. 366 break; 367 case AMDGPU_MCA_ERROR_TYPE_CE: 368 count = mca_funcs->max_ce_count; mca_funcs is dereferenced here. 369 break; 370 default: 371 return -EINVAL; 372 } 373 374 if (idx >= count) 375 return -EINVAL; 376 377 if (mca_funcs && mca_funcs->mca_get_mca_entry) ^^^^^^^^^ Checked too late!

    Affected packages

    Package

    Name: linux

    Purl: pkg:deb/debian/linux?arch=source&distro=bookworm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    6.1.106-1
    6.1.106-2
    6.1.106-3
    6.1.112-1
    6.1.115-1
    6.1.119-1
    6.1.123-1
    6.1.124-1
    6.1.128-1
    6.1.129-1
    6.1.133-1
    6.1.135-1
    6.1.137-1
    6.1.139-1
    6.1.140-1
    6.1.147-1
    6.1.148-1
    6.1.153-1
    6.1.158-1
    6.1.159-1
    6.1.162-1
    6.1.164-1
    6.1.170-1
    6.1.170-2
    6.1.170-3
    6.1.172-1
    6.1.174-1
    6.1.176-1
    6.1.177-1
    6.1.180-1
    6.1.187-1
    6.1.27-1
    6.1.37-1
    6.1.38-1
    6.1.38-2
    6.1.38-2~bpo11+1
    6.1.38-3
    6.1.38-4
    6.1.38-4~bpo11+1
    6.1.52-1
    6.1.55-1
    6.1.55-1~bpo11+1
    6.1.64-1
    6.1.66-1
    6.1.67-1
    6.1.69-1
    6.1.69-1~bpo11+1
    6.1.76-1
    6.1.76-1~bpo11+1
    6.1.82-1
    6.1.85-1
    6.1.90-1
    6.1.90-1~bpo11+1
    6.1.94-1
    6.1.94-1~bpo11+1
    6.1.98-1
    6.1.99-1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    DEBIAN-CVE-2024-26672 | CVE-DB