Skip to content
DayZeroHub
High Not yet writtenCVSS 7.8CVE-2026-99753

CVE-2026-99753: drm/loongson: Fix double free on BO initialization failure

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99753: high-severity vulnerability (CVSS 7.8) in Linux Linux.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.8.

Affected products and versions

Linux Linux >= f39db26c54281da6a785259498ca74b5e470476f, < 683aa6e8d8dfd0c6b07a1ccdb99b5cfe179deb38; Linux Linux >= f39db26c54281da6a785259498ca74b5e470476f, < 6ad25544f1dd24ac512e4d03b5613f4d6d40576d; Linux Linux >= f39db26c54281da6a785259498ca74b5e470476f, < dd76e36520a9553a4416412aa114217541218f97; Linux Linux >= f39db26c54281da6a785259498ca74b5e470476f, < c8da4789c0c916fed4d546a2b07423151e5f9d59; Linux Linux >= f39db26c54281da6a785259498ca74b5e470476f, < f086dbdeb6e56510e158a853d752c6d8ed9e0674; Linux Linux 6.6; Linux Linux < 6.6; Linux Linux 6.6.163 (fixed in 6.6.163); Linux Linux 6.12.118 (fixed in 6.12.118); Linux Linux 6.18.64 (fixed in 6.18.64); Linux Linux 7.3.5 (fixed in 7.3.5); Linux Linux 7.4-rc2 (fixed in 7.4-rc2)

ProductVersionsFixed in
Linux Linux>= f39db26c54281da6a785259498ca74b5e470476f, < 683aa6e8d8dfd0c6b07a1ccdb99b5cfe179deb38—
Linux Linux>= f39db26c54281da6a785259498ca74b5e470476f, < 6ad25544f1dd24ac512e4d03b5613f4d6d40576d—
Linux Linux>= f39db26c54281da6a785259498ca74b5e470476f, < dd76e36520a9553a4416412aa114217541218f97—
Linux Linux>= f39db26c54281da6a785259498ca74b5e470476f, < c8da4789c0c916fed4d546a2b07423151e5f9d59—
Linux Linux>= f39db26c54281da6a785259498ca74b5e470476f, < f086dbdeb6e56510e158a853d752c6d8ed9e0674—
Linux Linux6.6—
Linux Linux< 6.6—
Linux Linux6.6.1636.6.163
Linux Linux6.12.1186.12.118
Linux Linux6.18.646.18.64
Linux Linux7.3.57.3.5
Linux Linux7.4-rc27.4-rc2

Action recommended by the source

Upgrade to a fixed version: 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2.

Fixed in: 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.