CVE-2026-138853

Source
https://cve.org/CVERecord?id=CVE-2026-138853
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138853.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138853
Downstream
Published
2026-11-30T13:25:35Z
Modified
2026-12-01T07:00:44Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
drm/ttm: return an error when kmapping a BO without pages
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138853.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
75a57669cbc881032c60615a31bfc6bfab4c813c
Fixed
704be250bb97fea86d067a0068a34ac66eb844d0
Fixed
853100a20c1f3e5f1ceced93ce7ec97b5ab6c301
Fixed
0c767d9b0d28ea8699804f4360b4bf9bd5254e80
Fixed
8b5e12139ca8982c4811a6ec2b4252b3e83094a6
Fixed
e3652a5d4cd7726fa4805c2d7890643cd22be2a9
Fixed
428eeed252ba1dfc84ad10354ac27118a6bf84f2
Fixed
5c1cbd955faeffc4809da80bfd2b1c567337baf9
Fixed
fd485d47437ba1700dd47205a63b9f389a00aa36

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138853.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.17.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138853.json"