From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f193.google.com ([209.85.128.193]:33778 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777AbdFOJZj (ORCPT ); Thu, 15 Jun 2017 05:25:39 -0400 Received: by mail-wr0-f193.google.com with SMTP id x23so2239854wrb.0 for ; Thu, 15 Jun 2017 02:25:39 -0700 (PDT) Subject: Re: [PATCH] [BACKPORT FOR 4.4] staging: rtl8192e: rtl92e_fill_tx_desc fix write to mapped out memory. To: Greg KH Cc: stable@vger.kernel.org References: <20170613113802.3971-1-tvboxspy@gmail.com> <20170615072130.GD25693@kroah.com> From: Malcolm Priestley Message-ID: <603a40fb-ae83-0282-de22-b5fe8ca4a9d6@gmail.com> Date: Thu, 15 Jun 2017 10:25:36 +0100 MIME-Version: 1.0 In-Reply-To: <20170615072130.GD25693@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 15/06/17 08:21, Greg KH wrote: > 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? > Sorry it is not needed, the bug had appeared since v4.4. IsACValid had since changed to static function where the math error of tid < 7 appears. Regards Malcolm