[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1332324581.2909.38.camel@dabdike.int.hansenpartnership.com>
Date: Wed, 21 Mar 2012 10:09:41 +0000
From: James Bottomley <James.Bottomley@...senPartnership.com>
To: Petr Uzel <petr.uzel@...e.cz>
Cc: linux-kernel@...r.kernel.org, Willem Riede <osst@...de.org>,
jack@...e.cz, linux-scsi@...r.kernel.org,
juergen.gross@...fujitsu.com
Subject: Re: [PATCH] st: fix race in st_scsi_execute_end
On Fri, 2011-10-21 at 13:31 +0200, Petr Uzel wrote:
> The call to complete() in st_scsi_execute_end() wakes up sleeping thread
> in write_behind_check(), which frees the st_request, thus invalidating
> the pointer to the associated bio structure, which is then passed to the
> blk_rq_unmap_user(). Fix by storing pointer to bio structure into
> temporary local variable.
>
> This bug is present since at least linux-2.6.32.
This patch isn't applyable. That's because gpg has mangled it. You
either need to turn it off or do detached signatures.
Thanks,
James
--
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