CVE-2026-99630 (GCVE-0-2026-99630)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:49 – Updated: 2026-11-22 11:09
VLAI
Title
drm/amdgpu/userq: validate the moved individual BOs on restore
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/userq: validate the moved individual BOs on restore An individual BO of a user queue VM, i.e. one which doesn't share the root reservation, goes to the individual needs_update list when it is evicted. The user queue restore looked at vm->invalidated for them, which the VM state machine rework turned into the always_valid evicted list and commit 18decfc9e8cc ("drm/amdgpu/userq: actually validate userq BOs") into the individual evicted one. That list only holds imported DMA-bufs of compute VMs though, so for a user queue VM nothing is validated. The restore then neither locks such a BO nor moves it back. Its PTEs are updated to wherever it is now, cleared if it went to system memory, and it doesn't get the new eviction fence, so it can move again under the running queue. On navi48, once the BOs of an SDMA user queue are evicted from GTT (debugfs amdgpu_evict_gtt) the queue faults on its ring and rptr: amdgpu 0000:03:00.0: in page starting at address 0x0000000100000000 from client 10 amdgpu 0000:03:00.0: Faulty UTCL2 client ID: SDMA0 (0xd) amdgpu 0000:03:00.0: in page starting at address 0x0000000100101000 from client 10 Validate the BOs on the individual needs_update list like before. (cherry picked from commit eb0d94765d4be18d41e93ad09947dd9cc06ed31a)
Impacted products
Vendor Product Version
Linux Linux Affected: 4cdbba5a16aaf16513b69cc332b1d6f971a44b52 , < 2664f497d5e35384736e42fc59e5b9ef27ca791a (git)
Affected: 4cdbba5a16aaf16513b69cc332b1d6f971a44b52 , < ce5f2a25bdf6b2bccfc4ffb5e4c5f12e97eeace1 (git)
Create a notification for this product.
Linux Linux Affected: 7.2
Unaffected: 0 , < 7.2 (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2664f497d5e35384736e42fc59e5b9ef27ca791a",
              "status": "affected",
              "version": "4cdbba5a16aaf16513b69cc332b1d6f971a44b52",
              "versionType": "git"
            },
            {
              "lessThan": "ce5f2a25bdf6b2bccfc4ffb5e4c5f12e97eeace1",
              "status": "affected",
              "version": "4cdbba5a16aaf16513b69cc332b1d6f971a44b52",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.2"
            },
            {
              "lessThan": "7.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "7.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "7.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/userq: validate the moved individual BOs on restore\n\nAn individual BO of a user queue VM, i.e. one which doesn\u0027t share the\nroot reservation, goes to the individual needs_update list when it is\nevicted. The user queue restore looked at vm-\u003einvalidated for them, which\nthe VM state machine rework turned into the always_valid evicted list and\ncommit 18decfc9e8cc (\"drm/amdgpu/userq: actually validate userq BOs\")\ninto the individual evicted one. That list only holds imported DMA-bufs of\ncompute VMs though, so for a user queue VM nothing is validated.\n\nThe restore then neither locks such a BO nor moves it back. Its PTEs are\nupdated to wherever it is now, cleared if it went to system memory, and\nit doesn\u0027t get the new eviction fence, so it can move again under the\nrunning queue.\n\nOn navi48, once the BOs of an SDMA user queue are evicted from GTT\n(debugfs amdgpu_evict_gtt) the queue faults on its ring and rptr:\n\n  amdgpu 0000:03:00.0:   in page starting at address 0x0000000100000000 from client 10\n  amdgpu 0000:03:00.0: \t Faulty UTCL2 client ID: SDMA0 (0xd)\n  amdgpu 0000:03:00.0:   in page starting at address 0x0000000100101000 from client 10\n\nValidate the BOs on the individual needs_update list like before.\n\n(cherry picked from commit eb0d94765d4be18d41e93ad09947dd9cc06ed31a)"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The buggy amdgpu_userq_bo_validate runs from amdgpu_userq_restore_worker, which resume_work schedules after TTM evicts individual BOs of a process that created the queue through the local DRM_IOCTL_AMDGPU_USERQ (amdgpu_userq_ioctl). The moved pages are that process\u0027s GEM buffers.\nAC:H - Reaching amdgpu_userq_bo_validate requires usermode queues, but gfx_v12_0_early_init and sdma_v7_0_early_init set disable_uq for the default amdgpu.user_queue=-1 and only install userq_funcs when an admin sets the parameter to 1 or 2. The attacker cannot create that state.\nPR:L - DRM_IOCTL_AMDGPU_USERQ is DRM_AUTH|DRM_RENDER_ALLOW, and drm_ioctl_permit allows a render-node client without CAP_SYS_ADMIN, so an unprivileged local user who can open the render node can create the queue and allocate the BOs that TTM evicts.\nUI:N - The attacker opens the render node, creates the user queue in amdgpu_userq_create, and forces the TTM eviction that signals the eviction fence and schedules resume_work. No other principal has to act.\nS:U - The corrupted mapping is a GPUVM PTE in the caller\u0027s fpriv-\u003evm, rewritten by amdgpu_vm_bo_update and consumed by that same process\u0027s user queue. Impact stays in the host kernel that owns the GPU.\nC:H - amdgpu_evf_mgr_rearm fences only drm_exec-locked objects, so the missed needs_update BO gets no new eviction fence. A later move leaves the VALID PTE from amdgpu_vm_bo_update pointing at a recycled DMA address the running queue can still fetch or SDMA-copy from.\nI:H - That PTE stays writable: amdgpu_vm_bo_invalidate only sets moved and links the bo_va onto individual.needs_update, so an SDMA or GFX store, or rptr writeback, through the still-mapped user queue writes the old page after TTM has recycled it.\nA:H - A BO left in TTM_PL_SYSTEM loses AMDGPU_PTE_VALID in amdgpu_ttm_tt_pde_flags, and the restored queue faults in gmc_v12_0_process_interrupt (the navi48 SDMA0 ring/rptr fault). The unfenced BO can also be moved under the mapped queue, which is a use-after-move of the backing page."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-22T11:09:21.841Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2664f497d5e35384736e42fc59e5b9ef27ca791a"
        },
        {
          "url": "https://git.kernel.org/stable/c/ce5f2a25bdf6b2bccfc4ffb5e4c5f12e97eeace1"
        }
      ],
      "title": "drm/amdgpu/userq: validate the moved individual BOs on restore",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99630",
    "datePublished": "2026-11-20T05:49:48.468Z",
    "dateReserved": "2026-09-25T10:25:14.425Z",
    "dateUpdated": "2026-11-22T11:09:21.841Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99630",
      "date": "2026-11-24",
      "epss": "0.00137",
      "percentile": "0.03097"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "2664f497d5e35384736e42fc59e5b9ef27ca791a",
                    "status": "affected",
                    "version": "4cdbba5a16aaf16513b69cc332b1d6f971a44b52",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ce5f2a25bdf6b2bccfc4ffb5e4c5f12e97eeace1",
                    "status": "affected",
                    "version": "4cdbba5a16aaf16513b69cc332b1d6f971a44b52",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "7.2"
                  },
                  {
                    "lessThan": "7.2",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/userq: validate the moved individual BOs on restore\n\nAn individual BO of a user queue VM, i.e. one which doesn\u0027t share the\nroot reservation, goes to the individual needs_update list when it is\nevicted. The user queue restore looked at vm-\u003einvalidated for them, which\nthe VM state machine rework turned into the always_valid evicted list and\ncommit 18decfc9e8cc (\"drm/amdgpu/userq: actually validate userq BOs\")\ninto the individual evicted one. That list only holds imported DMA-bufs of\ncompute VMs though, so for a user queue VM nothing is validated.\n\nThe restore then neither locks such a BO nor moves it back. Its PTEs are\nupdated to wherever it is now, cleared if it went to system memory, and\nit doesn\u0027t get the new eviction fence, so it can move again under the\nrunning queue.\n\nOn navi48, once the BOs of an SDMA user queue are evicted from GTT\n(debugfs amdgpu_evict_gtt) the queue faults on its ring and rptr:\n\n  amdgpu 0000:03:00.0:   in page starting at address 0x0000000100000000 from client 10\n  amdgpu 0000:03:00.0: \t Faulty UTCL2 client ID: SDMA0 (0xd)\n  amdgpu 0000:03:00.0:   in page starting at address 0x0000000100101000 from client 10\n\nValidate the BOs on the individual needs_update list like before.\n\n(cherry picked from commit eb0d94765d4be18d41e93ad09947dd9cc06ed31a)"
          }
        ],
        "id": "CVE-2026-99630",
        "lastModified": "2026-11-22T11:17:02.680",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.0,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.0,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-20T06:17:56.060",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2664f497d5e35384736e42fc59e5b9ef27ca791a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ce5f2a25bdf6b2bccfc4ffb5e4c5f12e97eeace1"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-24T23:42:48+00:00",
      "cve": "CVE-2026-99630",
      "id": "CVE-2026-99630",
      "initial_release_date": "2026-11-20T05:49:48.468000+00:00",
      "product_status:known_affected": "14",
      "product_status:known_not_affected": "266",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via improper buffer object validation in amdgpu user queues",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99630.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…