RE: [regression][6.5] KASAN: slab-out-of-bounds in amdgpu_vm_pt_create+0x555/0x670 [amdgpu] on Radeon 7900XTX

From: Chen, Guchun
Date: Fri Jul 14 2023 - 07:09:54 EST


[Public]

> -----Original Message-----
> From: Mikhail Gavrilov <mikhail.v.gavrilov@xxxxxxxxx>
> Sent: Saturday, July 8, 2023 6:27 AM
> To: Chen, Guchun <Guchun.Chen@xxxxxxx>
> Cc: amd-gfx list <amd-gfx@xxxxxxxxxxxxxxxxxxxxx>; Koenig, Christian
> <Christian.Koenig@xxxxxxx>; Deucher, Alexander
> <Alexander.Deucher@xxxxxxx>; Linux List Kernel Mailing <linux-
> kernel@xxxxxxxxxxxxxxx>
> Subject: Re: [regression][6.5] KASAN: slab-out-of-bounds in
> amdgpu_vm_pt_create+0x555/0x670 [amdgpu] on Radeon 7900XTX
>
> On Fri, Jul 7, 2023 at 6:01 AM Chen, Guchun <Guchun.Chen@xxxxxxx>
> wrote:
> >
> > [Public]
> >
> > Hi Mike,
> >
> > Yes, we are aware of this problem, and we are working on that. The
> problem is caused by recent code stores xcp_id to amdgpu bo for accounting
> memory usage and so on. However, not all VMs are attached to that like the
> case in amdgpu_mes_self_test.
> >
>
> I would like to take part in testing the fix.

Thanks for your patience on this, Mike. I think https://patchwork.freedesktop.org/patch/547592/ can help this, please take a try.

Regards,
Guchun

> --
> Best Regards,
> Mike Gavrilov.