CVE-2026-46311 (GCVE-0-2026-46311)
Vulnerability from cvelistv5
Published
2026-06-08 15:50
Modified
2026-10-19 19:36
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/userq: fix access to stale wptr mapping Use drm_exec to take both locks i.e vm root bo and wptr_obj bo to access the mapping data properly. This fixes the security issue of unmap the wptr_obj while a queue creation is in progress and passing other bo at same address. (cherry picked from commit 1fc6c8ab45dbee096469c08c13f6099d57a52d6c)
Impacted products
Vendor Product Version
Linux Linux Version: 5fb2f7fc21a3668e5794cc0d153641b9719713e1
Version: 5fb2f7fc21a3668e5794cc0d153641b9719713e1
Version: 5fb2f7fc21a3668e5794cc0d153641b9719713e1
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-46311",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-16T15:21:50.965038Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-362",
                "description": "CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (\u0027Race Condition\u0027)",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-19T19:36:57.524Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/mes_userqueue.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2da62dbb4169e758c0b1a9378b39a373bf4fb111",
              "status": "affected",
              "version": "5fb2f7fc21a3668e5794cc0d153641b9719713e1",
              "versionType": "git"
            },
            {
              "lessThan": "336a9186f3a4b65bbd865d93936605ac8a1a3991",
              "status": "affected",
              "version": "5fb2f7fc21a3668e5794cc0d153641b9719713e1",
              "versionType": "git"
            },
            {
              "lessThan": "6da7b1242da4455b11c24ce667d1cab1a348c8ea",
              "status": "affected",
              "version": "5fb2f7fc21a3668e5794cc0d153641b9719713e1",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/mes_userqueue.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.16"
            },
            {
              "lessThan": "6.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.57",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.57",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.9",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/userq: fix access to stale wptr mapping\n\nUse drm_exec to take both locks i.e vm root bo and\nwptr_obj bo to access the mapping data properly.\n\nThis fixes the security issue of unmap the wptr_obj while\na queue creation is in progress and passing other\nbo at same address.\n\n(cherry picked from commit 1fc6c8ab45dbee096469c08c13f6099d57a52d6c)"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is reached only through local DRM ioctls (DRM_IOCTL_AMDGPU_USERQ and DRM_IOCTL_AMDGPU_GEM_VA) on an AMDGPU render node (/dev/dri/renderD*), not via any network-facing path.\nAC:L - An attacker controls both sides of the race by running concurrent threads that issue USERQ_CREATE and GEM_VA UNMAP/REPLACE on the same wptr VA; amdgpu_vm_bo_unmap proceeds even when userq_va_mapped is set, making the window reliably triggerable.\nPR:L - Exploitation requires only access to the AMDGPU render node (DRM_AUTH|DRM_RENDER_ALLOW), which is available to unprivileged local users in the render/video group, not real root in the init namespace.\nUI:N - No victim interaction is required; the attacker automates the race with concurrent ioctl calls from their own process.\nS:U - The vulnerability corrupts kernel driver state and can lead to standard local kernel privilege escalation; it does not cross a VM, sandbox, or IOMMU security boundary.\nC:H - Operating on a stale BO pointer without holding locks can cause use-after-free and use attacker-replaced mappings, enabling arbitrary kernel memory disclosure through freed-object reuse and GART mapping confusion.\nI:H - The stale BO can be pinned and mapped into GART while a different BO occupies the VA, letting GPU firmware track wptr at the wrong physical address and enabling kernel heap corruption via UAF on amdgpu_bo structures.\nA:H - Use-after-free on BO reservation/pinning can kernel-oops the system, and incorrect wptr GART setup can hang or reset the GPU during queue scheduling."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-15T10:07:29.121Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2da62dbb4169e758c0b1a9378b39a373bf4fb111"
        },
        {
          "url": "https://git.kernel.org/stable/c/336a9186f3a4b65bbd865d93936605ac8a1a3991"
        },
        {
          "url": "https://git.kernel.org/stable/c/6da7b1242da4455b11c24ce667d1cab1a348c8ea"
        }
      ],
      "title": "drm/amdgpu/userq: fix access to stale wptr mapping",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-46311",
    "datePublished": "2026-06-08T15:50:41.866Z",
    "dateReserved": "2026-05-13T15:03:33.111Z",
    "dateUpdated": "2026-10-19T19:36:57.524Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-46311\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-16T15:21:50.965038Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-362\", \"description\": \"CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (\u0027Race Condition\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T15:21:51.503Z\"}}], \"cna\": {\"title\": \"drm/amdgpu/userq: fix access to stale wptr mapping\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The bug is reached only through local DRM ioctls (DRM_IOCTL_AMDGPU_USERQ and DRM_IOCTL_AMDGPU_GEM_VA) on an AMDGPU render node (/dev/dri/renderD*), not via any network-facing path.\\nAC:L - An attacker controls both sides of the race by running concurrent threads that issue USERQ_CREATE and GEM_VA UNMAP/REPLACE on the same wptr VA; amdgpu_vm_bo_unmap proceeds even when userq_va_mapped is set, making the window reliably triggerable.\\nPR:L - Exploitation requires only access to the AMDGPU render node (DRM_AUTH|DRM_RENDER_ALLOW), which is available to unprivileged local users in the render/video group, not real root in the init namespace.\\nUI:N - No victim interaction is required; the attacker automates the race with concurrent ioctl calls from their own process.\\nS:U - The vulnerability corrupts kernel driver state and can lead to standard local kernel privilege escalation; it does not cross a VM, sandbox, or IOMMU security boundary.\\nC:H - Operating on a stale BO pointer without holding locks can cause use-after-free and use attacker-replaced mappings, enabling arbitrary kernel memory disclosure through freed-object reuse and GART mapping confusion.\\nI:H - The stale BO can be pinned and mapped into GART while a different BO occupies the VA, letting GPU firmware track wptr at the wrong physical address and enabling kernel heap corruption via UAF on amdgpu_bo structures.\\nA:H - Use-after-free on BO reservation/pinning can kernel-oops the system, and incorrect wptr GART setup can hang or reset the GPU during queue scheduling.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5fb2f7fc21a3668e5794cc0d153641b9719713e1\", \"lessThan\": \"2da62dbb4169e758c0b1a9378b39a373bf4fb111\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5fb2f7fc21a3668e5794cc0d153641b9719713e1\", \"lessThan\": \"336a9186f3a4b65bbd865d93936605ac8a1a3991\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5fb2f7fc21a3668e5794cc0d153641b9719713e1\", \"lessThan\": \"6da7b1242da4455b11c24ce667d1cab1a348c8ea\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/gpu/drm/amd/amdgpu/mes_userqueue.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.16\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.16\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.18.57\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.18.*\"}, {\"status\": \"unaffected\", \"version\": \"7.0.9\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"7.0.*\"}, {\"status\": \"unaffected\", \"version\": \"7.1\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/gpu/drm/amd/amdgpu/mes_userqueue.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/2da62dbb4169e758c0b1a9378b39a373bf4fb111\"}, {\"url\": \"https://git.kernel.org/stable/c/336a9186f3a4b65bbd865d93936605ac8a1a3991\"}, {\"url\": \"https://git.kernel.org/stable/c/6da7b1242da4455b11c24ce667d1cab1a348c8ea\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/amdgpu/userq: fix access to stale wptr mapping\\n\\nUse drm_exec to take both locks i.e vm root bo and\\nwptr_obj bo to access the mapping data properly.\\n\\nThis fixes the security issue of unmap the wptr_obj while\\na queue creation is in progress and passing other\\nbo at same address.\\n\\n(cherry picked from commit 1fc6c8ab45dbee096469c08c13f6099d57a52d6c)\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.18.57\", \"versionStartIncluding\": \"6.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.0.9\", \"versionStartIncluding\": \"6.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.1\", \"versionStartIncluding\": \"6.16\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-10-15T10:07:29.121Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-46311\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-19T19:36:57.524Z\", \"dateReserved\": \"2026-05-13T15:03:33.111Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2026-06-08T15:50:41.866Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…