summaryrefslogtreecommitdiffstats
path: root/Documentation/spi
diff options
context:
space:
mode:
authorDavid Fries <David@Fries.net>2014-11-11 03:19:36 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-27 04:09:01 +0100
commita30cfa475d1a26c18f1998ba1e034a4e2ab4c7a8 (patch)
tree0d352909e457fca03a206f1a7fe10174ed7e5ba9 /Documentation/spi
parentmei: export fw status registers through sysfs (diff)
downloadlinux-a30cfa475d1a26c18f1998ba1e034a4e2ab4c7a8.tar.xz
linux-a30cfa475d1a26c18f1998ba1e034a4e2ab4c7a8.zip
cn: verify msg->len before making callback
The struct cn_msg len field comes from userspace and needs to be validated. More logical to do so here where the cn_msg pointer is pulled out of the sk_buff than the callback which is passed cn_msg * and might assume no validation is needed. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: David Fries <David@Fries.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/spi')
0 files changed, 0 insertions, 0 deletions