CVE-2026-53190 (GCVE-0-2026-53190)

Vulnerability from cvelistv5 – Published: 2026-06-25 08:39 – Updated: 2026-06-25 08:39
VLAI
Title
drm/virtio: fix dma_fence refcount leak on error in virtio_gpu_dma_fence_wait()
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/virtio: fix dma_fence refcount leak on error in virtio_gpu_dma_fence_wait() dma_fence_unwrap_for_each() internally calls dma_fence_unwrap_first() which does cursor->chain = dma_fence_get(head), taking an extra reference. On normal loop completion, dma_fence_unwrap_next() releases this via dma_fence_chain_walk() -> dma_fence_put(). When virtio_gpu_do_fence_wait() fails and the function returns early from inside the loop, the cursor->chain reference is never released. This is the only caller in the entire kernel that does an early return inside dma_fence_unwrap_for_each. Add dma_fence_put(itr.chain) before the early return.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: eba57fb5498f2858768321e64570caea188455b8 , < 898bd0ccfed71651b881660c5d20ad73b5203174 (git)
Affected: eba57fb5498f2858768321e64570caea188455b8 , < 73524e9f96a278b521f257a78a845c49eb522bc1 (git)
Affected: eba57fb5498f2858768321e64570caea188455b8 , < 8348567a6afb24e2c9cafe8a321162d0eebe1411 (git)
Affected: eba57fb5498f2858768321e64570caea188455b8 , < c0fffc874c264292e769f26194a2a5e66ce31810 (git)
Affected: eba57fb5498f2858768321e64570caea188455b8 , < 3f26bb732cc136ab20176697c92f32c9c84cb125 (git)
Create a notification for this product.
Linux Linux Affected: 6.5
Unaffected: 0 , < 6.5 (semver)
Unaffected: 6.6.143 , ≤ 6.6.* (semver)
Unaffected: 6.12.94 , ≤ 6.12.* (semver)
Unaffected: 6.18.36 , ≤ 6.18.* (semver)
Unaffected: 7.0.13 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (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/virtio/virtgpu_submit.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "898bd0ccfed71651b881660c5d20ad73b5203174",
              "status": "affected",
              "version": "eba57fb5498f2858768321e64570caea188455b8",
              "versionType": "git"
            },
            {
              "lessThan": "73524e9f96a278b521f257a78a845c49eb522bc1",
              "status": "affected",
              "version": "eba57fb5498f2858768321e64570caea188455b8",
              "versionType": "git"
            },
            {
              "lessThan": "8348567a6afb24e2c9cafe8a321162d0eebe1411",
              "status": "affected",
              "version": "eba57fb5498f2858768321e64570caea188455b8",
              "versionType": "git"
            },
            {
              "lessThan": "c0fffc874c264292e769f26194a2a5e66ce31810",
              "status": "affected",
              "version": "eba57fb5498f2858768321e64570caea188455b8",
              "versionType": "git"
            },
            {
              "lessThan": "3f26bb732cc136ab20176697c92f32c9c84cb125",
              "status": "affected",
              "version": "eba57fb5498f2858768321e64570caea188455b8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/virtio/virtgpu_submit.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.5"
            },
            {
              "lessThan": "6.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.143",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.94",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.36",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.13",
              "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.6.143",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.94",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.36",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.13",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/virtio: fix dma_fence refcount leak on error in virtio_gpu_dma_fence_wait()\n\ndma_fence_unwrap_for_each() internally calls dma_fence_unwrap_first()\nwhich does cursor-\u003echain = dma_fence_get(head), taking an extra\nreference. On normal loop completion, dma_fence_unwrap_next()\nreleases this via dma_fence_chain_walk() -\u003e dma_fence_put().\n\nWhen virtio_gpu_do_fence_wait() fails and the function returns early\nfrom inside the loop, the cursor-\u003echain reference is never released.\nThis is the only caller in the entire kernel that does an early return\ninside dma_fence_unwrap_for_each.\n\nAdd dma_fence_put(itr.chain) before the early return."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-25T08:39:02.366Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/898bd0ccfed71651b881660c5d20ad73b5203174"
        },
        {
          "url": "https://git.kernel.org/stable/c/73524e9f96a278b521f257a78a845c49eb522bc1"
        },
        {
          "url": "https://git.kernel.org/stable/c/8348567a6afb24e2c9cafe8a321162d0eebe1411"
        },
        {
          "url": "https://git.kernel.org/stable/c/c0fffc874c264292e769f26194a2a5e66ce31810"
        },
        {
          "url": "https://git.kernel.org/stable/c/3f26bb732cc136ab20176697c92f32c9c84cb125"
        }
      ],
      "title": "drm/virtio: fix dma_fence refcount leak on error in virtio_gpu_dma_fence_wait()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-53190",
    "datePublished": "2026-06-25T08:39:02.366Z",
    "dateReserved": "2026-06-09T07:44:35.390Z",
    "dateUpdated": "2026-06-25T08:39:02.366Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-53190",
      "date": "2026-07-02",
      "epss": "0.00175",
      "percentile": "0.07229"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-53190\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-06-25T09:16:36.440\",\"lastModified\":\"2026-06-30T14:44:27.313\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/virtio: fix dma_fence refcount leak on error in virtio_gpu_dma_fence_wait()\\n\\ndma_fence_unwrap_for_each() internally calls dma_fence_unwrap_first()\\nwhich does cursor-\u003echain = dma_fence_get(head), taking an extra\\nreference. On normal loop completion, dma_fence_unwrap_next()\\nreleases this via dma_fence_chain_walk() -\u003e dma_fence_put().\\n\\nWhen virtio_gpu_do_fence_wait() fails and the function returns early\\nfrom inside the loop, the cursor-\u003echain reference is never released.\\nThis is the only caller in the entire kernel that does an early return\\ninside dma_fence_unwrap_for_each.\\n\\nAdd dma_fence_put(itr.chain) before the early return.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/gpu/drm/virtio/virtgpu_submit.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"eba57fb5498f2858768321e64570caea188455b8\",\"lessThan\":\"898bd0ccfed71651b881660c5d20ad73b5203174\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"eba57fb5498f2858768321e64570caea188455b8\",\"lessThan\":\"73524e9f96a278b521f257a78a845c49eb522bc1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"eba57fb5498f2858768321e64570caea188455b8\",\"lessThan\":\"8348567a6afb24e2c9cafe8a321162d0eebe1411\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"eba57fb5498f2858768321e64570caea188455b8\",\"lessThan\":\"c0fffc874c264292e769f26194a2a5e66ce31810\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"eba57fb5498f2858768321e64570caea188455b8\",\"lessThan\":\"3f26bb732cc136ab20176697c92f32c9c84cb125\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/gpu/drm/virtio/virtgpu_submit.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.5\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.5\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.143\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.94\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.36\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.13\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3f26bb732cc136ab20176697c92f32c9c84cb125\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/73524e9f96a278b521f257a78a845c49eb522bc1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8348567a6afb24e2c9cafe8a321162d0eebe1411\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/898bd0ccfed71651b881660c5d20ad73b5203174\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c0fffc874c264292e769f26194a2a5e66ce31810\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…