drm/ttm: return an error when kmapping a BO without pages
CVE-2026-138853Published 30 Nov 2026, 13:25 UTC
Real-world risk
1.9/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.0
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
In the Linux kernel, the following vulnerability has been resolved: drm/ttm: return an error when kmapping a BO without pages ttm_tt objects for imported sg tables (ttm_bo_type_sg, set up by ttm_sg_tt_init() with TTM_TT_FLAG_EXTERNAL) only have DMA addresses and no pages array. ttm_bo_kmap() and ttm_bo_vmap() still dereference ttm->pages for them, so a driver that tries to CPU map such a BO oopses instead of getting an error: BUG: kernel NULL pointer dereference, address: 0000000000000000 RIP: 0010:ttm_bo_kmap+0x26c/0x300 [ttm] Call Trace: amdgpu_bo_kmap+0x89/0xb0 [amdgpu] amdgpu_userq_fence_read_wptr+0x116/0x170 [amdgpu] amdgpu_userq_signal_ioctl+0x3fe/0xbb0 [amdgpu] Return -EINVAL in that case, like ttm_bo_kmap_try_from_panic() already checks for a missing pages array.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 4.17 | 7.4-rc1 |
What to do
Update to a fixed version: 7.4-rc1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 8), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.225
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.225 × threat 0.851.912
- Rounded to one decimal between 0.1 and 101.9
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 3 Dec 2026 Risk 1.9 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/704be250bb97fea86d067a0068a34ac66eb844d0
- https://git.kernel.org/stable/c/853100a20c1f3e5f1ceced93ce7ec97b5ab6c301
- https://git.kernel.org/stable/c/0c767d9b0d28ea8699804f4360b4bf9bd5254e80
- https://git.kernel.org/stable/c/8b5e12139ca8982c4811a6ec2b4252b3e83094a6
- https://git.kernel.org/stable/c/e3652a5d4cd7726fa4805c2d7890643cd22be2a9
- https://git.kernel.org/stable/c/428eeed252ba1dfc84ad10354ac27118a6bf84f2
- https://git.kernel.org/stable/c/5c1cbd955faeffc4809da80bfd2b1c567337baf9
- https://git.kernel.org/stable/c/fd485d47437ba1700dd47205a63b9f389a00aa36
- CVE-2026-138853 on CVE.org