Re: [PATCH v3] scsi: aic79xx: Fix NULL pointer dereference in device reset
From: Martin K. Petersen
Date: Wed Oct 28 2026 - 21:20:03 EST
Andrew,
> Since commit c67e63800446 ("scsi: aic79xx: Do not reference SCSI
> command when resetting device") the device reset SCB has no SCSI
> command, but ahd_linux_dev_reset() still sets its residual, and
> ahd_abort_scbs(), which completes it, sets its status. Seen on an
> AIC-7902 when a failing disk triggered a device reset, which killed
> the SCSI error handler:
Applied to 7.4/scsi-staging, thanks!
--
Martin K. Petersen