SDMA out-of-bounds write access of tiled surface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux