From: Sasha Levin <sashal@kernel.org>
To: gregkh@linuxfoundation.org
Cc: decui@microsoft.com, lorenzo.pieralisi@arm.com, stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it" failed to apply to 4.19-stable tree
Date: Tue, 8 Oct 2019 19:25:35 -0400 [thread overview]
Message-ID: <20191008232535.GL1396@sasha-vm> (raw)
In-Reply-To: <157055512417249@kroah.com>
On Tue, Oct 08, 2019 at 07:18:44PM +0200, gregkh@linuxfoundation.org wrote:
>
>The patch below does not apply to the 4.19-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@vger.kernel.org>.
>
>thanks,
>
>greg k-h
>
>------------------ original commit in Linus's tree ------------------
>
>From 533ca1feed98b0bf024779a14760694c7cb4d431 Mon Sep 17 00:00:00 2001
>From: Dexuan Cui <decui@microsoft.com>
>Date: Fri, 2 Aug 2019 22:50:20 +0000
>Subject: [PATCH] PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it
>
>The slot must be removed before the pci_dev is removed, otherwise a panic
>can happen due to use-after-free.
>
>Fixes: 15becc2b56c6 ("PCI: hv: Add hv_pci_remove_slots() when we unload the driver")
>Signed-off-by: Dexuan Cui <decui@microsoft.com>
>Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
>Cc: stable@vger.kernel.org
Doesn't look like it's relevant for <=4.19 .
--
Thanks,
Sasha
prev parent reply other threads:[~2019-10-08 23:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-08 17:18 FAILED: patch "[PATCH] PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it" failed to apply to 4.19-stable tree gregkh
2019-10-08 23:17 ` Dexuan Cui
2019-10-08 23:25 ` Sasha Levin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191008232535.GL1396@sasha-vm \
--to=sashal@kernel.org \
--cc=decui@microsoft.com \
--cc=gregkh@linuxfoundation.org \
--cc=lorenzo.pieralisi@arm.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).