CVE-2024-42064

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42064
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42064.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42064
Downstream
Related
Published
2024-07-29T15:52:29Z
Modified
2025-10-15T13:06:35.267925Z
Summary
drm/amd/display: Skip pipe if the pipe idx not set properly
Details

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

drm/amd/display: Skip pipe if the pipe idx not set properly

[why] Driver crashes when pipe idx not set properly

[how] Add code to skip the pipe that idx not set properly

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
27df59c6071470efce7182ee92fbb16afba551e0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7966f319c66d9468623c6a6a017ecbc0dd79be75
Fixed
af114efe8d24b5711cfbedf7180f2ac1a296c24b

Affected versions

v6.*

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.2
v6.9.3
v6.9.4
v6.9.5
v6.9.6
v6.9.7

Database specific

{
    "vanir_signatures": [
        {
            "signature_version": "v1",
            "target": {
                "file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
            },
            "signature_type": "Line",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@af114efe8d24b5711cfbedf7180f2ac1a296c24b",
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "291828538401575965564429866773823699515",
                    "222631929454866584632033643843192269490",
                    "286322909735230819478177602038921374607",
                    "186592681685717390560173916850121946955",
                    "20222187334110182827795722300230056395",
                    "16152168399606538932687521271452866446",
                    "79286695589906968518044038537663090932"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2024-42064-01ea5d9c"
        },
        {
            "signature_version": "v1",
            "target": {
                "file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
            },
            "signature_type": "Line",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@27df59c6071470efce7182ee92fbb16afba551e0",
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "291828538401575965564429866773823699515",
                    "222631929454866584632033643843192269490",
                    "286322909735230819478177602038921374607",
                    "186592681685717390560173916850121946955",
                    "20222187334110182827795722300230056395",
                    "16152168399606538932687521271452866446",
                    "79286695589906968518044038537663090932"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2024-42064-2c94d6bb"
        },
        {
            "signature_version": "v1",
            "target": {
                "function": "dml2_verify_det_buffer_configuration",
                "file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
            },
            "signature_type": "Function",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@af114efe8d24b5711cfbedf7180f2ac1a296c24b",
            "deprecated": false,
            "digest": {
                "length": 1035.0,
                "function_hash": "262886806406488815043450429736136893198"
            },
            "id": "CVE-2024-42064-517de533"
        },
        {
            "signature_version": "v1",
            "target": {
                "function": "dml2_verify_det_buffer_configuration",
                "file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
            },
            "signature_type": "Function",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@27df59c6071470efce7182ee92fbb16afba551e0",
            "deprecated": false,
            "digest": {
                "length": 1035.0,
                "function_hash": "262886806406488815043450429736136893198"
            },
            "id": "CVE-2024-42064-61c9dff5"
        },
        {
            "signature_version": "v1",
            "target": {
                "function": "dml2_calculate_rq_and_dlg_params",
                "file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
            },
            "signature_type": "Function",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@af114efe8d24b5711cfbedf7180f2ac1a296c24b",
            "deprecated": false,
            "digest": {
                "length": 4961.0,
                "function_hash": "197334221016798508332586421164336245148"
            },
            "id": "CVE-2024-42064-8e861112"
        },
        {
            "signature_version": "v1",
            "target": {
                "function": "dml2_calculate_rq_and_dlg_params",
                "file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c"
            },
            "signature_type": "Function",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@27df59c6071470efce7182ee92fbb16afba551e0",
            "deprecated": false,
            "digest": {
                "length": 4657.0,
                "function_hash": "139974789458469504446669694860456705746"
            },
            "id": "CVE-2024-42064-deea8452"
        }
    ]
}

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.8