[Bug 194579] AMDGPU: Possible size overflow detected by PaX in ttm_bo_handle_move_mem (drivers/gpu/drm/ttm/ttm_bo.c:388)

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Thu Feb 16 23:18:28 UTC 2017


https://bugzilla.kernel.org/show_bug.cgi?id=194579

Nicolai Hähnle (nhaehnle at gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nhaehnle at gmail.com

--- Comment #7 from Nicolai Hähnle (nhaehnle at gmail.com) ---
VRAM buffers can get split into multiple underlying memory chunks; in this
case, bo->mem.start == AMDGPU_BO_INVALID_OFFSET; it's not a logic bug.

bo->offset is only used via amdgpu_bo_gpu_offset, which has a WARN_ON_ONCE to
guard against accidental use of the field in this particular case.

Therefore, I'm inclined to say that this is probably not an actual bug.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list