{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142876",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.334Z",
        "datePublished": "2026-12-03T03:23:34.328Z",
        "dateUpdated": "2026-12-03T03:23:34.328Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:23:34.328Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/userq: wait for GPU reset before mapping or unmapping queues\n\nThe user queue map and unmap helpers talk to the MES, but only the\ncreate path holds reset_domain->sem around them. The eviction, restore,\ndestroy and suspend paths can submit to the MES while a GPU reset is in\nprogress:\n\n  WARNING: amdgpu_device.c:928 at amdgpu_device_skip_hw_access+0x73/0x90 [amdgpu]\n  Workqueue: events amdgpu_eviction_fence_suspend_worker [amdgpu]\n  Call Trace:\n   amdgpu_mm_wdoorbell64+0x20/0x70 [amdgpu]\n   mes_v11_0_ring_set_wptr+0x71/0x80 [amdgpu]\n   amdgpu_ring_commit+0x5b/0xa0 [amdgpu]\n   mes_v11_0_submit_pkt_and_poll_completion.constprop.0+0x207/0x520 [amdgpu]\n   mes_v11_0_remove_hw_queue+0xd9/0x100 [amdgpu]\n   mes_userq_unmap+0xc3/0x140 [amdgpu]\n   amdgpu_userq_unmap_helper+0x67/0x280 [amdgpu]\n   amdgpu_userq_evict+0x52/0xf0 [amdgpu]\n   amdgpu_eviction_fence_suspend_worker+0x55/0xe0 [amdgpu]\n\nTake the semaphore for read in the helpers instead, around both the MES\ncall and the queue state check and update. The reset changes the queue\nstate from amdgpu_userq_pre_reset()/post_reset(), so every caller now\nwaits for a running reset and acts on the state it left behind.\n\n(cherry picked from commit e6a8b8588f43bd4d7054ac47cccc35f56ad2df90)"
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c"
                    ],
                    "versions": [
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "901615891d4046d379bd579e536e2ccba395b84f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "946561d189340d04ea916971fb715aef5caebe92",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "623507b8f4fe24851b2f1cb2c177f8ae3c8584b8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.18.65",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "0",
                            "lessThan": "7.3.5",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c"
                    ],
                    "versions": [
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.5",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "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:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "7.3.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/901615891d4046d379bd579e536e2ccba395b84f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/946561d189340d04ea916971fb715aef5caebe92"
                },
                {
                    "url": "https://git.kernel.org/stable/c/623507b8f4fe24851b2f1cb2c177f8ae3c8584b8"
                }
            ],
            "title": "drm/amdgpu/userq: wait for GPU reset before mapping or unmapping queues",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}