Re: [PATCH] usb: typec: fix null-pointer-dereference in wcove_typec_probe()
From: Greg KH
Date: Fri Aug 21 2026 - 11:25:13 EST
On Fri, Aug 21, 2026 at 08:41:07PM +0530, Jeffin Philip wrote:
> On Fri, 21 Aug 2026 17:00:12 +0200, Greg KH wrote:
> >How can a platform device NOT have a parent device? WHat system is this
> >broken in? Why not fix the platform definition properly instead as
> >something is really wrong here if this is a "root" platform device as
> >that should never happen.
>
> As seen in the Closes: tag, this is a syzbot issue. It used driver_override()
> to bind it in an unnatural way. So, I don't think it is possible in a real system.
> We could atleast validate pmic like other functions using dev_get_drvdata() or it
> could be left alone as is.
If you call bind on a device, you have to know what you are doing, as it
can easily crash as you see here. Just fix syzbot please.