Skip to content
Commit a50d28de authored by Bruno Prémont's avatar Bruno Prémont Committed by Paul Mundt
Browse files

video: Fix use-after-free by vga16fb on rmmod



Since fb_info is now refcounted and thus may get freed at any time it
gets unregistered module unloading will try to unregister framebuffer
as stored in platform data on probe though this pointer may
be stale.

Cleanup platform data on framebuffer release.

CC: stable@kernel.org
Signed-off-by: default avatarBruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 1b86d775
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment