Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99753

published high CVSS 3.1 · 7.8

drm/loongson: Fix double free on BO initialization failure

Published
20 Nov 2026, 05:51:22 UTC
Updated
23 Nov 2026, 08:07:00 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf39db26c54281da6a785259498ca74b5e470476f to < 683aa6e8d8dfd0c6b07a1ccdb99b5cfe179deb38 · f39db26c54281da6a785259498ca74b5e470476f to < 6ad25544f1dd24ac512e4d03b5613f4d6d40576d · f39db26c54281da6a785259498ca74b5e470476f to < dd76e36520a9553a4416412aa114217541218f97 · f39db26c54281da6a785259498ca74b5e470476f to < c8da4789c0c916fed4d546a2b07423151e5f9d59 · f39db26c54281da6a785259498ca74b5e470476f to < f086dbdeb6e56510e158a853d752c6d8ed9e0674 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian trixie linux Advisory build 6.12.118-1 DSA-6652-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 13 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: 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. AC:L - That caller, as DRM master, pins a dumb BO of ldev->vram_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. PR: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. UI: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(). S: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. C: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. I: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. A: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.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f39db26c54281da6a785259498ca74b5e470476f to < 683aa6e8d8dfd0c6b07a1ccdb99b5cfe179deb38 (affected · git)f39db26c54281da6a785259498ca74b5e470476f to < 6ad25544f1dd24ac512e4d03b5613f4d6d40576d (affected · git)f39db26c54281da6a785259498ca74b5e470476f to < dd76e36520a9553a4416412aa114217541218f97 (affected · git)f39db26c54281da6a785259498ca74b5e470476f to < c8da4789c0c916fed4d546a2b07423151e5f9d59 (affected · git)f39db26c54281da6a785259498ca74b5e470476f to < f086dbdeb6e56510e158a853d752c6d8ed9e0674 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

drm/loongson: Fix double free on BO initialization failure

Provenance

Schema
5.2
Searchable
yes
Content hash
26c9580c75ab2d4ee2f95b81839d05c286552ac229d5a0f1d8806353d8adb21c
Ingested
23 Nov 2026, 14:37:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected