Re: [PATCH] usbip: usbip_host: Fix null pointer dereference in rebind_store
Jeffin Philip <[email protected]> Thu, 6 Aug 2026 11:06:51 +0530
| Newsgroups | org.kernel.vger.linux-usb,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 06 2026, Greg KH wrote: >What prevents bid->udev from becoming NULL right after you checked this? We could use usb_get_dev() and hold a reference to udev when the busid_lock is being held and then release it after do_rebind, or would that be incorrect? >How was this tested? The method to reproduce it is in the same thread. Thanks, Jeffin.