From: Amit Shah Date: Wed, 7 Aug 2013 06:24:17 +0000 (+0930) Subject: virtio: console: prevent use-after-free of port name in port unplug X-Git-Tag: v3.12-rc1~85^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b868a4073cdedf395f26d843874414e0e0e9cfd;p=pandora-kernel.git virtio: console: prevent use-after-free of port name in port unplug Remove the debugfs path before freeing port->name, to prevent a possible use-after-free. Reported-by: Jason Wang Signed-off-by: Amit Shah Signed-off-by: Rusty Russell --- Reading git-diff-tree failed