{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-57844",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-01-15T13:08:59.638Z",
        "datePublished": "2025-01-15T13:10:27.820Z",
        "dateUpdated": "2026-05-11T20:59:26.943Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T20:59:26.943Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe: Fix fault on fd close after unbind\n\nIf userspace holds an fd open, unbinds the device and then closes it,\nthe driver shouldn't try to access the hardware. Protect it by using\ndrm_dev_enter()/drm_dev_exit(). This fixes the following page fault:\n\n<6> [IGT] xe_wedged: exiting, ret=98\n<1> BUG: unable to handle page fault for address: ffffc901bc5e508c\n<1> #PF: supervisor read access in kernel mode\n<1> #PF: error_code(0x0000) - not-present page\n...\n<4>   xe_lrc_update_timestamp+0x1c/0xd0 [xe]\n<4>   xe_exec_queue_update_run_ticks+0x50/0xb0 [xe]\n<4>   xe_exec_queue_fini+0x16/0xb0 [xe]\n<4>   __guc_exec_queue_fini_async+0xc4/0x190 [xe]\n<4>   guc_exec_queue_fini_async+0xa0/0xe0 [xe]\n<4>   guc_exec_queue_fini+0x23/0x40 [xe]\n<4>   xe_exec_queue_destroy+0xb3/0xf0 [xe]\n<4>   xe_file_close+0xd4/0x1a0 [xe]\n<4>   drm_file_free+0x210/0x280 [drm]\n<4>   drm_close_helper.isra.0+0x6d/0x80 [drm]\n<4>   drm_release_noglobal+0x20/0x90 [drm]\n\n(cherry picked from commit 4ca1fd418338d4d135428a0eb1e16e3b3ce17ee8)"
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/xe/xe_exec_queue.c"
                    ],
                    "versions": [
                        {
                            "version": "514447a1219021298329ce586536598c3b4b2dc0",
                            "lessThan": "924d43bd10a1f6723ac5181a6e6cc2196ba98cdd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "514447a1219021298329ce586536598c3b4b2dc0",
                            "lessThan": "fe39b222a4139354d32ff9d46b88757f63f71d63",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/xe/xe_exec_queue.c"
                    ],
                    "versions": [
                        {
                            "version": "6.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.9",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.13",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.12",
                                    "versionEndExcluding": "6.12.9"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.12",
                                    "versionEndExcluding": "6.13"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/924d43bd10a1f6723ac5181a6e6cc2196ba98cdd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fe39b222a4139354d32ff9d46b88757f63f71d63"
                }
            ],
            "title": "drm/xe: Fix fault on fd close after unbind",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}