From: Mikel Rychliski
radeon_ttm_bo_destroy() is attempting to access the resource object to
update memory counters. However, the resource object is already freed when
ttm calls this function via the destroy callback. This causes an oops when
a bo is freed:
BUG: kernel NULL pointer deref
On Mon, Jun 21, 2021 at 10:41:57PM +0800, kernel test robot wrote:
> Hi Mikel,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on next-20210618]
> [cannot apply to linus/master v5.13-rc7 v5.13-rc6 v5.13-rc5 v5.13-rc7]
> [If your patch is applied to the wrong git
Hi Mikel,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on next-20210618]
[cannot apply to linus/master v5.13-rc7 v5.13-rc6 v5.13-rc5 v5.13-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base
radeon_ttm_bo_destroy() is attempting to access the resource object to
update memory counters. However, the resource object is already freed when
ttm calls this function via the destroy callback. This causes an oops when
a bo is freed:
BUG: kernel NULL pointer dereference, address: 000
Am 21.06.21 um 02:59 schrieb Mikel Rychliski:
radeon_ttm_bo_destroy() is attempting to access the resource object to
update memory counters. However, the resource object is already freed when
ttm calls this function via the destroy callback. This causes an oops when
a bo is freed:
BUG