Re: [PATCH] usbip: usbip_host: Fix null pointer dereference in rebind_store
From: Jeffin Philip
Date: Thu Aug 06 2026 - 01:37:27 EST
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.