Re: [PATCH] usb: gadget: dummy_hcd: prevent unbind via sysfs

From: Denis Arefev

Date: Thu Oct 01 2026 - 06:52:00 EST


Hello.

I would like to gently ping regarding this patch.

It addresses a clear null-pointer dereference vulnerability in the dummy_hcd driver
reported by syzbot, which could potentially lead to a use-after-free race condition
under certain scenarios. Disabling sysfs unbind attributes via `.suppress_bind_attrs = true`
seems to be the most robust way to synchronize the lifecycles of dummy_hcd and dummy_udc.

Are there any concerns or further changes required to get this patch accepted?

Thank you for your time!

Best regards,
Denis Arefev <arefev@xxxxxxxxx>