CVE-2024-37026

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-37026
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-37026.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-37026
Downstream
Published
2024-06-24T13:56:52Z
Modified
2025-10-14T16:59:43.866707Z
Summary
drm/xe: Only use reserved BCS instances for usm migrate exec queue
Details

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

drm/xe: Only use reserved BCS instances for usm migrate exec queue

The GuC context scheduling queue is 2 entires deep, thus it is possible for a migration job to be stuck behind a fault if migration exec queue shares engines with user jobs. This can deadlock as the migrate exec queue is required to service page faults. Avoid deadlock by only using reserved BCS instances for usm migrate exec queue.

(cherry picked from commit 04f4a70a183a688a60fe3882d6e4236ea02cfc67)

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
a043fbab7af54c64017269dc96f43f441ed4bcaf
Fixed
92deed4a9bfd9ef187764225bba530116c49e15c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a043fbab7af54c64017269dc96f43f441ed4bcaf
Fixed
c8ea2c31f5ea437199b239d76ad5db27343edb0c

Affected versions

v6.*

v6.10-rc1
v6.7
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

Database specific

{
    "vanir_signatures": [
        {
            "id": "CVE-2024-37026-2f0e06c0",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c8ea2c31f5ea437199b239d76ad5db27343edb0c",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Function",
            "digest": {
                "length": 337.0,
                "function_hash": "95280499833132656774767185849805645030"
            },
            "target": {
                "file": "drivers/gpu/drm/xe/xe_migrate.c",
                "function": "xe_migrate_usm_logical_mask"
            }
        },
        {
            "id": "CVE-2024-37026-c2bf94a3",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92deed4a9bfd9ef187764225bba530116c49e15c",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Function",
            "digest": {
                "length": 337.0,
                "function_hash": "95280499833132656774767185849805645030"
            },
            "target": {
                "file": "drivers/gpu/drm/xe/xe_migrate.c",
                "function": "xe_migrate_usm_logical_mask"
            }
        },
        {
            "id": "CVE-2024-37026-ebaf2fd4",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c8ea2c31f5ea437199b239d76ad5db27343edb0c",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Line",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "207218804711123193490698055576529465471",
                    "6280660750552614804282509385470753254",
                    "240658216384408519083798693021091304483",
                    "306439682801268849469999908288922566249",
                    "306312654597265120454785091388830233729",
                    "328954721050911280973550181101941577125",
                    "268733872486087003117116631171835615755",
                    "178059843285276034837028926949755405263",
                    "162315034502632740120649958611392199107",
                    "156120469404942997542671664835211678023",
                    "258106382427261604295234858374755348024",
                    "201183961143662960664052565660195779982",
                    "334581703071109289794319588554941725113",
                    "101382143107838060176804162797576043476",
                    "310223415354083570990330522921594620411"
                ]
            },
            "target": {
                "file": "drivers/gpu/drm/xe/xe_migrate.c"
            }
        },
        {
            "id": "CVE-2024-37026-f8a2a2b8",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92deed4a9bfd9ef187764225bba530116c49e15c",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Line",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "207218804711123193490698055576529465471",
                    "6280660750552614804282509385470753254",
                    "240658216384408519083798693021091304483",
                    "306439682801268849469999908288922566249",
                    "306312654597265120454785091388830233729",
                    "328954721050911280973550181101941577125",
                    "268733872486087003117116631171835615755",
                    "178059843285276034837028926949755405263",
                    "162315034502632740120649958611392199107",
                    "156120469404942997542671664835211678023",
                    "258106382427261604295234858374755348024",
                    "201183961143662960664052565660195779982",
                    "334581703071109289794319588554941725113",
                    "101382143107838060176804162797576043476",
                    "310223415354083570990330522921594620411"
                ]
            },
            "target": {
                "file": "drivers/gpu/drm/xe/xe_migrate.c"
            }
        }
    ]
}

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.9.4