CVE-2025-37870

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37870
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37870.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37870
Downstream
Related
Published
2025-05-09T06:43:59Z
Modified
2025-10-18T00:47:16.992650Z
Summary
drm/amd/display: prevent hang on link training fail
Details

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

drm/amd/display: prevent hang on link training fail

[Why] When link training fails, the phy clock will be disabled. However, in enable_streams, it is assumed that link training succeeded and the mux selects the phy clock, causing a hang when a register write is made.

[How] When enable_stream is hit, check if link training failed. If it did, fall back to the ref clock to avoid a hang and keep the system in a recoverable state.

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
7462475e3a06fbb0b36243b391296f9f411e9041
Fixed
0363c03672cd3191f037905bf981eb523a3b71b1
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7462475e3a06fbb0b36243b391296f9f411e9041
Fixed
04bf4f2a497e9877c425c5124652e61fb8a1a0aa
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7462475e3a06fbb0b36243b391296f9f411e9041
Fixed
8058061ed9d6bc259d1e678607b07d259342c08f

Affected versions

v6.*

v6.1
v6.1-rc7
v6.1-rc8
v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1
v6.12.10
v6.12.11
v6.12.12
v6.12.13
v6.12.14
v6.12.15
v6.12.16
v6.12.17
v6.12.18
v6.12.19
v6.12.2
v6.12.20
v6.12.21
v6.12.22
v6.12.23
v6.12.24
v6.12.3
v6.12.4
v6.12.5
v6.12.6
v6.12.7
v6.12.8
v6.12.9
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.14.1
v6.14.2
v6.14.3
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.3
v6.3-rc1
v6.3-rc2
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.4
v6.4-rc1
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.5
v6.5-rc1
v6.5-rc2
v6.5-rc3
v6.5-rc4
v6.5-rc5
v6.5-rc6
v6.5-rc7
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

Database specific

vanir_signatures

[
    {
        "id": "CVE-2025-37870-11abeb8e",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c",
            "function": "dcn20_enable_stream"
        },
        "digest": {
            "function_hash": "42549317923589555572767087305254273638",
            "length": 2220.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8058061ed9d6bc259d1e678607b07d259342c08f"
    },
    {
        "id": "CVE-2025-37870-193c69ad",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c"
        },
        "digest": {
            "line_hashes": [
                "57920756968925387985638156046511446284",
                "288038280720794293643831472176913406866",
                "214197153855401698156427466192642351100",
                "226572741340016847048655300846478398820"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0363c03672cd3191f037905bf981eb523a3b71b1"
    },
    {
        "id": "CVE-2025-37870-1f6cd69d",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c",
            "function": "dcn401_enable_stream"
        },
        "digest": {
            "function_hash": "212613110753810969368416056599162485602",
            "length": 1584.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04bf4f2a497e9877c425c5124652e61fb8a1a0aa"
    },
    {
        "id": "CVE-2025-37870-57119717",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c",
            "function": "dcn20_enable_stream"
        },
        "digest": {
            "function_hash": "85543950755033296962241045339232599269",
            "length": 2147.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04bf4f2a497e9877c425c5124652e61fb8a1a0aa"
    },
    {
        "id": "CVE-2025-37870-5b85cd20",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c"
        },
        "digest": {
            "line_hashes": [
                "126796066153868980918703028056020913569",
                "136263190328752054253028390040158377253",
                "283782401815508873609996371424965550232",
                "324238490525021076525230040805517265578"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0363c03672cd3191f037905bf981eb523a3b71b1"
    },
    {
        "id": "CVE-2025-37870-9d352ec6",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c"
        },
        "digest": {
            "line_hashes": [
                "57920756968925387985638156046511446284",
                "288038280720794293643831472176913406866",
                "214197153855401698156427466192642351100",
                "226572741340016847048655300846478398820"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8058061ed9d6bc259d1e678607b07d259342c08f"
    },
    {
        "id": "CVE-2025-37870-9f2e27bf",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c"
        },
        "digest": {
            "line_hashes": [
                "126796066153868980918703028056020913569",
                "136263190328752054253028390040158377253",
                "188904065639087412495529686981584341644",
                "132943800836590650936128897816877277692"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8058061ed9d6bc259d1e678607b07d259342c08f"
    },
    {
        "id": "CVE-2025-37870-b69324b9",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c",
            "function": "dcn20_enable_stream"
        },
        "digest": {
            "function_hash": "85543950755033296962241045339232599269",
            "length": 2147.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0363c03672cd3191f037905bf981eb523a3b71b1"
    },
    {
        "id": "CVE-2025-37870-c001c33b",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c",
            "function": "dcn401_enable_stream"
        },
        "digest": {
            "function_hash": "308291347425698709752729140990573352841",
            "length": 1652.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0363c03672cd3191f037905bf981eb523a3b71b1"
    },
    {
        "id": "CVE-2025-37870-c0c8e62f",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c"
        },
        "digest": {
            "line_hashes": [
                "57920756968925387985638156046511446284",
                "288038280720794293643831472176913406866",
                "214197153855401698156427466192642351100",
                "226572741340016847048655300846478398820"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04bf4f2a497e9877c425c5124652e61fb8a1a0aa"
    },
    {
        "id": "CVE-2025-37870-cf9a6973",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c",
            "function": "dcn401_enable_stream"
        },
        "digest": {
            "function_hash": "330307196877624293877991038287178051682",
            "length": 1657.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8058061ed9d6bc259d1e678607b07d259342c08f"
    },
    {
        "id": "CVE-2025-37870-e2229929",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "target": {
            "file": "drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c"
        },
        "digest": {
            "line_hashes": [
                "126796066153868980918703028056020913569",
                "136263190328752054253028390040158377253",
                "188904065639087412495529686981584341644",
                "132943800836590650936128897816877277692"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04bf4f2a497e9877c425c5124652e61fb8a1a0aa"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.12.25
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.14.4