From: Bruno Prémont Date: Tue, 24 May 2011 19:59:17 +0000 (+0000) Subject: video: Fix use-after-free by vga16fb on rmmod X-Git-Tag: v3.0-rc3~53^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a50d28de8d5085e0f34f96088a45cc156d022021;p=pandora-kernel.git 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: Bruno Prémont Signed-off-by: Paul Mundt --- Reading git-diff-tree failed