CVE-2026-99147 (GCVE-0-2026-99147)

Vulnerability from cvelistv5 – Published: 2026-10-28 10:35 – Updated: 2026-10-30 12:42
VLAI
Title
drm/exec: don't immediately add prelocked obj to array of locked objs
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/exec: don't immediately add prelocked obj to array of locked objs When a contention is detected the drm_exec object grabs a reference to the contended object, unlocks all other objects and pre-locks the contended one before anything else. The problem is that it is possible that this pre-locked object was about to be destroyed and drm_exec is now holding the last reference to it. So we never actually see this pre-locked object again to be explicitly locked and so also never reserve a slot for a dma_fence object on it. Should the driver now use drm_exec_for_each_locked_object() to add a new fence to all locked objects we eventually see a warning or even a BUG_ON() to prevent random memory corruption. Fix this by keeping the prelocked object out of the array of locked objs until it was explicitly mentioned by the driver again. If the prelocked object is never mentioned again by the driver just unlock and drop the reference at the end of the locking loop.
Severity
No CVSS data available.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6847 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 09593216bff15866f95c8ad406cb7fdcec1ee40a , < 74b4d2370a9e2b77247063dfa05f452766102676 (git)
Affected: 09593216bff15866f95c8ad406cb7fdcec1ee40a , < 9dd91a22f076a4d19f14d82a5ab790c6bbaa073e (git)
Affected: 09593216bff15866f95c8ad406cb7fdcec1ee40a , < 96d9996e5dbcfabed052c0d9377a382c95fed607 (git)
Affected: 09593216bff15866f95c8ad406cb7fdcec1ee40a , < 7a10cd79c4d9a90334fece32fef3a8e5b1a9727b (git)
Affected: 09593216bff15866f95c8ad406cb7fdcec1ee40a , < 26401a4999f1596a515b2e704e7066ac09306488 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.6
Unaffected: 0 , < 6.6 (semver)
Unaffected: 6.6.161 , ≤ 6.6.* (semver)
Unaffected: 6.12.115 , ≤ 6.12.* (semver)
Unaffected: 6.18.59 , ≤ 6.18.* (semver)
Unaffected: 7.2.13 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (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/drm_exec.c",
            "include/drm/drm_exec.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "74b4d2370a9e2b77247063dfa05f452766102676",
              "status": "affected",
              "version": "09593216bff15866f95c8ad406cb7fdcec1ee40a",
              "versionType": "git"
            },
            {
              "lessThan": "9dd91a22f076a4d19f14d82a5ab790c6bbaa073e",
              "status": "affected",
              "version": "09593216bff15866f95c8ad406cb7fdcec1ee40a",
              "versionType": "git"
            },
            {
              "lessThan": "96d9996e5dbcfabed052c0d9377a382c95fed607",
              "status": "affected",
              "version": "09593216bff15866f95c8ad406cb7fdcec1ee40a",
              "versionType": "git"
            },
            {
              "lessThan": "7a10cd79c4d9a90334fece32fef3a8e5b1a9727b",
              "status": "affected",
              "version": "09593216bff15866f95c8ad406cb7fdcec1ee40a",
              "versionType": "git"
            },
            {
              "lessThan": "26401a4999f1596a515b2e704e7066ac09306488",
              "status": "affected",
              "version": "09593216bff15866f95c8ad406cb7fdcec1ee40a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/drm_exec.c",
            "include/drm/drm_exec.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.6"
            },
            {
              "lessThan": "6.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.161",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.115",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.59",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.161",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.115",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.59",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.13",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/exec: don\u0027t immediately add prelocked obj to array of locked objs\n\nWhen a contention is detected the drm_exec object grabs a reference to\nthe contended object, unlocks all other objects and pre-locks the\ncontended one before anything else.\n\nThe problem is that it is possible that this pre-locked object was about\nto be destroyed and drm_exec is now holding the last reference to it.\n\nSo we never actually see this pre-locked object again to be explicitly\nlocked and so also never reserve a slot for a dma_fence object on it.\n\nShould the driver now use drm_exec_for_each_locked_object() to add a new\nfence to all locked objects we eventually see a warning or even a\nBUG_ON() to prevent random memory corruption.\n\nFix this by keeping the prelocked object out of the array of locked objs\nuntil it was explicitly mentioned by the driver again.\n\nIf the prelocked object is never mentioned again by the driver\njust unlock and drop the reference at the end of the locking loop."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:42:16.086Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/74b4d2370a9e2b77247063dfa05f452766102676"
        },
        {
          "url": "https://git.kernel.org/stable/c/9dd91a22f076a4d19f14d82a5ab790c6bbaa073e"
        },
        {
          "url": "https://git.kernel.org/stable/c/96d9996e5dbcfabed052c0d9377a382c95fed607"
        },
        {
          "url": "https://git.kernel.org/stable/c/7a10cd79c4d9a90334fece32fef3a8e5b1a9727b"
        },
        {
          "url": "https://git.kernel.org/stable/c/26401a4999f1596a515b2e704e7066ac09306488"
        }
      ],
      "title": "drm/exec: don\u0027t immediately add prelocked obj to array of locked objs",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99147",
    "datePublished": "2026-10-28T10:35:03.580Z",
    "dateReserved": "2026-09-25T10:25:14.396Z",
    "dateUpdated": "2026-10-30T12:42:16.086Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99147",
      "date": "2026-11-03",
      "epss": "0.00174",
      "percentile": "0.06915"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-01T14:50:24.000Z",
      "cve": "CVE-2026-99147",
      "id": "msrc_CVE-2026-99147",
      "initial_release_date": "2026-10-29T01:05:49.000Z",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "drm/exec: don\u0027t immediately add prelocked obj to array of locked objs",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99147.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/drm_exec.c",
                  "include/drm/drm_exec.h"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "74b4d2370a9e2b77247063dfa05f452766102676",
                    "status": "affected",
                    "version": "09593216bff15866f95c8ad406cb7fdcec1ee40a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9dd91a22f076a4d19f14d82a5ab790c6bbaa073e",
                    "status": "affected",
                    "version": "09593216bff15866f95c8ad406cb7fdcec1ee40a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "96d9996e5dbcfabed052c0d9377a382c95fed607",
                    "status": "affected",
                    "version": "09593216bff15866f95c8ad406cb7fdcec1ee40a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7a10cd79c4d9a90334fece32fef3a8e5b1a9727b",
                    "status": "affected",
                    "version": "09593216bff15866f95c8ad406cb7fdcec1ee40a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "26401a4999f1596a515b2e704e7066ac09306488",
                    "status": "affected",
                    "version": "09593216bff15866f95c8ad406cb7fdcec1ee40a",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/drm_exec.c",
                  "include/drm/drm_exec.h"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.6"
                  },
                  {
                    "lessThan": "6.6",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.161",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.115",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.59",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.13",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "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/exec: don\u0027t immediately add prelocked obj to array of locked objs\n\nWhen a contention is detected the drm_exec object grabs a reference to\nthe contended object, unlocks all other objects and pre-locks the\ncontended one before anything else.\n\nThe problem is that it is possible that this pre-locked object was about\nto be destroyed and drm_exec is now holding the last reference to it.\n\nSo we never actually see this pre-locked object again to be explicitly\nlocked and so also never reserve a slot for a dma_fence object on it.\n\nShould the driver now use drm_exec_for_each_locked_object() to add a new\nfence to all locked objects we eventually see a warning or even a\nBUG_ON() to prevent random memory corruption.\n\nFix this by keeping the prelocked object out of the array of locked objs\nuntil it was explicitly mentioned by the driver again.\n\nIf the prelocked object is never mentioned again by the driver\njust unlock and drop the reference at the end of the locking loop."
          }
        ],
        "id": "CVE-2026-99147",
        "lastModified": "2026-10-30T13:21:48.627",
        "metrics": {},
        "published": "2026-10-28T11:17:34.767",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/26401a4999f1596a515b2e704e7066ac09306488"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/74b4d2370a9e2b77247063dfa05f452766102676"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7a10cd79c4d9a90334fece32fef3a8e5b1a9727b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/96d9996e5dbcfabed052c0d9377a382c95fed607"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9dd91a22f076a4d19f14d82a5ab790c6bbaa073e"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-30T06:33:26+00:00",
      "cve": "CVE-2026-99147",
      "id": "CVE-2026-99147",
      "initial_release_date": "2026-10-28T10:35:03.580000+00:00",
      "product_status:known_affected": "186",
      "product_status:known_not_affected": "93",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via improper locked object handling in drm_exec",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99147.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
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.