lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 3 Dec 2012 17:42:00 +0000
From:	"Koul, Vinod" <vinod.koul@...el.com>
To:	viresh kumar <viresh.kumar@...aro.org>, Dan Williams <djbw@...com>
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"Jiang, Dave" <dave.jiang@...el.com>,
	"Mason, Jon" <jon.mason@...el.com>
Subject: RE: [PATCH v2] dmatest: Fix NULL pointer dereference on ioat

> On Wed, Nov 14, 2012 at 8:17 AM, viresh kumar <viresh.kumar@...aro.org> wrote:
> > On Mon, Nov 12, 2012 at 4:33 AM, Jon Mason <jon.mason@...el.com> wrote:
> >> device_control is an optional and not implemented in all DMA drivers.
> >> Any calls to these will result in a NULL pointer dereference.
> >> dmatest makes two of these calls when completing the kernel thread
> >> and removing the module.  These are corrected by calling the
> >> dmaengine_device_control wrapper and checking for a non-existant
> >> device_control function pointer there.
> >>
> >> Signed-off-by: Jon Mason <jon.mason@...el.com>
> >> CC: Vinod Koul <vinod.koul@...el.com>
> >> CC: Dan Williams <djbw@...com>
> 
> > Reviewed-by: Viresh Kumar <viresh.kumar@...aro.org>
Applied, Thanks

--
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ