{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-48990",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-08-22T01:27:53.635Z",
        "datePublished": "2024-10-21T20:06:07.203Z",
        "dateUpdated": "2026-08-05T08:53:19.510Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T08:53:19.510Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix use-after-free during gpu recovery\n\n[Why]\n    [  754.862560] refcount_t: underflow; use-after-free.\n    [  754.862898] Call Trace:\n    [  754.862903]  <TASK>\n    [  754.862913]  amdgpu_job_free_cb+0xc2/0xe1 [amdgpu]\n    [  754.863543]  drm_sched_main.cold+0x34/0x39 [amd_sched]\n\n[How]\n    The fw_fence may be not init, check whether dma_fence_init\n    is performed before job free"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - Reachable only via local AMDGPU DRM paths on /dev/dri/renderD* (AMDGPU_CS submission and context/entity teardown into amdgpu_job_free_cb); there is no network or adjacent-protocol entry into the GPU scheduler job free path.\nAC:L - An attacker fully controls both sides—queue jobs then destroy the context/process (drm_sched_entity_kill → free_job on never-run jobs), or hang the GPU to force recovery so skipped jobs hit free_cb without dma_fence_init—so the uninitialized hw_fence put is deterministic with no attacker-uncontrollable race.\nPR:L - AMDGPU_CS/CTX are DRM_AUTH|DRM_RENDER_ALLOW; any unprivileged user with render-node access (render/video group, desktop sessions, Android GPU apps) can open /dev/dri/renderD* and submit/teardown work without CAP_SYS_ADMIN or real root.\nUI:N - The attacker opens the render node and issues AMDGPU_CS/context destroy (or triggers a hang) entirely from their own process; no separate victim action is required.\nS:U - Impact is confined to the host kernel’s security authority (local job/fence lifetime corruption in amdgpu); there is no VM escape, IOMMU bypass, or other cross-boundary scope change.\nC:H - The kernel classifies this as use-after-free (refcount_t underflow on the embedded hw_fence in amdgpu_job_free_cb); per UAF guidance, reclaim/spray of the corrupted job/fence lifetime enables arbitrary kernel read primitives.\nI:H - The same UAF-class fence/job free-path corruption (putting an uninitialized or incorrectly lifetime-managed hw_fence) enables heap corruption suitable for arbitrary write and control-flow hijack, matching prior amdgpu UAF scoring.\nA:H - The demonstrated effect is a kernel WARNING/refcount underflow use-after-free in amdgpu_job_free_cb (and can panic under panic_on_warn), and the bad free path can oops or destabilize GPU recovery/teardown, which is High availability impact."
                        }
                    ]
                }
            ],
            "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_job.c"
                    ],
                    "versions": [
                        {
                            "version": "f6a3f66063ca39e7ee5fcee59e889c5ec4de9dc0",
                            "lessThan": "d2a89cd942edd50c1e652004fd64019be78b0a96",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f6a3f66063ca39e7ee5fcee59e889c5ec4de9dc0",
                            "lessThan": "3cb93f390453cde4d6afda1587aaa00e75e09617",
                            "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/amd/amdgpu/amdgpu_job.c"
                    ],
                    "versions": [
                        {
                            "version": "6.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.13",
                            "lessThanOrEqual": "6.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1",
                            "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.0",
                                    "versionEndExcluding": "6.0.13"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d2a89cd942edd50c1e652004fd64019be78b0a96"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3cb93f390453cde4d6afda1587aaa00e75e09617"
                }
            ],
            "title": "drm/amdgpu: fix use-after-free during gpu recovery",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2022-48990",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-10-22T13:16:41.708497Z"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-10-22T13:18:42.361Z"
                }
            }
        ]
    }
}