From: Tobias Herzog Date: Thu, 30 Mar 2017 20:15:10 +0000 (+0200) Subject: cdc-acm: fix possible invalid access when processing notification X-Git-Tag: v3.2.92~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16f2c3dd6aa662eee6f896d8240153d12aed5ba3;p=pandora-kernel.git cdc-acm: fix possible invalid access when processing notification commit 1bb9914e1730417d530de9ed37e59efdc647146b upstream. Notifications may only be 8 bytes long. Accessing the 9th and 10th byte of unimplemented/unknown notifications may be insecure. Also check the length of known notifications before accessing anything behind the 8th byte. Signed-off-by: Tobias Herzog Acked-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed