Return-Path: Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:37940 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754874AbcCSRAT (ORCPT ); Sat, 19 Mar 2016 13:00:19 -0400 Message-ID: <1458406809.2953.38.camel@decadent.org.uk> Subject: [stable 3.2-3.10] bio: return EINTR if copying to user space got interrupted From: Ben Hutchings To: stable Cc: Hannes Reinecke , Johannes Thumshirn , Jens Axboe Date: Sat, 19 Mar 2016 17:00:09 +0000 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-sPnFrOqv2/IZCq266XTQ" Mime-Version: 1.0 Sender: stable-owner@vger.kernel.org List-ID: --=-sPnFrOqv2/IZCq266XTQ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Commit=C2=A02d99b55d378c was marked for inclusion in stable branches from 3.11 onwards, as it fixed a bug introduced by a commit in 3.11. However, the earlier commit (35dc248383bb "[SCSI] sg: Fix user memory corruption when SG_IO is interrupted by a signal") was also backported to older stable branches, so I believe that 2d99b55d378c is needed in those as well. Ben. --=20 Ben Hutchings To err is human; to really foul things up requires a computer. --=-sPnFrOqv2/IZCq266XTQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJW7YWZAAoJEOe/yOyVhhEJJ98QALjUsryTwdJgJEpKD+lmwsyP QrUsdF1MVH8MJ5a3Pm6IvmptbVIfYFdO2DQ2zOg1YyHJ4sJ/2FJ1fEEz5v6lU2/r ei/wv557pF7LAqHLTefKFGakdG8ZvDBSSlkGYUoy5ADPk0Iopu9gPOTux1T007wW Gktp93dN2saDTi1cienIhICdjiaRFN5GiIzwCgeWXVvTY9TPbC3XWg0IKBeS3RaU OOuw7fTzcynpkYKAXVVlzAon64J0gQsJktXSa2LoAP1soJje9kOAklccKw1geV3V 44Dm1tOVQCFUgekcpFjWUgawV2qB1ohPFY2XcABCNO0N+Pi9MZ95qwlOE63lqNX6 mkJnnlvIcdx33e54u1lRiDuAyw+we5CPHlTwxyw/kC8jK0joks+YLym4kiSyfj9d K2B4opDOUHPPJ8NJc9j8qVBhoF9bckRW5hlZBYfxh+gXhO7I6os1R2BZBC1hmGlr kTJ1kn0klh0zXTmek285vpz2xPTqdJng9jn9RBgR/cO+GlJ8P4qY/KycLDB0ZCl+ 7SFkIVkycHzTDYPFF9TQvWcZpwKUj5bAFXM44mJ80zfbg3iS3r7pFEEqGC3GCL4a SJjcQCGPdvEzzWHVSHtv3Y9Z0P4J0kfB+Ek3xxfsYZzxkCY2sSsjKLC+WzNILDoZ LD8LCmzbFsBqhdtSGx1t =EDyO -----END PGP SIGNATURE----- --=-sPnFrOqv2/IZCq266XTQ--