Re: [Freedreno] [PATCH v2 01/10] drm/msm: fix use-after-free on probe deferral

2022-09-22 Thread Kuogee Hsieh
On 9/13/2022 1:53 AM, Johan Hovold wrote: The bridge counter was never reset when tearing down the DRM device so that stale pointers to deallocated structures would be accessed on the next tear down (e.g. after a second late bind deferral). Given enough bridges and a few probe deferrals this c

Re: [Freedreno] [PATCH v2 01/10] drm/msm: fix use-after-free on probe deferral

2022-09-22 Thread Kuogee Hsieh
On 9/13/2022 1:53 AM, Johan Hovold wrote: The bridge counter was never reset when tearing down the DRM device so that stale pointers to deallocated structures would be accessed on the next tear down (e.g. after a second late bind deferral). Given enough bridges and a few probe deferrals this c