From: Mathias Krause Date: Wed, 15 Aug 2012 11:31:54 +0000 (+0000) Subject: dccp: check ccid before dereferencing X-Git-Tag: v3.2.29~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=372c463a7c5ea46eca693ea52bd95cb8512247f8;p=pandora-kernel.git dccp: check ccid before dereferencing commit 276bdb82dedb290511467a5a4fdbe9f0b52dce6f upstream. ccid_hc_rx_getsockopt() and ccid_hc_tx_getsockopt() might be called with a NULL ccid pointer leading to a NULL pointer dereference. This could lead to a privilege escalation if the attacker is able to map page 0 and prepare it with a fake ccid_ops pointer. Signed-off-by: Mathias Krause Cc: Gerrit Renker Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed