On Thu, Apr 11, 2024 at 10:09:40PM -0400, Martin K. Petersen wrote:
scsi: sg: Avoid sg device teardown race [ Upstream commit 27f58c04a8f438078583041468ec60597841284d ]
I think I have hit this issue in 6.8.4. Is there a patch ready for this bug yet please?
Commit d4e655c49f47 ("scsi: sg: Avoid race in error handling & drop bogus warn") is now in Linus' tree and should be applied on top of all branches which contain a backport of upstream commit 27f58c04a8f4 ("scsi: sg: Avoid sg device teardown race").
No stable branches or queues have that commit in it yet, so all should be fine.
thanks,
greg k-h