https://bugzilla.kernel.org/show_bug.cgi?id=199425
--- Comment #14 from Johannes Hirte (johannes.hirte@datenkhaos.de) --- (In reply to mikita.lipski@amd.com from comment #10)
Johannes, My patch wasn't merged into DRM, but Daniel Vetter proposed another patch that might remove legacy code that causes the issue. Could you remove my patch from your tree and apply the following patch:
https://patchwork.freedesktop.org/patch/230355/
Could you please if it fixes the Kasan issue for you, thanks.
Doesn't avoid the use-after-free. Tested with the patch on top of 4.18-rc6.