On Mon, Jan 31, 2022 at 10:05:36PM +0100, Daniel Vetter wrote:
> Half of it is protected by console_lock, but the other half is a lot
> more awkward: Registration/deregistration of fbdev are serialized, but
> we don't really clear out anything in con2fb_map and so there's
> potential for use-after free mixups.
> 
> First step is to encapsulate the lookup.
> 
> Signed-off-by: Daniel Vetter <daniel.vet...@intel.com>
> Cc: Helge Deller <del...@gmx.de>
> Cc: Daniel Vetter <dan...@ffwll.ch>
> Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
> Cc: Tetsuo Handa <penguin-ker...@i-love.sakura.ne.jp>
> Cc: Du Cheng <duche...@gmail.com>
> Cc: Claudio Suarez <c...@net-c.es>
> Cc: Thomas Zimmermann <tzimmerm...@suse.de>
Acked-by: Sam Ravnborg <s...@ravnborg.org>

Reply via email to