Re: [PATCH] usb: typec: fix null-pointer-dereference in wcove_typec_probe()
Jeffin Philip <[email protected]>
| Newsgroups | org.kernel.vger.stable,org.kernel.vger.linux-kernel,org.kernel.vger.linux-usb |
|---|---|
| Message-ID | <[email protected]> |
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. Thanks, Jeffin.