]> git.karo-electronics.de Git - karo-tx-linux.git/commit
b43: stop format string leaking into error msgs
authorKees Cook <keescook@chromium.org>
Fri, 10 May 2013 21:48:21 +0000 (14:48 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Jun 2013 13:50:49 +0000 (09:50 -0400)
commit9538cbaab6e8b8046039b4b2eb6c9d614dc782bd
treed96a7c0ac667f8f682c5dd5025482d97e11bea2a
parent8bb7f167a12ab96352f9317744007aa59ff657b7
b43: stop format string leaking into error msgs

The module parameter "fwpostfix" is userspace controllable, unfiltered,
and is used to define the firmware filename. b43_do_request_fw() populates
ctx->errors[] on error, containing the firmware filename. b43err()
parses its arguments as a format string. For systems with b43 hardware,
this could lead to a uid-0 to ring-0 escalation.

CVE-2013-2852

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c