SDMA out-of-bounds write access of tiled surface
Christian König
deathsimple at vodafone.de
Wed Jun 22 08:15:57 UTC 2016
Am 22.06.2016 um 10:10 schrieb Michel Dänzer:
> On 22.06.2016 16:53, Christian König wrote:
>> Hi Nocolai,
>>
>> If we don't already have an option for this try to double the size of
>> the VM area allocate for each BO in userspace.
>>
>> That should give you a nice hole between each BO and so should help to
>> catch cases when somebody writes over the end of a BO.
> Adding the VM alignment to the allocated VM area size should be enough
> for that, no need to double it. :)
Well you never know how far the driver writes over the end. We usually
have plenty of address space and the minimum VM alignment was only 64kb
IIRC.
Christian.
More information about the amd-gfx
mailing list