On Wed, 20 Mar 2024 22:30:32 +0100, Alexander Wetzel wrote: > sg_remove_sfp_usercontext() must not use sg_device_destroy() after > calling scsi_device_put(). > > sg_device_destroy() is accessing the parent scsi device request_queue. > Which will already be set to NULL when the preceding call to > scsi_device_put() removed the last reference to the parent scsi device. > > [...] Applied to 6.9/scsi-fixes, thanks! [1/1] scsi: sg: Avoid sg device teardown race https://git.kernel.org/mkp/scsi/c/27f58c04a8f4 -- Martin K. Petersen Oracle Linux Engineering