Re: [PATCH] usb: dwc3: pci: reject matches without software-node data

From: Greg KH

Date: Wed Sep 23 2026 - 05:42:51 EST


On Wed, Sep 23, 2026 at 04:10:06PM +0800, By wrote:
> A PCI driver_override bind can reach dwc3_pci_probe() with the dummy ID
> from pci_match_device(). Its driver_data is zero, so dwc3_pci_quirks()
> passes NULL to device_add_software_node(), which crashes in
> software_node_register().

As it should. Don't do that. See the archives for many details.

> Reported-by: syzbot+665bae0a102933788e1a@xxxxxxxxxxxxxxxxxxxxxxxxx

This is an invalid report, as has been said in the past.

thanks,

greg k-h