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

From: Oliver Neukum

Date: Tue Apr 28 2026 - 08:42:26 EST




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