> From: gregkh@xxxxxxxxxxxxxxxxxxx <gregkh@xxxxxxxxxxxxxxxxxxx> > Sent: Tuesday, July 23, 2019 4:59 AM > To: Dexuan Cui <decui@xxxxxxxxxxxxx>; lorenzo.pieralisi@xxxxxxx; Michael > Kelley <mikelley@xxxxxxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx > Subject: FAILED: patch "[PATCH] PCI: hv: Fix a use-after-free bug in > hv_eject_device_work()" failed to apply to 4.9-stable tree > > > The patch below does not apply to the 4.9-stable tree. > If someone wants it applied there, or to any other stable or longterm > tree, then please email the backport, including the original git commit > id to <stable@xxxxxxxxxxxxxxx>. > > thanks, > > greg k-h > > ------------------ original commit in Linus's tree ------------------ > > From 4df591b20b80cb77920953812d894db259d85bd7 Mon Sep 17 00:00:00 > 2001 > From: Dexuan Cui <decui@xxxxxxxxxxxxx> > Date: Fri, 21 Jun 2019 23:45:23 +0000 > Subject: [PATCH] PCI: hv: Fix a use-after-free bug in hv_eject_device_work() Hi, To apply this patch to v4.9.186, we need to cherry-pick another patch first: e74d2ebdda33 ("PCI: hv: Delete the device earlier from hbus->children for hot-remove") Then I backported this commit (4df591b20) Please see the two attachments for the two patches. They can be cleanly applied to v4.9.186. Thanks, -- Dexuan
Attachment:
for-4.9.186-0001-PCI-hv-Delete-the-device-earlier-from-hbus-children-.patch
Description: for-4.9.186-0001-PCI-hv-Delete-the-device-earlier-from-hbus-children-.patch
Attachment:
for-4.9.186-0002-PCI-hv-Fix-a-use-after-free-bug-in-hv_eject_device_w.patch
Description: for-4.9.186-0002-PCI-hv-Fix-a-use-after-free-bug-in-hv_eject_device_w.patch