{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99752","id":"CVE-2026-99752","title":"Linux kernel denial of service in Loongson buffer object clearing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/loongson: Handle buffer mapping failures when clearing a BO\n\nlsdc_bo_clear() ignores the return value from lsdc_bo_kmap() and writes\nto lbo->kptr unconditionally. When the first mapping of a newly allocated\nbuffer fails, kptr is still NULL and the subsequent memset accesses it.\n\nReturn the mapping error without touching the b","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/loongson: Handle buffer mapping failures when clearing a BO\n\nlsdc_bo_clear() ignores the return value from lsdc_bo_kmap() and writes\nto lbo->kptr unconditionally. When the first mapping of a newly allocated\nbuffer fails, kptr is still NULL and the subsequent memset accesses it.\n\nReturn the mapping error without touching the buffer and propagate it\nfrom lsdc_gem_object_create(). Install the GEM object functions before\nclearing so that drm_gem_object_put() can release the buffer correctly\non failure. Do not add the failed object to the tracking list or return\nan uncleared buffer to the caller.\n\nImported buffers still skip clearing, and successfully mapped buffers\nare cleared and unmapped as before.\n\nTested on LS7A2000 with a one-shot range error in ttm_bo_kmap(). Its\n-EINVAL return reached userspace, the object was destroyed once, and\nno GEM handle was published. Normal create/map/zero/write/read/close\ncycles passed, with the tracked BO count and VRAM usage unchanged.\n\nAI assistance was used for the lifetime analysis, fix, fault-injection\ntools, build and test execution.","published":"2026-11-20T05:51:22.212Z","updated":"2026-11-20T06:18:13.277Z","reserved":"2026-09-25T10:25:14.432Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f39db26c54281da6a785259498ca74b5e470476f","lessThan":"389de73fb826e768c73d82c8f9f7e516b3fff70b","status":"affected","versionType":"git"},{"version":"f39db26c54281da6a785259498ca74b5e470476f","lessThan":"834c2fdf737657c3a16c37b894a6bd07277ff082","status":"affected","versionType":"git"},{"version":"f39db26c54281da6a785259498ca74b5e470476f","lessThan":"256ca06920504adde310fb5252342e4b827ebcce","status":"affected","versionType":"git"},{"version":"f39db26c54281da6a785259498ca74b5e470476f","lessThan":"f00d7a241f846b053e89c0bb2285ef5988d4cafc","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/389de73fb826e768c73d82c8f9f7e516b3fff70b","tags":[]},{"url":"https://git.kernel.org/stable/c/834c2fdf737657c3a16c37b894a6bd07277ff082","tags":[]},{"url":"https://git.kernel.org/stable/c/256ca06920504adde310fb5252342e4b827ebcce","tags":[]},{"url":"https://git.kernel.org/stable/c/f00d7a241f846b053e89c0bb2285ef5988d4cafc","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99752","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99752","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99752","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99752","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}