Re: [PATCH] dell-wmi: Fix access out of memory
From: Darren Hart
Date: Sun Oct 12 2014 - 18:33:26 EST
On Sun, Oct 12, 2014 at 06:45:06PM +0200, Pali Rohár wrote:
> On Tuesday 30 September 2014 01:16:23 Darren Hart wrote:
> > On September 29, 2014 4:26:03 PM PDT, "Rafael J. Wysocki"
> <rjw@xxxxxxxxxxxxx> wrote:
> > >On Monday, September 29, 2014 02:30:29 PM Darren Hart wrote:
> > >> On Mon, Sep 29, 2014 at 03:10:51PM +0200, Pali Rohár wrote:
> > >> > Without this patch driver dell-wmi is trying to access
> > >> > elements of
> > >
> > >dynamically
> > >
> > >> > allocated array without checking array size. This can
> > >> > lead to
> > >
> > >memory corruption
> > >
> > >> > or kernel panic. This patch adds missing checks for array
> > >> > size.
> > >> >
> > >> > Signed-off-by: Pali Rohár <pali.rohar@xxxxxxxxx>
> > >>
> > >> Looks good to me. Rafael, any concerns?
> > >
> > >Not anything obvious.
> >
> > Queued, thanks.
> >
> > >> Cc: linux-acpi
> > >
> > >Thanks!
> > >
>
> Now I see that this patch is in linus tree. Can you sent it to
> stable trees too?
Hi Pali,
Please see Documentation/stable_kernel_rules.txt for details on how to mark
patches for stable when you submit them. Now that it is in mainline, the process
is a bit more manual, you'll find instructions for how to go about that in the
same document.
Thanks,
--
Darren Hart
Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/