Re: [syzbot] [usb?] memory leak in hub_event (4)

Oliver Neukum
2026-04-28T11:33:28Z

On 27.04.26 16:19, Alan Stern wrote:

> This is not needed. dev->rawdescriptors and dev->config are deallocated
> in usb_destroy_configuration(), which gets called when the usb_device
> structure is released.
>
> The memory leak must have a different cause.

You are correct. Yet I can see no way for usb_destroy_configuration()
to not run. Hence we must be overlooking something.

Regards
Oliver