CVE-2026-99753 (GCVE-0-2026-99753)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:51 – Updated: 2026-11-23 08:07
VLAI
Title
drm/loongson: Fix double free on BO initialization failure
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/loongson: Fix double free on BO initialization failure If ttm_bo_init_validate() fails, it drops the buffer object's reference and cleans it up through the supplied destroy callback. lsdc_bo_destroy() releases the GEM object and frees the enclosing lsdc_bo, so freeing it again in lsdc_bo_create() causes a double free on a synchronous failure path. Let TTM own the cleanup after initialization has started and return the error directly. Keep the explicit free on drm_gem_object_init() failure, which occurs before ownership is passed to TTM. Tested on LS7A2000 by making drm_vma_offset_add() return -ENOSPC for one selected dumb-buffer creation. The error reached userspace, the destroy callback ran once, and no handle was published or tracked BO retained. Normal buffer creation, zeroing, mapping, readback and release passed. AI assistance was used for the ownership analysis, fix, fault-injection tools, build and test execution.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6730 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: f39db26c54281da6a785259498ca74b5e470476f , < 683aa6e8d8dfd0c6b07a1ccdb99b5cfe179deb38 (git)
Affected: f39db26c54281da6a785259498ca74b5e470476f , < 6ad25544f1dd24ac512e4d03b5613f4d6d40576d (git)
Affected: f39db26c54281da6a785259498ca74b5e470476f , < dd76e36520a9553a4416412aa114217541218f97 (git)
Affected: f39db26c54281da6a785259498ca74b5e470476f , < c8da4789c0c916fed4d546a2b07423151e5f9d59 (git)
Affected: f39db26c54281da6a785259498ca74b5e470476f , < f086dbdeb6e56510e158a853d752c6d8ed9e0674 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.6
Unaffected: 0 , < 6.6 (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.64 , ≤ 6.18.* (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (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/loongson/lsdc_ttm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "683aa6e8d8dfd0c6b07a1ccdb99b5cfe179deb38",
              "status": "affected",
              "version": "f39db26c54281da6a785259498ca74b5e470476f",
              "versionType": "git"
            },
            {
              "lessThan": "6ad25544f1dd24ac512e4d03b5613f4d6d40576d",
              "status": "affected",
              "version": "f39db26c54281da6a785259498ca74b5e470476f",
              "versionType": "git"
            },
            {
              "lessThan": "dd76e36520a9553a4416412aa114217541218f97",
              "status": "affected",
              "version": "f39db26c54281da6a785259498ca74b5e470476f",
              "versionType": "git"
            },
            {
              "lessThan": "c8da4789c0c916fed4d546a2b07423151e5f9d59",
              "status": "affected",
              "version": "f39db26c54281da6a785259498ca74b5e470476f",
              "versionType": "git"
            },
            {
              "lessThan": "f086dbdeb6e56510e158a853d752c6d8ed9e0674",
              "status": "affected",
              "version": "f39db26c54281da6a785259498ca74b5e470476f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/loongson/lsdc_ttm.c"
          ],
          "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.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.118",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.64",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "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/loongson: Fix double free on BO initialization failure\n\nIf ttm_bo_init_validate() fails, it drops the buffer object\u0027s reference\nand cleans it up through the supplied destroy callback. lsdc_bo_destroy()\nreleases the GEM object and frees the enclosing lsdc_bo, so freeing it\nagain in lsdc_bo_create() causes a double free on a synchronous failure\npath.\n\nLet TTM own the cleanup after initialization has started and return the\nerror directly. Keep the explicit free on drm_gem_object_init() failure,\nwhich occurs before ownership is passed to TTM.\n\nTested on LS7A2000 by making drm_vma_offset_add() return -ENOSPC for one\nselected dumb-buffer creation. The error reached userspace, the destroy\ncallback ran once, and no handle was published or tracked BO retained.\nNormal buffer creation, zeroing, mapping, readback and release passed.\n\nAI assistance was used for the ownership analysis, fix, fault-injection\ntools, build and test execution."
        }
      ],
      "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 - lsdc_bo_create() double-frees the lsdc_bo when ttm_bo_init_validate() fails, reached from DRM_IOCTL_MODE_CREATE_DUMB through drm_mode_create_dumb_ioctl() and lsdc_dumb_create(), with width, height, and bpp supplied by the local ioctl caller.\nAC:L - That caller, as DRM master, pins a dumb BO of ldev-\u003evram_size/2 via lsdc_plane_prepare_fb() and a cursor BO, so a later lsdc_dumb_create() of vram_size/2 fails in ttm_range_man_alloc() inside ttm_bo_validate(); ttm_bo_put() runs lsdc_bo_destroy() and lsdc_bo_create() kfree()s the same object.\nPR:L - DRM_IOCTL_MODE_CREATE_DUMB is registered with flags 0, so drm_ioctl_permit() does not require CAP_SYS_ADMIN or DRM_AUTH; a local session user who can open /dev/dri/card0 reaches lsdc_dumb_create(), and the DRM master used to pin VRAM is that logged-in session.\nUI:N - The attacker opens /dev/dri/card0 and issues DRM_IOCTL_MODE_CREATE_DUMB and the atomic commit that pins the BO through lsdc_plane_prepare_fb().\nS:U - The double-freed object is the host kernel lsdc_bo in the loongson DRM driver, so the resulting privilege escalation stays in the same security authority.\nC:H - ttm_bo_release() calls lsdc_bo_destroy(), which kfree()s the lsdc_bo, and lsdc_bo_create() kfree()s that pointer again; the slab double-free can alias a later allocation and disclose the reused kernel object.\nI:H - The second kfree() of the lsdc_bo corrupts the slab freelist so a later allocation can alias that slot, giving a kernel heap write that can hijack control flow.\nA:H - kfree() of the lsdc_bo in lsdc_bo_create() after lsdc_bo_destroy() has already freed it corrupts slab metadata and oopses or panics the kernel when that slot is next allocated or freed."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:07:00.594Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/683aa6e8d8dfd0c6b07a1ccdb99b5cfe179deb38"
        },
        {
          "url": "https://git.kernel.org/stable/c/6ad25544f1dd24ac512e4d03b5613f4d6d40576d"
        },
        {
          "url": "https://git.kernel.org/stable/c/dd76e36520a9553a4416412aa114217541218f97"
        },
        {
          "url": "https://git.kernel.org/stable/c/c8da4789c0c916fed4d546a2b07423151e5f9d59"
        },
        {
          "url": "https://git.kernel.org/stable/c/f086dbdeb6e56510e158a853d752c6d8ed9e0674"
        }
      ],
      "title": "drm/loongson: Fix double free on BO initialization failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99753",
    "datePublished": "2026-11-20T05:51:22.976Z",
    "dateReserved": "2026-09-25T10:25:14.432Z",
    "dateUpdated": "2026-11-23T08:07:00.594Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99753",
      "date": "2026-11-24",
      "epss": "0.00188",
      "percentile": "0.08337"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-24T01:41:37.000Z",
      "cve": "CVE-2026-99753",
      "id": "msrc_CVE-2026-99753",
      "initial_release_date": "2026-11-20T18:17:33.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "drm/loongson: Fix double free on BO initialization failure",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99753.json",
      "version": "4"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/loongson/lsdc_ttm.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "683aa6e8d8dfd0c6b07a1ccdb99b5cfe179deb38",
                    "status": "affected",
                    "version": "f39db26c54281da6a785259498ca74b5e470476f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6ad25544f1dd24ac512e4d03b5613f4d6d40576d",
                    "status": "affected",
                    "version": "f39db26c54281da6a785259498ca74b5e470476f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "dd76e36520a9553a4416412aa114217541218f97",
                    "status": "affected",
                    "version": "f39db26c54281da6a785259498ca74b5e470476f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c8da4789c0c916fed4d546a2b07423151e5f9d59",
                    "status": "affected",
                    "version": "f39db26c54281da6a785259498ca74b5e470476f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f086dbdeb6e56510e158a853d752c6d8ed9e0674",
                    "status": "affected",
                    "version": "f39db26c54281da6a785259498ca74b5e470476f",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/loongson/lsdc_ttm.c"
                ],
                "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.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.64",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc2",
                    "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/loongson: Fix double free on BO initialization failure\n\nIf ttm_bo_init_validate() fails, it drops the buffer object\u0027s reference\nand cleans it up through the supplied destroy callback. lsdc_bo_destroy()\nreleases the GEM object and frees the enclosing lsdc_bo, so freeing it\nagain in lsdc_bo_create() causes a double free on a synchronous failure\npath.\n\nLet TTM own the cleanup after initialization has started and return the\nerror directly. Keep the explicit free on drm_gem_object_init() failure,\nwhich occurs before ownership is passed to TTM.\n\nTested on LS7A2000 by making drm_vma_offset_add() return -ENOSPC for one\nselected dumb-buffer creation. The error reached userspace, the destroy\ncallback ran once, and no handle was published or tracked BO retained.\nNormal buffer creation, zeroing, mapping, readback and release passed.\n\nAI assistance was used for the ownership analysis, fix, fault-injection\ntools, build and test execution."
          }
        ],
        "id": "CVE-2026-99753",
        "lastModified": "2026-11-23T08:18:15.670",
        "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-20T06:18:13.410",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/683aa6e8d8dfd0c6b07a1ccdb99b5cfe179deb38"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6ad25544f1dd24ac512e4d03b5613f4d6d40576d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c8da4789c0c916fed4d546a2b07423151e5f9d59"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/dd76e36520a9553a4416412aa114217541218f97"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f086dbdeb6e56510e158a853d752c6d8ed9e0674"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-22T11:36:10+00:00",
      "cve": "CVE-2026-99753",
      "id": "CVE-2026-99753",
      "initial_release_date": "2026-11-20T05:51:22.976000+00:00",
      "product_status:known_not_affected": "204",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via double free in Loongson display controller driver",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99753.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-21T00:35:55Z",
      "cve": "CVE-2026-99753",
      "id": "CVE-2026-99753",
      "initial_release_date": "2026-11-20T17:40:41Z",
      "product_status:known_not_affected": "351",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99753",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99753.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.