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>] [day] [month] [year] [list]
Date:	Tue, 25 Mar 2008 15:55:23 -0000
From:	"Sosnowski, Maciej" <maciej.sosnowski@...el.com>
To:	<linux-kernel@...r.kernel.org>, <stable@...nel.org>,
	<jejb@...nel.org>
Cc:	<jmforbes@...uxtx.org>, <zwane@....linux.org.uk>, <tytso@....edu>,
	<rdunlap@...otime.net>, <davej@...hat.com>,
	<chuckw@...ntumlinux.com>, <reviews@...cw.f00f.org>,
	<mkrufky@...uxtv.org>, <cebbert@...hat.com>, <cavokz@...il.com>,
	<torvalds@...ux-foundation.org>, <akpm@...ux-foundation.org>,
	<alan@...rguk.ukuu.org.uk>,
	"Williams, Dan J" <dan.j.williams@...el.com>,
	"Nelson, Shannon" <shannon.nelson@...el.com>, <gregkh@...e.de>
Subject: RE: [patch 51/76] ioat: fix ack handling, driver must ensure that ack is zero

> ---------- Original message ----------
> From: Chris Wright <chrisw@...s-sol.org>
> Date: Mar 21, 2008 11:43 PM
> Subject: [patch 51/76] ioat: fix ack handling, driver must ensure that
> ack is zero
> To: linux-kernel@...r.kernel.org, stable@...nel.org, jejb@...nel.org
> Cc: Justin Forbes <jmforbes@...uxtx.org>, Zwane Mwaikambo
> <zwane@....linux.org.uk>, Theodore Ts'o <tytso@....edu>, Randy Dunlap
> <rdunlap@...otime.net>, Dave Jones <davej@...hat.com>, Chuck Wolber
> <chuckw@...ntumlinux.com>, Chris Wedgwood <reviews@...cw.f00f.org>,
> Michael Krufky <mkrufky@...uxtv.org>, Chuck Ebbert
> <cebbert@...hat.com>, Domenico Andreoli <cavokz@...il.com>,
> torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
> alan@...rguk.ukuu.org.uk, Dan Williams <dan.j.williams@...el.com>,
> Shannon Nelson <shannon.nelson@...el.com>, Greg Kroah-Hartman
> <gregkh@...e.de>
> 
> 
> -stable review patch.  If anyone has any objections, please let us
know.
> ---------------------
> 
> From: Dan Williams <dan.j.williams@...el.com>
> 
> Initialize 'ack' to zero in case the descriptor has been recycled.
> 
> Prevents "kernel BUG at crypto/async_tx/async_xor.c:185!"
> 
> Signed-off-by: Dan Williams <dan.j.williams@...el.com>
> Acked-by: Shannon Nelson <shannon.nelson@...el.com>
> [chrisw@...s-sol.org: backport to 2.6.24.3]
> Signed-off-by: Chris Wright <chrisw@...s-sol.org>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
> ---
> 
>  drivers/dma/ioat_dma.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> --- a/drivers/dma/ioat_dma.c
> +++ b/drivers/dma/ioat_dma.c
> @@ -726,6 +726,7 @@ static struct dma_async_tx_descriptor *i
> 
>        if (new) {
>                new->len = len;
> +               new->async_tx.ack = 0;
>                return &new->async_tx;
>        } else
>                return NULL;
> @@ -749,6 +750,7 @@ static struct dma_async_tx_descriptor *i
> 
>        if (new) {
>                new->len = len;
> +               new->async_tx.ack = 0;
>                return &new->async_tx;
>        } else
>                return NULL;
> 
> --

Acked-by: Maciej Sosnowski <maciej.sosnowski@...el.com>
---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
z siedziba w Gdansku
ul. Slowackiego 173
80-298 Gdansk

Sad Rejonowy Gdansk Polnoc w Gdansku, 
VII Wydzial Gospodarczy Krajowego Rejestru Sadowego, 
numer KRS 101882

NIP 957-07-52-316
Kapital zakladowy 200.000 zl

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

--
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