CVE-2024-41061

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-41061
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41061.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-41061
Downstream
Related
Published
2024-07-29T14:57:23.459Z
Modified
2025-11-20T04:54:55.633309Z
Summary
drm/amd/display: Fix array-index-out-of-bounds in dml2/FCLKChangeSupport
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Fix array-index-out-of-bounds in dml2/FCLKChangeSupport

[Why] Potential out of bounds access in dml2calculaterqanddlgparams() because the value of outloweststateidx used as an index for FCLKChangeSupport array can be greater than 1.

[How] Currently dml2 core specifies identical values for all FCLKChangeSupport elements. Always use index 0 in the condition to avoid out of bounds access.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7966f319c66d9468623c6a6a017ecbc0dd79be75
Fixed
94166fe12543fbef122ca2d093e794ea41073a85
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7966f319c66d9468623c6a6a017ecbc0dd79be75
Fixed
0ad4b4a2f6357c45fbe444ead1a929a0b4017d03

Affected versions

v6.*

v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.5
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7
v6.9.1
v6.9.10
v6.9.2
v6.9.3
v6.9.4
v6.9.5
v6.9.6
v6.9.7
v6.9.8
v6.9.9

Database specific

vanir_signatures

[
    {
        "id": "CVE-2024-41061-1b6bc049",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ad4b4a2f6357c45fbe444ead1a929a0b4017d03",
        "signature_version": "v1",
        "target": {
            "function": "dml2_calculate_rq_and_dlg_params",
            "file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
        },
        "deprecated": false,
        "digest": {
            "length": 4997.0,
            "function_hash": "267290073133428497600780194438632544107"
        },
        "signature_type": "Function"
    },
    {
        "id": "CVE-2024-41061-a174224d",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ad4b4a2f6357c45fbe444ead1a929a0b4017d03",
        "signature_version": "v1",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
        },
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "206436889168418160689211103217078771282",
                "35921554919880976619236468113320971597",
                "87522368036787085195993580659536555257",
                "324025948786381375647543212596136041329"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line"
    },
    {
        "id": "CVE-2024-41061-b08650f3",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@94166fe12543fbef122ca2d093e794ea41073a85",
        "signature_version": "v1",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
        },
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "206436889168418160689211103217078771282",
                "35921554919880976619236468113320971597",
                "87522368036787085195993580659536555257",
                "324025948786381375647543212596136041329"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line"
    },
    {
        "id": "CVE-2024-41061-f923df8c",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@94166fe12543fbef122ca2d093e794ea41073a85",
        "signature_version": "v1",
        "target": {
            "function": "dml2_calculate_rq_and_dlg_params",
            "file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
        },
        "deprecated": false,
        "digest": {
            "length": 4693.0,
            "function_hash": "172920640551327425075980823802701400123"
        },
        "signature_type": "Function"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.11