CVE-2026-138853
HIGH 7.0CVSS 3.1drm/ttm: return an error when kmapping a BO without pages
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.
- Published
- 30 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 75a57669cbc881032c60615a31bfc6bfab4c813c, < 704be250bb97fea86d067a0068a34ac66eb844d0; >= 75a57669cbc881032c60615a31bfc6bfab4c813c, < 853100a20c1f3e5f1ceced93ce7ec97b5ab6c301; >= 75a57669cbc881032c60615a31bfc6bfab4c813c, < 0c767d9b0d28ea8699804f4360b4bf9bd5254e80; >= 75a57669cbc881032c60615a31bfc6bfab4c813c, < 8b5e12139ca8982c4811a6ec2b4252b3e83094a6; >= 75a57669cbc881032c60615a31bfc6bfab4c813c, < e3652a5d4cd7726fa4805c2d7890643cd22be2a9; >= 75a57669cbc881032c60615a31bfc6bfab4c813c, < 428eeed252ba1dfc84ad10354ac27118a6bf84f2; >= 75a57669cbc881032c60615a31bfc6bfab4c813c, < 5c1cbd955faeffc4809da80bfd2b1c567337baf9; >= 75a57669cbc881032c60615a31bfc6bfab4c813c, < fd485d47437ba1700dd47205a63b9f389a00aa36 | 704be250bb97fea86d067a0068a34ac66eb844d0, 853100a20c1f3e5f1ceced93ce7ec97b5ab6c301, 0c767d9b0d28ea8699804f4360b4bf9bd5254e80, 8b5e12139ca8982c4811a6ec2b4252b3e83094a6, e3652a5d4cd7726fa4805c2d7890643cd22be2a9, 428eeed252ba1dfc84ad10354ac27118a6bf84f2, 5c1cbd955faeffc4809da80bfd2b1c567337baf9, fd485d47437ba1700dd47205a63b9f389a00aa36 |
| CVE List | Linux | Linux | = 4.17 |
References
- https://git.kernel.org/stable/c/0c767d9b0d28ea8699804f4360b4bf9bd5254e80
- https://git.kernel.org/stable/c/428eeed252ba1dfc84ad10354ac27118a6bf84f2
- https://git.kernel.org/stable/c/5c1cbd955faeffc4809da80bfd2b1c567337baf9
- https://git.kernel.org/stable/c/704be250bb97fea86d067a0068a34ac66eb844d0
- https://git.kernel.org/stable/c/853100a20c1f3e5f1ceced93ce7ec97b5ab6c301
- https://git.kernel.org/stable/c/8b5e12139ca8982c4811a6ec2b4252b3e83094a6
- https://git.kernel.org/stable/c/e3652a5d4cd7726fa4805c2d7890643cd22be2a9
- https://git.kernel.org/stable/c/fd485d47437ba1700dd47205a63b9f389a00aa36
History
- 1 Dec 2026 06:48 UTC · NVD: scored 7.0
- 1 Dec 2026 05:50 UTC · CVE List: scored 7.0
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)