CVE-2026-99752 json
drm/loongson: Handle buffer mapping failures when clearing a BO
published 3d ago modified 10h ago also EUVD-2026-130868
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
drm/loongson: Handle buffer mapping failures when clearing a BO
lsdc_bo_clear() ignores the return value from lsdc_bo_kmap() and writes to lbo->kptr unconditionally. When the first mapping of a newly allocated buffer fails, kptr is still NULL and the subsequent memset accesses it.
Return the mapping error without touching the buffer and propagate it from lsdc_gem_object_create(). Install the GEM object functions before clearing so that drm_gem_object_put() can release the buffer correctly on failure. Do not add the failed object to the tracking list or return an uncleared buffer to the caller.
Imported buffers still skip clearing, and successfully mapped buffers are cleared and unmapped as before.
Tested on LS7A2000 with a one-shot range error in ttm_bo_kmap(). Its -EINVAL return reached userspace, the object was destroyed once, and no GEM handle was published. Normal create/map/zero/write/read/close cycles passed, with the tracked BO count and VRAM usage unchanged.
AI assistance was used for the lifetime analysis, fix, fault-injection tools, build and test execution.
Patch / fix
- Linux Linux 7.4-rc2
- linux Debian 13 6.12.118-1
debian advisories DEBIAN-CVE-2026-99752
- git.kernel.org/stable/c/344a998475ef96b8640516f21b194fbf3b31063d commit
- git.kernel.org/stable/c/389de73fb826e768c73d82c8f9f7e516b3fff70b commit
- git.kernel.org/stable/c/834c2fdf737657c3a16c37b894a6bd07277ff082 commit
- git.kernel.org/stable/c/256ca06920504adde310fb5252342e4b827ebcce commit
- git.kernel.org/stable/c/f00d7a241f846b053e89c0bb2285ef5988d4cafc commit
Is CVE-2026-99752 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-99752 updated cvss 4.7
kernel: kernel: Denial of Service via null pointer dereference in Loongson display driver
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernel Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9not affected: vulnerable code not present
+1 more productsfewer
Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9, openshift/ose-rhel-coreos-10
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-23).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/344a998475ef96b8640516f21b194fbf3b31063d
- git.kernel.org /stable/c/389de73fb826e768c73d82c8f9f7e516b3fff70b
- git.kernel.org /stable/c/834c2fdf737657c3a16c37b894a6bd07277ff082
- git.kernel.org /stable/c/256ca06920504adde310fb5252342e4b827ebcce
- git.kernel.org /stable/c/f00d7a241f846b053e89c0bb2285ef5988d4cafc
Sources
- CVE List CVE-2026-99752
- NVD CVE-2026-99752
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.