CVE-2026-139072 (GCVE-0-2026-139072)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:27 – Updated: 2026-12-02 09:21
VLAI
Title
drm/amdgpu: recompute the dw estimate after allocating a new VM update job
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: recompute the dw estimate after allocating a new VM update job amdgpu_vm_sdma_update() keeps the number of free dwords of the current job in a local variable. When the job runs out of room it is committed and a new one is allocated, but that local variable is not refreshed and still describes the job which was just submitted. The stale value is then used to decide how many PTEs fit into the new job. If it happens to be copy_pte_num_dw + 7, or one more than that, the result is zero. copy_pte() encodes the transfer size as count * 8 - 1, so a count of zero asks the engine for a 1GB copy starting inside the IB pool. That runs off the end of the pool, faults on the first unmapped GART page above it and hangs the ring. Re-initialize the estimate from the newly allocated job, which is empty and therefore has its full budget available.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 49aa99f05dbc75b9ae360a74648c420a80f7ee49 , < 94611b5aa3b8b94d5465e579c100a506faad5678 (git)
Affected: f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 , < d7e4ce4f399878bb46817d742387d6ed0a3114fa (git)
Affected: f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 , < 1871143400c7f459c647867cf544ed937dd50736 (git)
Affected: f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 , < dc715d660d9255ed016b41a624e5dee69c0840a4 (git)
Affected: f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 , < ec67981c87d574d584406ce341ab72067590069d (git)
Affected: f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 , < a74c7832b11827907de560169c7d4ac94505fd87 (git)
Affected: 6.1.160 , < 6.1.193 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.2
Unaffected: 0 , < 6.2 (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.63 , ≤ 6.18.* (semver)
Unaffected: 7.3.4 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed 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_vm_sdma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "94611b5aa3b8b94d5465e579c100a506faad5678",
              "status": "affected",
              "version": "49aa99f05dbc75b9ae360a74648c420a80f7ee49",
              "versionType": "git"
            },
            {
              "lessThan": "d7e4ce4f399878bb46817d742387d6ed0a3114fa",
              "status": "affected",
              "version": "f7d66fb2ea43a3016e78a700a2ca6c77a74579f9",
              "versionType": "git"
            },
            {
              "lessThan": "1871143400c7f459c647867cf544ed937dd50736",
              "status": "affected",
              "version": "f7d66fb2ea43a3016e78a700a2ca6c77a74579f9",
              "versionType": "git"
            },
            {
              "lessThan": "dc715d660d9255ed016b41a624e5dee69c0840a4",
              "status": "affected",
              "version": "f7d66fb2ea43a3016e78a700a2ca6c77a74579f9",
              "versionType": "git"
            },
            {
              "lessThan": "ec67981c87d574d584406ce341ab72067590069d",
              "status": "affected",
              "version": "f7d66fb2ea43a3016e78a700a2ca6c77a74579f9",
              "versionType": "git"
            },
            {
              "lessThan": "a74c7832b11827907de560169c7d4ac94505fd87",
              "status": "affected",
              "version": "f7d66fb2ea43a3016e78a700a2ca6c77a74579f9",
              "versionType": "git"
            },
            {
              "lessThan": "6.1.193",
              "status": "affected",
              "version": "6.1.160",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.2"
            },
            {
              "lessThan": "6.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "6.1.160",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.63",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.4",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: recompute the dw estimate after allocating a new VM update job\n\namdgpu_vm_sdma_update() keeps the number of free dwords of the current\njob in a local variable. When the job runs out of room it is committed\nand a new one is allocated, but that local variable is not refreshed and\nstill describes the job which was just submitted.\n\nThe stale value is then used to decide how many PTEs fit into the new\njob. If it happens to be copy_pte_num_dw + 7, or one more than that, the\nresult is zero. copy_pte() encodes the transfer size as count * 8 - 1,\nso a count of zero asks the engine for a 1GB copy starting inside the IB\npool. That runs off the end of the pool, faults on the first unmapped\nGART page above it and hangs the ring.\n\nRe-initialize the estimate from the newly allocated job, which is empty\nand therefore has its full budget available."
        }
      ],
      "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 - Reached only via the local DRM_IOCTL_AMDGPU_GEM_VA (DRM_RENDER_ALLOW) AMDGPU_VA_OP_MAP of a GTT/userptr BO on /dev/dri/renderD*: amdgpu_gem_va_update_vm -\u003e amdgpu_vm_bo_update (pages_addr = ttm-\u003edma_address) -\u003e amdgpu_vm_update_range -\u003e amdgpu_vm_ptes_update -\u003e amdgpu_vm_sdma_update. No remote protocol carries the input.\nAC:L - The stale ndw is arithmetic on attacker choices: prepare() gives a 256-dw job, so a non-contiguous mapping with 117 PTEs before a 2MB PT boundary leaves 15 free dw; the next PTB call commits, keeps ndw=15, and 15-7-7 yields nptes=0. va_address, offset_in_bo and page order (e.g. reverse-ordered userptr pages) are attacker-chosen, and a miss takes the harmless set_ptes path and can be retried.\nPR:L - Needs only an open render node (render group/uaccess seat); amdgpu_gem_va_ioctl, amdgpu_gem_create_ioctl and amdgpu_gem_userptr_ioctl perform no capability checks, and every GEM_VA map runs the SDMA VM-update backend.\nUI:N - The attacker creates the BO, chooses the VA layout and issues the GEM_VA map themselves; no other user or administrator action is involved.\nS:U - The damaged objects are the VRAM page tables and buffers managed by the same amdgpu kernel driver that contains the bug; this is local privilege escalation within the kernel\u0027s authority, not a guest-to-host or IOMMU boundary crossing.\nC:H - With nptes=0, amdgpu_vm_sdma_copy_ptes emits COPY_LINEAR with bytes-1=0xFFFFFFFF from the end of the IB into the shared 1MB AMDGPU_IB_POOL_DELAYED, copying stale PTE arrays from other VMs\u0027 updates over the attacker\u0027s own PT, so those qwords become live PTEs that let the attacker\u0027s shaders reach system pages of foreign or freed BOs.\nI:H - The same kernel VMID0 SDMA copy keeps writing until the source read faults past the pool, i.e. up to ~1MB past the start of a 4KB PT BO: an out-of-bounds DMA write into adjacent VRAM objects such as other VMs\u0027 PDs/PTs and other clients\u0027 buffers, which a per-queue SDMA reset does not restore.\nA:H - The oversized copy faults on the first unmapped GART page above the IB pool and hangs the SDMA VM-update ring; the drm_sched timeout then forces an SDMA queue or full GPU reset that aborts every GPU client\u0027s work, and the attacker can repeat it at will by remapping."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-02T09:21:36.253Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/94611b5aa3b8b94d5465e579c100a506faad5678"
        },
        {
          "url": "https://git.kernel.org/stable/c/d7e4ce4f399878bb46817d742387d6ed0a3114fa"
        },
        {
          "url": "https://git.kernel.org/stable/c/1871143400c7f459c647867cf544ed937dd50736"
        },
        {
          "url": "https://git.kernel.org/stable/c/dc715d660d9255ed016b41a624e5dee69c0840a4"
        },
        {
          "url": "https://git.kernel.org/stable/c/ec67981c87d574d584406ce341ab72067590069d"
        },
        {
          "url": "https://git.kernel.org/stable/c/a74c7832b11827907de560169c7d4ac94505fd87"
        }
      ],
      "title": "drm/amdgpu: recompute the dw estimate after allocating a new VM update job",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-139072",
    "datePublished": "2026-11-30T13:27:37.403Z",
    "dateReserved": "2026-11-30T13:22:15.912Z",
    "dateUpdated": "2026-12-02T09:21:36.253Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-139072",
      "date": "2026-12-04",
      "epss": "0.0033",
      "percentile": "0.28119"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "94611b5aa3b8b94d5465e579c100a506faad5678",
                    "status": "affected",
                    "version": "49aa99f05dbc75b9ae360a74648c420a80f7ee49",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d7e4ce4f399878bb46817d742387d6ed0a3114fa",
                    "status": "affected",
                    "version": "f7d66fb2ea43a3016e78a700a2ca6c77a74579f9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1871143400c7f459c647867cf544ed937dd50736",
                    "status": "affected",
                    "version": "f7d66fb2ea43a3016e78a700a2ca6c77a74579f9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "dc715d660d9255ed016b41a624e5dee69c0840a4",
                    "status": "affected",
                    "version": "f7d66fb2ea43a3016e78a700a2ca6c77a74579f9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ec67981c87d574d584406ce341ab72067590069d",
                    "status": "affected",
                    "version": "f7d66fb2ea43a3016e78a700a2ca6c77a74579f9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a74c7832b11827907de560169c7d4ac94505fd87",
                    "status": "affected",
                    "version": "f7d66fb2ea43a3016e78a700a2ca6c77a74579f9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.1.193",
                    "status": "affected",
                    "version": "6.1.160",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.2"
                  },
                  {
                    "lessThan": "6.2",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.63",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "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: recompute the dw estimate after allocating a new VM update job\n\namdgpu_vm_sdma_update() keeps the number of free dwords of the current\njob in a local variable. When the job runs out of room it is committed\nand a new one is allocated, but that local variable is not refreshed and\nstill describes the job which was just submitted.\n\nThe stale value is then used to decide how many PTEs fit into the new\njob. If it happens to be copy_pte_num_dw + 7, or one more than that, the\nresult is zero. copy_pte() encodes the transfer size as count * 8 - 1,\nso a count of zero asks the engine for a 1GB copy starting inside the IB\npool. That runs off the end of the pool, faults on the first unmapped\nGART page above it and hangs the ring.\n\nRe-initialize the estimate from the newly allocated job, which is empty\nand therefore has its full budget available."
          }
        ],
        "id": "CVE-2026-139072",
        "lastModified": "2026-12-02T10:17:18.170",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:18:14.500",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1871143400c7f459c647867cf544ed937dd50736"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/94611b5aa3b8b94d5465e579c100a506faad5678"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a74c7832b11827907de560169c7d4ac94505fd87"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d7e4ce4f399878bb46817d742387d6ed0a3114fa"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/dc715d660d9255ed016b41a624e5dee69c0840a4"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ec67981c87d574d584406ce341ab72067590069d"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-01T07:09:29+00:00",
      "cve": "CVE-2026-139072",
      "id": "CVE-2026-139072",
      "initial_release_date": "2026-11-30T13:27:37.403000+00:00",
      "product_status:known_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: amdgpu: Denial of Service via out-of-bounds copy during VM updates",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-139072.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    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.