From: Greg KH <gregkh@linuxfoundation.org>
To: Oliver Neukum <oneukum@suse.com>
Cc: stable@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [PATCH] USB: fix buffer overflows with parsing CDC headers
Date: Fri, 10 Nov 2017 14:36:36 +0100 [thread overview]
Message-ID: <20171110133636.GD30012@kroah.com> (raw)
In-Reply-To: <20171108114307.6209-1-oneukum@suse.com>
On Wed, Nov 08, 2017 at 12:43:07PM +0100, Oliver Neukum wrote:
> In newer kernels this issue has been fixed at a central location with
>
> commit 2e1c42391ff2556387b3cb6308b24f6f65619feb
> Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Date: Thu Sep 21 16:58:48 2017 +0200
>
> USB: core: harden cdc_parse_cdc_header
>
> on anything older the parsing had not been centralised, so a separate
> fix for each driver is necessary.
>
> Signed-off-by: Oliver Neukum <oneukum@suse.com>
> ---
> drivers/net/usb/cdc_ether.c | 9 ++++++++-
> drivers/usb/class/cdc-acm.c | 8 +++++++-
> drivers/usb/class/cdc-wdm.c | 2 ++
> 3 files changed, 17 insertions(+), 2 deletions(-)
What kernel tree is this made against? It doesn't apply to 3.18-stable,
and commit 2e1c42391ff2556387b3cb6308b24f6f65619feb is in 4.4 and newer,
right?
thanks,
greg k-h
prev parent reply other threads:[~2017-11-10 13:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-08 11:43 [PATCH] USB: fix buffer overflows with parsing CDC headers Oliver Neukum
2017-11-10 13:36 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171110133636.GD30012@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=oneukum@suse.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.