GHSA-77FP-R2Q2-2PC8
Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:31In 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.
{
"affected": [],
"aliases": [
"CVE-2026-99753"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T06:18:13Z",
"severity": "HIGH"
},
"details": "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": "GHSA-77fp-r2q2-2pc8",
"modified": "2026-11-23T09:31:02Z",
"published": "2026-11-20T06:32:10Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99753"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/683aa6e8d8dfd0c6b07a1ccdb99b5cfe179deb38"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/6ad25544f1dd24ac512e4d03b5613f4d6d40576d"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c8da4789c0c916fed4d546a2b07423151e5f9d59"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/dd76e36520a9553a4416412aa114217541218f97"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/f086dbdeb6e56510e158a853d752c6d8ed9e0674"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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.