PT-2026-162713
CVE-2026-138853
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
CVSS 3.1
7.0
AltaMétricasAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾