{"api_version":"1","generated_at":"2026-11-20T07:30:02+00:00","cve":"CVE-2026-99753","urls":{"html":"https://cve.report/CVE-2026-99753","api":"https://cve.report/api/cve/CVE-2026-99753.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99753","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99753"},"summary":{"title":"drm/loongson: Fix double free on BO initialization failure","description":"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's 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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:13","updated_at":"2026-11-20 06:18:13"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/6ad25544f1dd24ac512e4d03b5613f4d6d40576d","name":"https://git.kernel.org/stable/c/6ad25544f1dd24ac512e4d03b5613f4d6d40576d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f086dbdeb6e56510e158a853d752c6d8ed9e0674","name":"https://git.kernel.org/stable/c/f086dbdeb6e56510e158a853d752c6d8ed9e0674","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/dd76e36520a9553a4416412aa114217541218f97","name":"https://git.kernel.org/stable/c/dd76e36520a9553a4416412aa114217541218f97","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c8da4789c0c916fed4d546a2b07423151e5f9d59","name":"https://git.kernel.org/stable/c/c8da4789c0c916fed4d546a2b07423151e5f9d59","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99753","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99753","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f39db26c54281da6a785259498ca74b5e470476f 6ad25544f1dd24ac512e4d03b5613f4d6d40576d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f39db26c54281da6a785259498ca74b5e470476f dd76e36520a9553a4416412aa114217541218f97 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f39db26c54281da6a785259498ca74b5e470476f c8da4789c0c916fed4d546a2b07423151e5f9d59 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f39db26c54281da6a785259498ca74b5e470476f f086dbdeb6e56510e158a853d752c6d8ed9e0674 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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":"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.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.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's 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."}],"providerMetadata":{"dateUpdated":"2026-11-20T05:51:22.976Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"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-20T05:51:22.976Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:13","lastModifiedDate":"2026-11-20 06:18:13","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99753","Ordinal":"1","Title":"drm/loongson: Fix double free on BO initialization failure","CVE":"CVE-2026-99753","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99753","Ordinal":"1","NoteData":"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's 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.","Type":"Description","Title":"drm/loongson: Fix double free on BO initialization failure"}]}}}