Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Ding Hui <dinghui@sangfor.com.cn>
To: bhelgaas@google.com
Cc: dinghui@sangfor.com.cn,
	sathyanarayanan.kuppuswamy@linux.intel.com, vidyas@nvidia.com,
	david.e.box@linux.intel.com, kai.heng.feng@canonical.com,
	michael.a.bottini@linux.intel.com, rajatja@google.com,
	qinzongquan@sangfor.com.cn, linux-pci@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PCI/ASPM: fix UAF by removing cached downstream
Date: Sat, 29 Apr 2023 22:58:12 +0800	[thread overview]
Message-ID: <13ea5739-d7d3-cefa-d8d7-540635bbdc19@sangfor.com.cn> (raw)
In-Reply-To: <20230429132604.31853-1-dinghui@sangfor.com.cn>

On 2023/4/29 9:26 下午, Ding Hui wrote:
> If the function 0 of a multifunction device is removed, an freed

Typo "a freed" will be fix in v2.


> downstream pointer will be left in struct pcie_link_state, and then
> when pcie_config_aspm_link() be invoked from any path, we will get a
> KASAN use-after-free report.

-- 
Thanks,
-dinghui


  reply	other threads:[~2023-04-29 14:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-29 13:26 [PATCH] PCI/ASPM: fix UAF by removing cached downstream Ding Hui
2023-04-29 14:58 ` Ding Hui [this message]
2023-05-01  2:10 ` Bjorn Helgaas
2023-05-01  3:50   ` Ding Hui
2023-05-01 16:52     ` Bjorn Helgaas
2023-05-03 13:31       ` Ding Hui

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=13ea5739-d7d3-cefa-d8d7-540635bbdc19@sangfor.com.cn \
    --to=dinghui@sangfor.com.cn \
    --cc=bhelgaas@google.com \
    --cc=david.e.box@linux.intel.com \
    --cc=kai.heng.feng@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=michael.a.bottini@linux.intel.com \
    --cc=qinzongquan@sangfor.com.cn \
    --cc=rajatja@google.com \
    --cc=sathyanarayanan.kuppuswamy@linux.intel.com \
    --cc=vidyas@nvidia.com \
    /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