From: Kees Cook Date: Wed, 3 Jul 2013 22:01:14 +0000 (-0700) Subject: block: do not pass disk names as format strings X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~416 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffc8b30866879ed9ba62bd0a86fecdbd51cd3d19;p=pandora-kernel.git block: do not pass disk names as format strings Disk names may contain arbitrary strings, so they must not be interpreted as format strings. It seems that only md allows arbitrary strings to be used for disk names, but this could allow for a local memory corruption from uid 0 into ring 0. CVE-2013-2851 Signed-off-by: Kees Cook Cc: Jens Axboe Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed