CVE-2026-99752
- 공개
- 2026년 11월 20일
- 수정
- 2026년 11월 23일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
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.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 6.6 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 6.6 | — | |
| 6.6.163 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.118 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.64 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.3.5 | ≤ | 영향 없음 | ≤ | 7.3.* | — | |
| 7.4-rc2 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타5
- git.kernel.org/stable/c/256ca06920504adde310fb5252342e4b827ebcce
- git.kernel.org/stable/c/344a998475ef96b8640516f21b194fbf3b31063d
- git.kernel.org/stable/c/389de73fb826e768c73d82c8f9f7e516b3fff70b
- git.kernel.org/stable/c/834c2fdf737657c3a16c37b894a6bd07277ff082
- git.kernel.org/stable/c/f00d7a241f846b053e89c0bb2285ef5988d4cafc