This bug was fixed in the package sg3-utils - 1.46-1ubuntu0.22.04.1
--------------- sg3-utils (1.46-1ubuntu0.22.04.1) jammy; urgency=medium
* d/p/0002-Fix-crash-with-rescan-scsi-bus.sh-r.patch: do not allow rescan-scsi-bus.sh to remove device (LP: #1976228).
-- Lucas Kanashiro <email address hidden> Wed, 22 Mar 2023 11:57:45 -0300
This bug was fixed in the package sg3-utils - 1.46-1ubuntu0. 22.04.1
--------------- 22.04.1) jammy; urgency=medium
sg3-utils (1.46-1ubuntu0.
* d/p/0002- Fix-crash- with-rescan- scsi-bus. sh-r.patch: do not allow scsi-bus. sh to remove device (LP: #1976228).
rescan-
-- Lucas Kanashiro <email address hidden> Wed, 22 Mar 2023 11:57:45 -0300