From mboxrd@z Thu Jan 1 00:00:00 1970 From: John W. Linville Date: Thu, 27 Sep 2012 17:24:35 -0400 Subject: [ath9k-devel] [PATCH -next] wireless: ath9k-htc: fix possible use after free In-Reply-To: References: <1347503608-3521-1-git-send-email-ming.lei@canonical.com> Message-ID: <20120927212435.GA1892@tuxdriver.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Thu, Sep 27, 2012 at 12:06:17PM +0800, Ming Lei wrote: > On Thu, Sep 13, 2012 at 10:33 AM, Ming Lei wrote: > > Inside ath9k_hif_usb_firmware_fail(), the instance of > > 'struct struct hif_device_usb' may be freed by > > ath9k_hif_usb_disconnect() after > > > > complete(&hif_dev->fw_done); > > > > But 'hif_dev' is still accessed after the line code > > above is executed. > > > > This patch fixes the issue by not accessing 'hif_dev' > > after 'complete(&hif_dev->fw_done)' inside > > ath9k_hif_usb_firmware_fail(). > > > > Cc: ath9k-devel at lists.ath9k.org > > Cc: "Luis R. Rodriguez" > > Cc: Jouni Malinen > > Cc: Vasanthakumar Thiagarajan > > Cc: Senthil Balasubramanian > > Cc: "John W. Linville" > > Gentle ping, :-) This is commit e962610f8100e1b52973f5a9c855cbc3d1ba04ec in wireless-next? -- John W. Linville Someday the world will need a hero, and you linville at tuxdriver.com might be all we have. Be ready.