CVE-2026-99752
drm/loongson: Handle buffer mapping failures when clearing a BO
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= f39db26c54281da6a785259498ca74b5e470476f, < 344a998475ef96b8640516f21b194fbf3b31063d; >= f39db26c54281da6a785259498ca74b5e470476f, < 389de73fb826e768c73d82c8f9f7e516b3fff70b; >= f39db26c54281da6a785259498ca74b5e470476f, < 834c2fdf737657c3a16c37b894a6bd07277ff082; >= f39db26c54281da6a785259498ca74b5e470476f, < 256ca06920504adde310fb5252342e4b827ebcce; >= f39db26c54281da6a785259498ca74b5e470476f, < f00d7a241f846b053e89c0bb2285ef5988d4cafc
- Anyone running Linux 6.6
Vulnerability facts
- Affected
- Linux >= f39db26c54281da6a785259498ca74b5e470476f, < 344a998475ef96b8640516f21b194fbf3b31063d; >= f39db26c54281da6a785259498ca74b5e470476f, < 389de73fb826e768c73d82c8f9f7e516b3fff70b; >= f39db26c54281da6a785259498ca74b5e470476f, < 834c2fdf737657c3a16c37b894a6bd07277ff082; >= f39db26c54281da6a785259498ca74b5e470476f, < 256ca06920504adde310fb5252342e4b827ebcce; >= f39db26c54281da6a785259498ca74b5e470476f, < f00d7a241f846b053e89c0bb2285ef5988d4cafc; Linux 6.6
- Fixed in
- Linux 344a998475ef96b8640516f21b194fbf3b31063d, Linux 389de73fb826e768c73d82c8f9f7e516b3fff70b, Linux 834c2fdf737657c3a16c37b894a6bd07277ff082, Linux 256ca06920504adde310fb5252342e4b827ebcce
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f39db26c54281da6a785259498ca74b5e470476f, < 344a998475ef96b8640516f21b194fbf3b31063d; >= f39db26c54281da6a785259498ca74b5e470476f, < 389de73fb826e768c73d82c8f9f7e516b3fff70b; >= f39db26c54281da6a785259498ca74b5e470476f, < 834c2fdf737657c3a16c37b894a6bd07277ff082; >= f39db26c54281da6a785259498ca74b5e470476f, < 256ca06920504adde310fb5252342e4b827ebcce; >= f39db26c54281da6a785259498ca74b5e470476f, < f00d7a241f846b053e89c0bb2285ef5988d4cafc | — | cvelist |
| Linux | 6.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99752. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99752.md Affected: Linux >= f39db26c54281da6a785259498ca74b5e470476f, < 344a998475ef96b8640516f21b194fbf3b31063d; >= f39db26c54281da6a785259498ca74b5e470476f, < 389de73fb826e768c73d82c8f9f7e516b3fff70b; >= f39db26c54281da6a785259498ca74b5e470476f, < 834c2fdf737657c3a16c37b894a6bd07277ff082; >= f39db26c54281da6a785259… Fixed in: Linux 344a998475ef96b8640516f21b194fbf3b31063d, Linux 389de73fb826e768c73d82c8f9f7e516b3fff70b, Linux 834c2fdf737657c3a16c37b894a6bd07277ff082, Linux 256ca06920504adde310fb5252342e4b827ebcce Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/344a998475ef96b8640516f21b194fbf3b31063d
- https://git.kernel.org/stable/c/389de73fb826e768c73d82c8f9f7e516b3fff70b
- https://git.kernel.org/stable/c/834c2fdf737657c3a16c37b894a6bd07277ff082
- https://git.kernel.org/stable/c/256ca06920504adde310fb5252342e4b827ebcce
- https://git.kernel.org/stable/c/f00d7a241f846b053e89c0bb2285ef5988d4cafc
FAQ
Is CVE-2026-99752 being exploited?
There is no confirmed exploitation: CVE-2026-99752 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-99752?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99752?
Linux >= f39db26c54281da6a785259498ca74b5e470476f, < 344a998475ef96b8640516f21b194fbf3b31063d; >= f39db26c54281da6a785259498ca74b5e470476f, < 389de73fb826e768c73d82c8f9f7e516b3fff70b; >= f39db26c54281da6a785259498ca74b5e470476f, < 834c2fdf737657c3a16c37b894a6bd07277ff082; >= f39db26c54281da6a785259498ca74b5e470476f, < 256ca06920504adde310fb5252342e4b827ebcce; >= f39db26c54281da6a785259498ca74b5e470476f, < f00d7a241f846b053e89c0bb2285ef5988d4cafc; Linux 6.6.
Is there a fix for CVE-2026-99752?
Yes. Fixed in Linux 344a998475ef96b8640516f21b194fbf3b31063d, Linux 389de73fb826e768c73d82c8f9f7e516b3fff70b, Linux 834c2fdf737657c3a16c37b894a6bd07277ff082, Linux 256ca06920504adde310fb5252342e4b827ebcce. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-99752?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | ||
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | ||
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | ||
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 |