GHSA-QW2M-5HX9-VGQG

Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:30
VLAI
Details

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

drm/amdgpu: keep the CS user fence BO in GTT

The CS ioctl hands the GPU the GART address of the user fence BO, but since the BO keeps its own preferred and allowed domains, it no longer makes sure the BO is in GTT. A user fence in a VRAM BO, which only needs to be a page in size, gets its address from amdgpu_bo_gpu_offset(), which warns about non-contiguous VRAM. On navi31, a CS with a user fence in a 4K VRAM BO, or in one created with AMDGPU_GEM_CREATE_VM_ALWAYS_VALID:

WARNING: amdgpu_object.c:1531 at amdgpu_bo_gpu_offset+0x86/0xb0 [amdgpu], CPU#11: cs_gem_checks/18393 RIP: 0010:amdgpu_bo_gpu_offset+0x86/0xb0 [amdgpu] Call Trace: amdgpu_cs_parser_bos.isra.0+0x4eb/0x850 [amdgpu] amdgpu_cs_ioctl+0x97e/0x2510 [amdgpu] drm_ioctl_kernel+0xac/0x110 [drm] drm_ioctl+0x2c6/0x5b0 [drm] __x64_sys_ioctl+0xa0/0xf0 do_syscall_64+0xa3/0x4d0 entry_SYSCALL_64_after_hwframe+0x76/0x7e

and BOs which can't be in GTT at all, like GWS or OA ones of a page in size, pass the checks as well.

Only take BOs which can't be anywhere else than in GTT as user fence, which the CS then validates there along with its other BOs. While at it, detect userptrs with amdgpu_ttm_tt_is_userptr(); amdgpu_ttm_tt_get_usermm() returns NULL once the task which created the userptr is gone.

v2: only take BOs which can only be in GTT instead of special casing the user fence BO in the validation, use amdgpu_ttm_tt_is_userptr() (Christian)

(cherry picked from commit f16989def9561d04d0f2e77216f5319112d29bf1)

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-99633"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-20T06:17:56Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: keep the CS user fence BO in GTT\n\nThe CS ioctl hands the GPU the GART address of the user fence BO, but\nsince the BO keeps its own preferred and allowed domains, it no longer\nmakes sure the BO is in GTT. A user fence in a VRAM BO, which only needs\nto be a page in size, gets its address from amdgpu_bo_gpu_offset(), which\nwarns about non-contiguous VRAM. On navi31, a CS with a user fence in a\n4K VRAM BO, or in one created with AMDGPU_GEM_CREATE_VM_ALWAYS_VALID:\n\n  WARNING: amdgpu_object.c:1531 at amdgpu_bo_gpu_offset+0x86/0xb0 [amdgpu], CPU#11: cs_gem_checks/18393\n  RIP: 0010:amdgpu_bo_gpu_offset+0x86/0xb0 [amdgpu]\n  Call Trace:\n   \u003cTASK\u003e\n   amdgpu_cs_parser_bos.isra.0+0x4eb/0x850 [amdgpu]\n   amdgpu_cs_ioctl+0x97e/0x2510 [amdgpu]\n   drm_ioctl_kernel+0xac/0x110 [drm]\n   drm_ioctl+0x2c6/0x5b0 [drm]\n   __x64_sys_ioctl+0xa0/0xf0\n   do_syscall_64+0xa3/0x4d0\n   entry_SYSCALL_64_after_hwframe+0x76/0x7e\n\nand BOs which can\u0027t be in GTT at all, like GWS or OA ones of a page in\nsize, pass the checks as well.\n\nOnly take BOs which can\u0027t be anywhere else than in GTT as user fence,\nwhich the CS then validates there along with its other BOs. While at it,\ndetect userptrs with amdgpu_ttm_tt_is_userptr(); amdgpu_ttm_tt_get_usermm()\nreturns NULL once the task which created the userptr is gone.\n\nv2: only take BOs which can only be in GTT instead of special casing the\n    user fence BO in the validation, use amdgpu_ttm_tt_is_userptr()\n    (Christian)\n\n(cherry picked from commit f16989def9561d04d0f2e77216f5319112d29bf1)",
  "id": "GHSA-qw2m-5hx9-vgqg",
  "modified": "2026-11-23T09:30:54Z",
  "published": "2026-11-20T06:32:05Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99633"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1a986bea283c22398fdc08cdb7b0fd674829fb2e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2c7bd4568f5d19d63241ccdf930b15e619af7c2b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/32de880a6d81ecd6a4c9cce3a96ae88aa60a6cdb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4ec2fa9f4e09610028f1f571fcb1f515cafd3306"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/69a46cbe11b6eb15f6d48591a67217ac634ddc3d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7a56d929dc2304edaa6231e1eb5eb82b7e8b74a9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b4a1229ab05f0ba7fa1a52032686e32e801fcc04"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/de2887eb1c72060895a533af9e19bed9982e953c"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



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…