From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:50962 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751748AbdFOHVj (ORCPT ); Thu, 15 Jun 2017 03:21:39 -0400 Date: Thu, 15 Jun 2017 09:21:30 +0200 From: Greg KH To: Malcolm Priestley Cc: stable@vger.kernel.org Subject: Re: [PATCH] [BACKPORT FOR 4.4] staging: rtl8192e: rtl92e_fill_tx_desc fix write to mapped out memory. Message-ID: <20170615072130.GD25693@kroah.com> References: <20170613113802.3971-1-tvboxspy@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170613113802.3971-1-tvboxspy@gmail.com> Sender: stable-owner@vger.kernel.org List-ID: On Tue, Jun 13, 2017 at 12:38:02PM +0100, Malcolm Priestley wrote: > The driver attempts to alter memory that is mapped to PCI device. > > This is because tx_fwinfo_8190pci points to skb->data > > Move the pci_map_single to when completed buffer is ready to be mapped with > psdec is empty to drop on mapping error. > > Signed-off-by: Malcolm Priestley > Cc: > Signed-off-by: Greg Kroah-Hartman > > --- > Commit baabd567f87be05330faa5140f72a91960e7405a upstream Thanks for this. > Commit 95d93e271d920dfda369d4740b1cc1061d41fe7f upstream is also required. That one does not apply, can you provide a backport for it? thanks, greg k-h