[PATCH v3] phy: tegra: xusb: Clear the driver reference in usb-phy dev

Vinod Koul vkoul at kernel.org
Wed Jun 21 05:01:48 PDT 2023


On 09-06-23, 14:29, Haotien Hsu wrote:
> From: EJ Hsu <ejh at nvidia.com>
> 
> For the dual-role port, it will assign the phy dev to usb-phy dev and
> use the port dev driver as the dev driver of usb-phy.
> 
> When we try to destroy the port dev, it will destroy its dev driver
> as well. But we did not remove the reference from usb-phy dev. This
> might cause the use-after-free issue in KASAN.

Applied, thanks

-- 
~Vinod



More information about the linux-phy mailing list