[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241105173846.GB448500@rocinante>
Date: Wed, 6 Nov 2024 02:38:46 +0900
From: Krzysztof WilczyĆski <kw@...ux.com>
To: Zhongqiu Han <quic_zhonhan@...cinc.com>
Cc: manivannan.sadhasivam@...aro.org, kishon@...nel.org,
bhelgaas@...gle.com, lpieralisi@...nel.org, dlemoal@...nel.org,
mhi@...ts.linux.dev, linux-arm-msm@...r.kernel.org,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] PCI: epf-mhi: Fix potential NULL dereference in
pci_epf_mhi_bind()
Hello,
> If platform_get_resource_byname() fails and returns NULL, dereferencing
> res->start will cause a NULL pointer access. Add a check to prevent it.
Applied to endpoint, thank you!
[01/01] PCI: endpoint: epf-mhi: Fix potential NULL dereference in pci_epf_mhi_bind()
https://git.kernel.org/pci/pci/c/ff977d1bf478
Krzysztof
Powered by blists - more mailing lists