Skip to content
statance
MenuClose
high · CVSS 7.8

CVE-2026-99753

drm/loongson: Fix double free on BO initialization failure

Published 20 Nov 2026 · Source updated 23 Nov 2026 · Retrieved 2026-11-25 17:39 UTC

Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

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.

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
LinuxLinuxaffected: f39db26c54281da6a785259498ca74b5e470476f to < 683aa6e8d8dfd0c6b07a1ccdb99b5cfe179deb38; affected: f39db26c54281da6a785259498ca74b5e470476f to < 6ad25544f1dd24ac512e4d03b5613f4d6d40576d; affected: f39db26c54281da6a785259498ca74b5e470476f to < dd76e36520a9553a4416412aa114217541218f97; affected: f39db26c54281da6a785259498ca74b5e470476f to < c8da4789c0c916fed4d546a2b07423151e5f9d59; affected: f39db26c54281da6a785259498ca74b5e470476f to < f086dbdeb6e56510e158a853d752c6d8ed9e0674See vendor advisory
LinuxLinuxaffected: 6.6; unaffected: 0 to < 6.6; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ *See vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-11-26 13:33 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed