Subject: Re: [PATCH] drm/nouveau: Fix out-of-bounds access when
deferencing MMU type
On Thu, 12 Nov 2020 at 02:27, Ruhl, Michael J
wrote:
-Original Message-
From: Thomas Zimmermann
Sent: Wednesday, November 11, 2020 7:08 AM
To: Ruhl, Michael J ; bske...@redhat.com;
airl...@linux.ie; dan
;> >; Dave Airlie ; Gerd Hoffmann
>> >; Alex Deucher ;
>> >VMware Graphics ; Roland
>> >Scheidegger ; Huang Rui ;
>> >Felix Kuehling ; Hawking Zhang
>> >; Jason Gunthorpe ; Likun
>Gao
>> >; virtualizat...@lists.linux-foundation.org; spice-
&g
king Zhang
> >; Jason Gunthorpe ; Likun Gao
> >; virtualizat...@lists.linux-foundation.org; spice-
> >de...@lists.freedesktop.org; amd-...@lists.freedesktop.org
> >Subject: Re: [PATCH] drm/nouveau: Fix out-of-bounds access when
> >deferencing MMU type
> >
> >Hi
> >
g; amd-...@lists.freedesktop.org
>Subject: Re: [PATCH] drm/nouveau: Fix out-of-bounds access when
>deferencing MMU type
>
>Hi
>
>Am 10.11.20 um 16:27 schrieb Ruhl, Michael J:
>>
>>
>>> -Original Message-
>>> From: Thomas Zimmermann
>>>
Hi
Am 10.11.20 um 16:27 schrieb Ruhl, Michael J:
>
>
>> -Original Message-
>> From: Thomas Zimmermann
>> Sent: Tuesday, November 10, 2020 8:37 AM
>> To: bske...@redhat.com; airl...@linux.ie; dan...@ffwll.ch; Ruhl, Michael J
>> ; christian.koe...@amd.com
>> Cc:
>-Original Message-
>From: Thomas Zimmermann
>Sent: Tuesday, November 10, 2020 8:37 AM
>To: bske...@redhat.com; airl...@linux.ie; dan...@ffwll.ch; Ruhl, Michael J
>; christian.koe...@amd.com
>Cc: nouv...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; Thomas
>Zimmermann ;
Am 10.11.20 um 14:36 schrieb Thomas Zimmermann:
The value of struct drm_device.ttm.type_vram can become -1 for unknown
types of memory (see nouveau_ttm_init()). This leads to an out-of-bounds
error when accessing struct nvif_mmu.type[]:
[ 18.304116]