scsi: core: Fix a use-after-free
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.19.12 by commit 2e7eb4c1e8af8385de22775bd0be552f59b28c9a, it was introduced in version v5.7 by commit 65ca846a53149a1a72cd8d02e7b2e73dd545b834. For more details please see the references link.